[all-commits] [llvm/llvm-project] b86e09: [clang] Enable C++17 relaxed template template arg...
llvmgnsyncbot via All-commits
all-commits at lists.llvm.org
Mon May 13 09:16:28 PDT 2024
Branch: refs/heads/users/ilovepi/spr/main.llvmnfc-document-clopt-variable-and-fix-typo-3
Home: https://github.com/llvm/llvm-project
Commit: b86e0992bfa6c58be077d82d824016f590ac5d90
https://github.com/llvm/llvm-project/commit/b86e0992bfa6c58be077d82d824016f590ac5d90
Author: Matheus Izvekov <mizvekov at gmail.com>
Date: 2024-05-02 (Thu, 02 May 2024)
Changed paths:
M clang/docs/ReleaseNotes.rst
M clang/include/clang/Basic/DiagnosticDriverKinds.td
M clang/include/clang/Basic/LangOptions.def
M clang/include/clang/Driver/Options.td
M clang/lib/Driver/SanitizerArgs.cpp
M clang/lib/Driver/ToolChains/Clang.cpp
M clang/lib/Sema/SemaTemplate.cpp
M clang/lib/Sema/SemaTemplateDeduction.cpp
M clang/test/CXX/temp/temp.arg/temp.arg.template/p3-2a.cpp
M clang/test/CodeGenCXX/mangle-concept.cpp
A clang/test/Driver/frelaxed-template-template-args.cpp
M clang/test/Lexer/cxx-features.cpp
A clang/test/SemaTemplate/cwg2398.cpp
M clang/test/SemaTemplate/default-arguments.cpp
M clang/test/SemaTemplate/instantiate-template-template-parm.cpp
M clang/test/SemaTemplate/nested-template.cpp
M clang/test/SemaTemplate/temp_arg_template.cpp
M clang/test/SemaTemplate/temp_arg_template_cxx1z.cpp
M clang/www/cxx_status.html
Log Message:
-----------
[clang] Enable C++17 relaxed template template argument matching by default (#89807)
This patch will finally allow us to mark C++17 support in clang as
complete.
In order to implement this as a DR and avoid breaking reasonable code
that worked before P0522, this patch implements a provisional resolution
for CWG2398: When deducing template template parameters against each other,
and the argument side names a template specialization, instead of just
deducing A, we deduce a synthesized template template parameter based
on A, but with it's parameters using the template specialization's arguments
as defaults.
The driver flag is deprecated with a warning.
Fixes https://github.com/llvm/llvm-project/issues/36505
Commit: e3f42b02a4129947ca2dd820bfb63ffed83027b7
https://github.com/llvm/llvm-project/commit/e3f42b02a4129947ca2dd820bfb63ffed83027b7
Author: Yeting Kuo <46629943+yetingk at users.noreply.github.com>
Date: 2024-05-02 (Thu, 02 May 2024)
Changed paths:
M llvm/lib/Target/RISCV/MCTargetDesc/RISCVMCCodeEmitter.cpp
M llvm/test/MC/RISCV/tail-call.s
Log Message:
-----------
[RISCV] Expand PseudoTAIL with t2 instead of t1 for Zicfilp. (#89014)
PseudoTail should be a software guarded branch in Ziciflp, since its
branch target is known in link time. JALR/C.JR/C.JALR with rs1 as t2 is
termed a software guarded branch. Such branches do not need to land on a
lpad instruction.
ABI Change PR: https://github.com/riscv-non-isa/riscv-asm-manual/pull/93
Commit: 597a3150e932a9423c65b5ea4b53dd431aff5865
https://github.com/llvm/llvm-project/commit/597a3150e932a9423c65b5ea4b53dd431aff5865
Author: martinboehme <mboehme at google.com>
Date: 2024-05-02 (Thu, 02 May 2024)
Changed paths:
M clang/lib/Analysis/FlowSensitive/DataflowEnvironment.cpp
M clang/unittests/Analysis/FlowSensitive/TransferTest.cpp
Log Message:
-----------
[clang][dataflow] Don't propagate result objects in unevaluated contexts (#90438)
Trying to do so can cause crashes -- see newly added test and the
comments in
the fix.
We're starting to see a repeating pattern here: We're getting crashes
because
`ResultObjectVisitor` and `getReferencedDecls()` don't agree on which
parts of
the AST to visit and, hence, which fields should be modeled.
I think we should ensure consistency between these two parts of the code
by
using a `RecursiveASTVisitor` in `getReferencedDecls()`[^1]; the
`Traverse...()` functions that control which parts of the AST we visit
would go
in a common base class that would be used for both `ResultObjectVisitor`
and
`getReferencedDecls()`.
I'd like to focus this PR, however, on a targeted fix for the current
crash and
postpone the refactoring to a later PR (which will be easier to revert
if there
are unintended side-effects).
[^1]: As an added bonus, this would make the code better structured and
more
efficient than the current sequence of `if (dyn_cast<T>(...))`
statements).
Commit: 376bc73b34d2cc007c8f8cf533e7cd7258d7a313
https://github.com/llvm/llvm-project/commit/376bc73b34d2cc007c8f8cf533e7cd7258d7a313
Author: Matt Arsenault <Matthew.Arsenault at amd.com>
Date: 2024-05-02 (Thu, 02 May 2024)
Changed paths:
M llvm/test/CodeGen/SystemZ/atomic-store-08.ll
Log Message:
-----------
SystemZ: Fix accidentally commented out run line in test
Commit: 15027be6a5c5cf870f25af8de05d6d06c767238f
https://github.com/llvm/llvm-project/commit/15027be6a5c5cf870f25af8de05d6d06c767238f
Author: Matt Arsenault <Matthew.Arsenault at amd.com>
Date: 2024-05-02 (Thu, 02 May 2024)
Changed paths:
M llvm/test/CodeGen/SystemZ/copy-phys-reg-gr128-to-vr128.mir
Log Message:
-----------
SystemZ: Fix test failing the verifier
Commit: 8bec96447ffee3909ef65241f999dd3e0ebe98e3
https://github.com/llvm/llvm-project/commit/8bec96447ffee3909ef65241f999dd3e0ebe98e3
Author: Christian Sigg <chsigg at users.noreply.github.com>
Date: 2024-05-02 (Thu, 02 May 2024)
Changed paths:
M utils/bazel/llvm-project-overlay/lldb/BUILD.bazel
Log Message:
-----------
[lldb][bazel] Fix BUILD after dcbf0fcd0d5572f7001ebdd3bda6062593ec172b. (#90825)
Commit: cd132dcbeb0fc79fd657bd5e0a8e9244c3fb5da6
https://github.com/llvm/llvm-project/commit/cd132dcbeb0fc79fd657bd5e0a8e9244c3fb5da6
Author: Oleksandr T <oleksandr.tarasiuk at outlook.com>
Date: 2024-05-02 (Thu, 02 May 2024)
Changed paths:
M clang/docs/ReleaseNotes.rst
M clang/lib/Sema/SemaDecl.cpp
A clang/test/Sema/incomplete-struct-decl.cpp
Log Message:
-----------
[clang] fix(85447): clang 18.1.0 crashes in clang::ASTContext::getTypeInfoImpl (#89850)
Fixes #85447
---
This PR resolves a crash in `ActOnUninitializedDecl` due to an oversight
in updating the `isInvalidDecl` state before invocation. The crash
occurs due to a missing invocation of `setInvalidDecl()` for an invalid
`Anon` declaration. To address this issue, the `setInvalidDecl()` method
is now properly invoked to mark the `Anon` declaration as invalid before
running `ActOnUninitializedDecl()`.
Commit: 16096325a5ff66d26b7e3424e7fac029c3dd35ea
https://github.com/llvm/llvm-project/commit/16096325a5ff66d26b7e3424e7fac029c3dd35ea
Author: David Spickett <david.spickett at linaro.org>
Date: 2024-05-02 (Thu, 02 May 2024)
Changed paths:
M clang/docs/ReleaseNotes.rst
Log Message:
-----------
[clang][Docs] Add release note for {target}-none-{environment} triple normalization changes (#90734)
That were implemented by
https://github.com/llvm/llvm-project/pull/89638.
Commit: e19f7221412f4b49f2aa2a3d8a07ffd3debab0d8
https://github.com/llvm/llvm-project/commit/e19f7221412f4b49f2aa2a3d8a07ffd3debab0d8
Author: David Spickett <david.spickett at linaro.org>
Date: 2024-05-02 (Thu, 02 May 2024)
Changed paths:
M lldb/docs/use/tutorial.rst
Log Message:
-----------
[lldb][Docs] Use proper LLDB/GDB project branding in tutorial (#90712)
Except when referring to the program binaries.
Commit: 176d6fbed3988032dbdabe7abfc5f54e1f0e2bbb
https://github.com/llvm/llvm-project/commit/176d6fbed3988032dbdabe7abfc5f54e1f0e2bbb
Author: David Spickett <david.spickett at linaro.org>
Date: 2024-05-02 (Thu, 02 May 2024)
Changed paths:
R lldb/docs/lldb-for-gdb-users.txt
Log Message:
-----------
[lldb][Docs] Remove .txt copy of tutorial (#90585)
This was last modified in 4fd3347d6e4b0c873c789528e1c9a1b55990d1b6 in
2021 and was made obsolete by the RST version that
edb874b2310dc6eeaa27330ca1b1c013da7bdd65 added in 2019.
There are some differences but at this point, I'd bet the RST is the
correct one.
Commit: 528b512b13e2ade4657b25dbb809bafd28c8b170
https://github.com/llvm/llvm-project/commit/528b512b13e2ade4657b25dbb809bafd28c8b170
Author: David Spickett <david.spickett at linaro.org>
Date: 2024-05-02 (Thu, 02 May 2024)
Changed paths:
M lldb/test/API/lang/c/calling-conventions/TestCCallingConventions.py
Log Message:
-----------
[lldb][test][FreeBSD] Narrow vectorcall xfail to x86 platforms (#84024)
This relates to #56084.
vectorcall only works on x86
https://clang.llvm.org/docs/AttributeReference.html#vectorcall so
elsewhere it fails to compile. Which is expected on AArch64 for example
so is treated as a pass.
Commit: a015f015db21e02cbce4ff9d15d0b293e45d0831
https://github.com/llvm/llvm-project/commit/a015f015db21e02cbce4ff9d15d0b293e45d0831
Author: David Spickett <david.spickett at linaro.org>
Date: 2024-05-02 (Thu, 02 May 2024)
Changed paths:
M lldb/test/API/functionalities/postmortem/elf-core/TestLinuxCore.py
Log Message:
-----------
[lldb][test][FreeBSD] Remove corefile test xfails (#84022)
Fixes #48759
As stated on the issue this was fixed by a change in FreeBSD 13, and
I've confirmed that it passes on 14 as well.
Commit: c32a4f83b59c4293f0b91503ed217371ae1ab543
https://github.com/llvm/llvm-project/commit/c32a4f83b59c4293f0b91503ed217371ae1ab543
Author: Lang Hames <lhames at gmail.com>
Date: 2024-05-01 (Wed, 01 May 2024)
Changed paths:
M llvm/include/llvm/ExecutionEngine/Orc/ObjectLinkingLayer.h
M llvm/unittests/ExecutionEngine/Orc/ObjectLinkingLayerTest.cpp
Log Message:
-----------
[ORC] Allow removal of ObjectLinkingLayer Plugins.
This adds a removePlugin operation to ObjectLinkingLayer. The removal of a
plugin will be visible in all links started after the removal (ongoing links
started before the removal will still use the removed plugin).
Coding my way home: 17.56037S, 149.61118W
Commit: d00ed836e77759414afd40c02eeca5651657438f
https://github.com/llvm/llvm-project/commit/d00ed836e77759414afd40c02eeca5651657438f
Author: David Spickett <david.spickett at linaro.org>
Date: 2024-05-02 (Thu, 02 May 2024)
Changed paths:
M lldb/source/Plugins/SymbolLocator/Default/SymbolLocatorDefault.cpp
Log Message:
-----------
[lldb] Fix build on FreeBSD
Missing llvm:: namespace for StringRef.
Commit: 171aeb20ad465a49065730719731aae405c1d167
https://github.com/llvm/llvm-project/commit/171aeb20ad465a49065730719731aae405c1d167
Author: zxc12523 <76193329+zxc12523 at users.noreply.github.com>
Date: 2024-05-02 (Thu, 02 May 2024)
Changed paths:
M llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
M llvm/test/CodeGen/X86/fold-int-pow2-with-fmul-or-fdiv.ll
M llvm/test/CodeGen/X86/known-never-zero.ll
A llvm/test/CodeGen/X86/pr89877.ll
Log Message:
-----------
[DAG] SelectionDAG.computeKnownBits - add NSW/NUW flags support to ISD::SHL handling (#89877)
fix #89414
Commit: f17b1fb6673e9ed6a7d9180230586113bb99748c
https://github.com/llvm/llvm-project/commit/f17b1fb6673e9ed6a7d9180230586113bb99748c
Author: Krishna Narayanan <84722531+Krishna-13-cyber at users.noreply.github.com>
Date: 2024-05-02 (Thu, 02 May 2024)
Changed paths:
M clang/lib/CodeGen/CGExprScalar.cpp
A clang/test/CodeGen/X86/x86-atomic-float.c
M clang/test/CodeGen/X86/x86-atomic-long_double.c
Log Message:
-----------
[Clang][CodeGen] Optimised LLVM IR for atomic increments/decrements on floats (#89362)
Fixes #53079
Commit: b6328db80b4294cf83a3471ecdfab33003fa742d
https://github.com/llvm/llvm-project/commit/b6328db80b4294cf83a3471ecdfab33003fa742d
Author: Sven van Haastregt <sven.vanhaastregt at arm.com>
Date: 2024-05-02 (Thu, 02 May 2024)
Changed paths:
M clang/lib/CodeGen/CGExprAgg.cpp
M clang/test/CodeGenOpenCLCXX/addrspace-with-class.clcpp
Log Message:
-----------
[clang][CodeGen] Put constant initializer globals into constant addrspace (#90048)
Place constant initializer globals into the constant address space.
Clang generates such globals for e.g. larger array member initializers
of classes and then emits copy operations from the global to the
object(s). The globals are never written so they ought to be in the
constant address space.
Commit: 175d2971020ceaad3e1adcf9bb92e4ebaaa449ee
https://github.com/llvm/llvm-project/commit/175d2971020ceaad3e1adcf9bb92e4ebaaa449ee
Author: Florian Hahn <flo at fhahn.com>
Date: 2024-05-02 (Thu, 02 May 2024)
Changed paths:
M llvm/include/llvm/Analysis/MemorySSA.h
M llvm/include/llvm/Transforms/Utils/UnrollLoop.h
M llvm/lib/Analysis/MemorySSA.cpp
M llvm/lib/Transforms/Scalar/LoopUnrollPass.cpp
M llvm/lib/Transforms/Utils/LoopUnroll.cpp
M llvm/test/Transforms/LoopUnroll/shifted-tripcount.ll
M llvm/test/Transforms/LoopUnroll/unroll-loads-cse.ll
M llvm/test/Transforms/PhaseOrdering/AArch64/extra-unroll-simplifications.ll
Log Message:
-----------
[LoopUnroll] Add CSE to remove redundant loads after unrolling. (#83860)
This patch adds loadCSE support to simplifyLoopAfterUnroll. It is based
on EarlyCSE's implementation using ScopeHashTable and is using SCEV for
accessed pointers to check to find redundant loads after unrolling.
This applies to the late unroll pass only, for full unrolling those
redundant loads will be cleaned up by the regular pipeline.
The current approach constructs MSSA on-demand per-loop, but there is
still small but notable compile-time impact:
stage1-O3 +0.04%
stage1-ReleaseThinLTO +0.06%
stage1-ReleaseLTO-g +0.05%
stage1-O0-g +0.02%
stage2-O3 +0.09%
stage2-O0-g +0.04%
stage2-clang +0.02%
https://llvm-compile-time-tracker.com/compare.php?from=c089fa5a729e217d0c0d4647656386dac1a1b135&to=ec7c0f27cb5c12b600d9adfc8543d131765ec7be&stat=instructions:u
This benefits some workloads with runtime-unrolling disabled,
where users use pragmas to force unrolling, as well as with
runtime unrolling enabled.
On SPEC/MultiSource, this removes a number of loads after unrolling
on AArch64 with runtime unrolling enabled.
```
External/S...te/526.blender_r/526.blender_r 96
MultiSourc...rks/mediabench/gsm/toast/toast 39
SingleSource/Benchmarks/Misc/ffbench 4
External/SPEC/CINT2006/403.gcc/403.gcc 18
MultiSourc.../Applications/JM/ldecod/ldecod 4
MultiSourc.../mediabench/jpeg/jpeg-6a/cjpeg 6
MultiSourc...OE-ProxyApps-C/miniGMG/miniGMG 9
MultiSourc...e/Applications/ClamAV/clamscan 4
MultiSourc.../MallocBench/espresso/espresso 3
MultiSourc...dence-flt/LinearDependence-flt 2
MultiSourc...ch/office-ispell/office-ispell 4
MultiSourc...ch/consumer-jpeg/consumer-jpeg 6
MultiSourc...ench/security-sha/security-sha 11
MultiSourc...chmarks/McCat/04-bisect/bisect 3
SingleSour...tTests/2020-01-06-coverage-009 12
MultiSourc...ench/telecomm-gsm/telecomm-gsm 39
MultiSourc...lds-flt/CrossingThresholds-flt 24
MultiSourc...dence-dbl/LinearDependence-dbl 2
External/S...C/CINT2006/445.gobmk/445.gobmk 6
MultiSourc...enchmarks/mafft/pairlocalalign 53
External/S...31.deepsjeng_r/531.deepsjeng_r 3
External/S...rate/510.parest_r/510.parest_r 58
External/S...NT2006/464.h264ref/464.h264ref 29
External/S...NT2017rate/502.gcc_r/502.gcc_r 45
External/S...C/CINT2006/456.hmmer/456.hmmer 6
External/S...te/538.imagick_r/538.imagick_r 18
External/S.../CFP2006/447.dealII/447.dealII 4
MultiSourc...OE-ProxyApps-C++/miniFE/miniFE 12
External/S...2017rate/525.x264_r/525.x264_r 36
MultiSourc...Benchmarks/7zip/7zip-benchmark 33
MultiSourc...hmarks/ASC_Sequoia/AMGmk/AMGmk 2
MultiSourc...chmarks/VersaBench/8b10b/8b10b 1
MultiSourc.../Applications/JM/lencod/lencod 116
MultiSourc...lds-dbl/CrossingThresholds-dbl 24
MultiSource/Benchmarks/McCat/05-eks/eks 15
```
PR: https://github.com/llvm/llvm-project/pull/83860
Commit: d9fc5babb96ca9c75f36f9cf3d3f2a55ddc0ab4d
https://github.com/llvm/llvm-project/commit/d9fc5babb96ca9c75f36f9cf3d3f2a55ddc0ab4d
Author: Matt Arsenault <Matthew.Arsenault at amd.com>
Date: 2024-05-02 (Thu, 02 May 2024)
Changed paths:
M llvm/lib/CodeGen/SelectionDAG/LegalizeFloatTypes.cpp
M llvm/lib/CodeGen/SelectionDAG/LegalizeTypes.h
Log Message:
-----------
DAG: Implement softening for fp atomic store (#90840)
This will prevent SystemZ test regressions in a future change, tested by
#90826
Commit: 69e7cb587304e3706aac23c50b3d37651eb11330
https://github.com/llvm/llvm-project/commit/69e7cb587304e3706aac23c50b3d37651eb11330
Author: Abid Qadeer <haqadeer at amd.com>
Date: 2024-05-02 (Thu, 02 May 2024)
Changed paths:
A flang/test/Transforms/debug-90683.fir
Log Message:
-----------
[flang] Add a test for fir.real debug conversion. (#90726)
This is an accompanying test for the fix done in #90683. It checks that
fir.real conversion works ok.
The failing fortran source in the #90683 generates fir.real type in the
target-rewrite pass which caused the original issue.
Commit: c2f29caee4b8388cb185cab165a72fdb9ecef1e6
https://github.com/llvm/llvm-project/commit/c2f29caee4b8388cb185cab165a72fdb9ecef1e6
Author: Nikolas Klauser <nikolasklauser at berlin.de>
Date: 2024-05-02 (Thu, 02 May 2024)
Changed paths:
M libcxx/include/tuple
Log Message:
-----------
[libc++][NFC] Explicitly delete assignment operator in tuple (#90604)
Commit: 2252c5c42b95dd12dda0c7fb1b2811f943b21949
https://github.com/llvm/llvm-project/commit/2252c5c42b95dd12dda0c7fb1b2811f943b21949
Author: Weaver <Tom.Weaver at sony.com>
Date: 2024-05-02 (Thu, 02 May 2024)
Changed paths:
M clang/lib/Analysis/FlowSensitive/DataflowEnvironment.cpp
M clang/unittests/Analysis/FlowSensitive/TransferTest.cpp
Log Message:
-----------
Revert "[clang][dataflow] Don't propagate result objects in unevaluated contexts (#90438)"
This reverts commit 597a3150e932a9423c65b5ea4b53dd431aff5865.
Caused test failure on the following buildbot:
https://lab.llvm.org/buildbot/#/builders/216/builds/38446
Commit: 981aa6fcf68ffda877f19c8d59003c067cc6ef4b
https://github.com/llvm/llvm-project/commit/981aa6fcf68ffda877f19c8d59003c067cc6ef4b
Author: Valery Pykhtin <valery.pykhtin at gmail.com>
Date: 2024-05-02 (Thu, 02 May 2024)
Changed paths:
M llvm/lib/Target/AMDGPU/SIAnnotateControlFlow.cpp
M llvm/test/CodeGen/AMDGPU/si-annotate-dbg-info.ll
Log Message:
-----------
[AMDGPU] Fix incorrect stepping in gdb for amdgcn.end.cf intrinsic. (#83010)
After #73958 gdb.rocm/lane-execution.exp test started to fail due to
incorrect debug location. This is kind of a revert patch.
Commit: 779f40c088c8f827b3cb83dd2b68dab1bd05b55a
https://github.com/llvm/llvm-project/commit/779f40c088c8f827b3cb83dd2b68dab1bd05b55a
Author: Kiran Chandramohan <kiran.chandramohan at arm.com>
Date: 2024-05-02 (Thu, 02 May 2024)
Changed paths:
M flang/lib/Parser/openmp-parsers.cpp
A flang/test/Parser/OpenMP/fail-construct1.f90
A flang/test/Parser/OpenMP/fail-construct2.f90
Log Message:
-----------
[Flang][OpenMP] Give better errors during parsing failures (#90480)
Similar to OpenACC handling.
Fixes #90452
Commit: f2daa32fcaa061daa04546c343198d876e635def
https://github.com/llvm/llvm-project/commit/f2daa32fcaa061daa04546c343198d876e635def
Author: Christian Kandeler <christian.kandeler at qt.io>
Date: 2024-05-02 (Thu, 02 May 2024)
Changed paths:
M clang-tools-extra/clangd/refactor/tweaks/ScopifyEnum.cpp
M clang-tools-extra/clangd/unittests/tweaks/ScopifyEnumTests.cpp
M clang-tools-extra/docs/ReleaseNotes.rst
Log Message:
-----------
[clangd] Remove potential prefix from enum value names (#83412)
... when converting unscoped to scoped enums.
With traditional enums, a popular technique to guard against potential
name clashes is to use the enum name as a pseudo-namespace, like this:
enum MyEnum { MyEnumValue1, MyEnumValue2 };
With scoped enums, this makes no sense, making it extremely unlikely
that the user wants to keep such a prefix when modernizing. Therefore,
our tweak now removes it.
Commit: 5d9889a6c6c97c92380c8eee48eaa35067f63766
https://github.com/llvm/llvm-project/commit/5d9889a6c6c97c92380c8eee48eaa35067f63766
Author: Timm Bäder <tbaeder at redhat.com>
Date: 2024-05-02 (Thu, 02 May 2024)
Changed paths:
M clang/lib/AST/Interp/ByteCodeExprGen.cpp
M clang/test/AST/Interp/records.cpp
Log Message:
-----------
[clang][Interp] Fix zero-initializing records with non-trivial ctors
We need to do the zero-init and then subsequently call the constructor.
Commit: 35e73e7cc8c4078ea25151da3958a114591bf700
https://github.com/llvm/llvm-project/commit/35e73e7cc8c4078ea25151da3958a114591bf700
Author: Simon Pilgrim <llvm-dev at redking.me.uk>
Date: 2024-05-02 (Thu, 02 May 2024)
Changed paths:
M llvm/test/CodeGen/X86/memcpy-scoped-aa.ll
Log Message:
-----------
[X86] Regenerate memcpy-scoped-aa.ll
Commit: b6d24cb018777d8e54e629114abbaadfefd95d8a
https://github.com/llvm/llvm-project/commit/b6d24cb018777d8e54e629114abbaadfefd95d8a
Author: Matt Arsenault <Matthew.Arsenault at amd.com>
Date: 2024-05-02 (Thu, 02 May 2024)
Changed paths:
M llvm/lib/CodeGen/SelectionDAG/LegalizeFloatTypes.cpp
M llvm/lib/CodeGen/SelectionDAG/LegalizeTypes.h
Log Message:
-----------
DAG: Implement softening for fp atomic load (#90839)
Commit: e5fb6564358f10c01d7533f2f805eedd7d663417
https://github.com/llvm/llvm-project/commit/e5fb6564358f10c01d7533f2f805eedd7d663417
Author: Timm Bäder <tbaeder at redhat.com>
Date: 2024-05-02 (Thu, 02 May 2024)
Changed paths:
M clang/lib/AST/Interp/ByteCodeExprGen.cpp
M clang/lib/AST/Interp/ByteCodeExprGen.h
Log Message:
-----------
[clang][Interp] Handle RecoveryExprs
Instead of checking containsErrors() for every expression, just handle
RecoveryExprs directly.
Commit: 3d8a44d542b15ac9bc21f9fd3494f1649fca1aa9
https://github.com/llvm/llvm-project/commit/3d8a44d542b15ac9bc21f9fd3494f1649fca1aa9
Author: Timm Bäder <tbaeder at redhat.com>
Date: 2024-05-02 (Thu, 02 May 2024)
Changed paths:
M clang/lib/AST/Interp/InterpFrame.cpp
Log Message:
-----------
[clang][Interp][NFC] Refactor if condition
Move the declaration into the condition.
Commit: de04e6cd90b891215f1dfc83ec886d037a7c2ed0
https://github.com/llvm/llvm-project/commit/de04e6cd90b891215f1dfc83ec886d037a7c2ed0
Author: Timm Bäder <tbaeder at redhat.com>
Date: 2024-05-02 (Thu, 02 May 2024)
Changed paths:
M clang/lib/AST/Interp/EvalEmitter.cpp
M clang/lib/AST/Interp/InterpFrame.cpp
M clang/lib/AST/Interp/InterpState.h
Log Message:
-----------
[clang][Interp][NFC] Save source location of evaluating expression
We don't have a source location to point to when the evaluation
of a destructor of a temporary created via an expression fails.
Commit: 1c7673b91d4d3bab4e296f5c67751d3879fb21a2
https://github.com/llvm/llvm-project/commit/1c7673b91d4d3bab4e296f5c67751d3879fb21a2
Author: Timm Bäder <tbaeder at redhat.com>
Date: 2024-05-02 (Thu, 02 May 2024)
Changed paths:
M clang/lib/AST/Interp/ByteCodeExprGen.cpp
M clang/lib/AST/Interp/ByteCodeExprGen.h
M clang/test/AST/Interp/records.cpp
Log Message:
-----------
[clang][Interp] Fix locals created in ExprWithCleanups
Save the declaration we're creating a scope for (if applicable),
so we can attach a local temporary variable to the right scope.
Commit: ebcb04ae8825b15fd6aa249a8da0617b877b4705
https://github.com/llvm/llvm-project/commit/ebcb04ae8825b15fd6aa249a8da0617b877b4705
Author: Timm Bäder <tbaeder at redhat.com>
Date: 2024-05-02 (Thu, 02 May 2024)
Changed paths:
M clang/lib/AST/Interp/EvalEmitter.cpp
M clang/lib/AST/Interp/InterpFrame.cpp
M clang/lib/AST/Interp/InterpState.h
Log Message:
-----------
Revert "[clang][Interp][NFC] Save source location of evaluating expression"
This reverts commit de04e6cd90b891215f1dfc83ec886d037a7c2ed0.
This breaks the Misc/constexpr-source-ranges test:
https://lab.llvm.org/buildbot/#/builders/139/builds/64685
Commit: 427c5bfd39ebb9d008b621370579444fbf2a60d7
https://github.com/llvm/llvm-project/commit/427c5bfd39ebb9d008b621370579444fbf2a60d7
Author: Timm Bäder <tbaeder at redhat.com>
Date: 2024-05-02 (Thu, 02 May 2024)
Changed paths:
M clang/lib/AST/Interp/ByteCodeExprGen.cpp
M clang/lib/AST/Interp/ByteCodeExprGen.h
M clang/test/AST/Interp/records.cpp
Log Message:
-----------
Revert "[clang][Interp] Fix locals created in ExprWithCleanups"
This reverts commit 1c7673b91d4d3bab4e296f5c67751d3879fb21a2.
Unfortunately, this one is broken because de04e6cd90b891215f1dfc83ec886d037a7c2ed0
has been reverted.
Commit: 1e82d506b0b2b4b8501bb1cae13d2e2f3405922d
https://github.com/llvm/llvm-project/commit/1e82d506b0b2b4b8501bb1cae13d2e2f3405922d
Author: Nico Weber <thakis at chromium.org>
Date: 2024-05-02 (Thu, 02 May 2024)
Changed paths:
M llvm/utils/gn/secondary/clang-tools-extra/test/BUILD.gn
Log Message:
-----------
[gn] port f0fbccb15384
Commit: ce7700e29dfbc85348942d74d0ca2ba9ac8d8cf5
https://github.com/llvm/llvm-project/commit/ce7700e29dfbc85348942d74d0ca2ba9ac8d8cf5
Author: Peter Klausler <35819229+klausler at users.noreply.github.com>
Date: 2024-05-02 (Thu, 02 May 2024)
Changed paths:
M flang/runtime/product.cpp
M flang/runtime/reduction-templates.h
M flang/runtime/sum.cpp
Log Message:
-----------
[flang][runtime] Address PRODUCT numeric discrepancy, folding vs runtime (#90125)
Ensure that the runtime implementations of floating-point reductions use
intermediate results of the same precision as the operands, so that
results match those from constant folding. (SUM reduction uses Kahan
summation in both cases.)
Commit: 155dcce40110fbe8a29a5b00a3078e3333d10f4a
https://github.com/llvm/llvm-project/commit/155dcce40110fbe8a29a5b00a3078e3333d10f4a
Author: Timm Bäder <tbaeder at redhat.com>
Date: 2024-05-02 (Thu, 02 May 2024)
Changed paths:
M clang/lib/AST/Interp/EvalEmitter.cpp
M clang/lib/AST/Interp/InterpFrame.cpp
M clang/lib/AST/Interp/InterpState.h
Log Message:
-----------
Reapply "[clang][Interp][NFC] Save source location of evaluating expression"
This reverts commit ebcb04ae8825b15fd6aa249a8da0617b877b4705.
Commit: a2e1f54bb7beff7ce84151353490c8b484da0a45
https://github.com/llvm/llvm-project/commit/a2e1f54bb7beff7ce84151353490c8b484da0a45
Author: Oleksandr "Alex" Zinenko <zinenko at google.com>
Date: 2024-05-02 (Thu, 02 May 2024)
Changed paths:
R mlir/include/mlir/Dialect/Transform/Transforms/TransformInterpreterPassBase.h
M mlir/lib/Dialect/Transform/Transforms/CMakeLists.txt
R mlir/lib/Dialect/Transform/Transforms/TransformInterpreterPassBase.cpp
R mlir/test/Dialect/Transform/test-interpreter-external-symbol-decl-and-schedule.mlir
R mlir/test/Dialect/Transform/test-interpreter-external-symbol-decl-dir.mlir
R mlir/test/Dialect/Transform/test-interpreter-external-symbol-decl-invalid.mlir
R mlir/test/Dialect/Transform/test-interpreter-external-symbol-decl.mlir
R mlir/test/Dialect/Transform/test-interpreter-module-generation.mlir
R mlir/test/Dialect/Transform/test-interpreter-multiple-top-level-ops.mlir
R mlir/test/Dialect/Transform/test-repro-dump.mlir
M mlir/test/lib/Dialect/Transform/TestTransformDialectInterpreter.cpp
M mlir/tools/mlir-opt/mlir-opt.cpp
Log Message:
-----------
[mlir] remove test-tranfsorm-dialect-interpreter (#89931)
This pass has been deprecated for more than two months, alternative is
available via `-transform-interpreter` and `-transform-preload-library`.
https://discourse.llvm.org/t/psa-deprecating-test-transform-dialect-interpreter/76904
Commit: 11bda17254d00cde5b84585f7c7a870d6793ad92
https://github.com/llvm/llvm-project/commit/11bda17254d00cde5b84585f7c7a870d6793ad92
Author: Brian Gesiak <brian at modocache.io>
Date: 2024-05-02 (Thu, 02 May 2024)
Changed paths:
M mlir/include/mlir/Tools/lsp-server-support/Transport.h
M mlir/unittests/Tools/lsp-server-support/Transport.cpp
Log Message:
-----------
[mlir-lsp] Parse outgoing request callback JSON (#90693)
Rather than force callbacks for outgoing requests to parse the result
JSON themselves (of type `llvm::Expected<llvm::json::Value>`), allow
users to specify the result type, which
`MessageHandler::outgoingRequest` will parse for them. This eliminates
boilerplate for users sending outgoing requests.
Commit: 105c992c83aa527c6c50d60becd4d66b476b0a32
https://github.com/llvm/llvm-project/commit/105c992c83aa527c6c50d60becd4d66b476b0a32
Author: Oleksandr "Alex" Zinenko <git at ozinenko.com>
Date: 2024-05-02 (Thu, 02 May 2024)
Changed paths:
M mlir/include/mlir/Dialect/IRDL/IRDLVerifiers.h
M mlir/include/mlir/Dialect/Transform/CMakeLists.txt
A mlir/include/mlir/Dialect/Transform/IRDLExtension/CMakeLists.txt
A mlir/include/mlir/Dialect/Transform/IRDLExtension/IRDLExtension.h
A mlir/include/mlir/Dialect/Transform/IRDLExtension/IRDLExtensionOps.h
A mlir/include/mlir/Dialect/Transform/IRDLExtension/IRDLExtensionOps.td
M mlir/include/mlir/Dialect/Transform/PDLExtension/PDLExtension.h
M mlir/include/mlir/InitAllExtensions.h
M mlir/lib/Dialect/IRDL/IRDLLoading.cpp
M mlir/lib/Dialect/Transform/CMakeLists.txt
A mlir/lib/Dialect/Transform/IRDLExtension/CMakeLists.txt
A mlir/lib/Dialect/Transform/IRDLExtension/IRDLExtension.cpp
A mlir/lib/Dialect/Transform/IRDLExtension/IRDLExtensionOps.cpp
A mlir/test/Dialect/Transform/irdl.mlir
Log Message:
-----------
[mlir] use irdl as matcher description in transform (#89779)
Introduce a new Transform dialect extension that uses IRDL op
definitions as matcher descriptors. IRDL allows one to essentially
define additional op constraits to be verified and, unlike PDL, does not
assume rewriting will happen. Leverage IRDL verification capability to
filter out ops that match an IRDL definition without actually
registering the corresponding operation with the system.
Commit: 7925525d330a46480b0c3b136e5f47948c5cb741
https://github.com/llvm/llvm-project/commit/7925525d330a46480b0c3b136e5f47948c5cb741
Author: Matt Arsenault <Matthew.Arsenault at amd.com>
Date: 2024-05-02 (Thu, 02 May 2024)
Changed paths:
M llvm/lib/Target/SystemZ/SystemZInstrVector.td
Log Message:
-----------
SystemZ: Add missing predicate for bitconvert patterns (#90715)
Commit: a2f97974e670379b28f7ad4701233fc162a46867
https://github.com/llvm/llvm-project/commit/a2f97974e670379b28f7ad4701233fc162a46867
Author: smanna12 <soumi.manna at intel.com>
Date: 2024-05-02 (Thu, 02 May 2024)
Changed paths:
M clang/lib/Sema/SemaCodeComplete.cpp
Log Message:
-----------
[Clang] Prevent null pointer dereference in Sema::CodeCompleteQualifiedId() (#90490)
The null pointer dereference issue seems happening with in the
expression NNS->getAsType().
Although dyn_cast_or_null<TemplateTypeParmType>() correctly handles null
pointers, it doesn’t prevent the subsequent dereferencing operation.
The fix ensures that NNS pointer is not null before calling the
getAsType() method, thus preventing potential runtime errors caused by
attempting to access a null pointer.
Commit: 3a1e55904b1e1205ac583f7b70396a3459b10b78
https://github.com/llvm/llvm-project/commit/3a1e55904b1e1205ac583f7b70396a3459b10b78
Author: Matt Arsenault <Matthew.Arsenault at amd.com>
Date: 2024-05-02 (Thu, 02 May 2024)
Changed paths:
M llvm/test/CodeGen/SystemZ/atomic-load-08.ll
M llvm/test/CodeGen/SystemZ/atomic-store-08.ll
M llvm/test/CodeGen/SystemZ/atomicrmw-xchg-07.ll
Log Message:
-----------
SystemZ: Add some tests for fp128 atomics with soft-float (#90826)
Commit: c1298878175f1f6b7f991a18550de97a699cf260
https://github.com/llvm/llvm-project/commit/c1298878175f1f6b7f991a18550de97a699cf260
Author: Erich Keane <ekeane at nvidia.com>
Date: 2024-05-02 (Thu, 02 May 2024)
Changed paths:
M clang/include/clang/Basic/DiagnosticSemaKinds.td
M clang/lib/Parse/ParseExpr.cpp
M clang/lib/Sema/SemaOpenACC.cpp
M clang/test/ParserOpenACC/parse-cache-construct.c
M clang/test/ParserOpenACC/parse-cache-construct.cpp
M clang/test/ParserOpenACC/parse-clauses.c
A clang/test/ParserOpenACC/parse-sub-array.cpp
M clang/test/SemaOpenACC/compute-construct-private-clause.c
M clang/test/SemaOpenACC/compute-construct-private-clause.cpp
M clang/test/SemaOpenACC/compute-construct-varlist-ast.cpp
A clang/test/SemaOpenACC/sub-array-ast.cpp
A clang/test/SemaOpenACC/sub-array.cpp
Log Message:
-----------
[OpenACC] Implement SubArray Parsing/Sema (#90796)
This implementation takes quite a bit from the OMP implementation of
array sections, but only has to enforce the rules as applicable to
OpenACC. Additionally, it does its best to create an AST node (with the
assistance of RecoveryExprs) with as much checking done as soon as
possible in the case of instantiations.
Commit: 33e16cae671ca10d88e198192181220f8adff343
https://github.com/llvm/llvm-project/commit/33e16cae671ca10d88e198192181220f8adff343
Author: Omair Javaid <omair.javaid at linaro.org>
Date: 2024-05-02 (Thu, 02 May 2024)
Changed paths:
M compiler-rt/cmake/Modules/CompilerRTUtils.cmake
Log Message:
-----------
[compiler-rt] Fix CMake configure on Windows (#90843)
CMake configure compiler-rt got broken as a result of following commit:
d3925e65a7ab88eb0ba68d3ab79cd95db5629951
This patch fixes the break by porting the above commit for clang-cl.
This problem was not caught on Windows buildbots beacuase it appeared
when compiler-rt was included via LLVM_ENABLE_PROJECTS while buildbots
include compiler-rt project using LLVM_ENABLE_RUNTIMES flag.
Commit: 5e67c41a932256e047ae093ae4f7f5a53df1527d
https://github.com/llvm/llvm-project/commit/5e67c41a932256e047ae093ae4f7f5a53df1527d
Author: Alexey Bataev <a.bataev at outlook.com>
Date: 2024-05-02 (Thu, 02 May 2024)
Changed paths:
M llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
A llvm/test/Transforms/SLPVectorizer/ext-after-phi-node.ll
Log Message:
-----------
[SLP]Fix PR90780: insert cast instruction for PHI nodes after all phi nodes.
Need to check if the vectorized value is a PHINode before insert casting
instruction and insert it after all phis to generate the code correctly.
Commit: cd683bd32cecd97b9d9fd345c4e6c067d84fefd4
https://github.com/llvm/llvm-project/commit/cd683bd32cecd97b9d9fd345c4e6c067d84fefd4
Author: Yaxun (Sam) Liu <yaxun.liu at amd.com>
Date: 2024-05-02 (Thu, 02 May 2024)
Changed paths:
M llvm/lib/Transforms/HipStdPar/HipStdPar.cpp
A llvm/test/Transforms/HipStdPar/global-var.ll
Log Message:
-----------
[HipStdPar] Fix globle variable (#90627)
HipStdParAcceleratorCodeSelectionPass changes linkage of global
variables to extern_weak, which does not allow initializer.
An extern_weak global variable with initializer will cause llvm-as and
llc to fail.
Commit: 7dfb6f571c8090803a32b5611e519b77ae74de30
https://github.com/llvm/llvm-project/commit/7dfb6f571c8090803a32b5611e519b77ae74de30
Author: Timm Bäder <tbaeder at redhat.com>
Date: 2024-05-02 (Thu, 02 May 2024)
Changed paths:
M clang/lib/AST/Interp/ByteCodeExprGen.cpp
M clang/test/AST/Interp/literals.cpp
Log Message:
-----------
[clang][Interp] Fix ignored RequiresExprs
Also ConceptSpecializationExpr, although I don't have a test case
at hand for those.
Commit: 3fe282a83d2bcc23f1a3f9bc47682f7c4bfc9b88
https://github.com/llvm/llvm-project/commit/3fe282a83d2bcc23f1a3f9bc47682f7c4bfc9b88
Author: paperchalice <liujunchang97 at outlook.com>
Date: 2024-05-02 (Thu, 02 May 2024)
Changed paths:
M llvm/lib/Passes/PassBuilder.cpp
M llvm/lib/Passes/PassRegistry.def
M llvm/test/CodeGen/AMDGPU/lower-mem-intrinsics-threshold.ll
M llvm/test/CodeGen/AMDGPU/lower-mem-intrinsics.ll
M llvm/test/Transforms/PreISelIntrinsicLowering/X86/load-relative.ll
M llvm/test/Transforms/PreISelIntrinsicLowering/X86/objc-arc.ll
Log Message:
-----------
[Pass] Add `pre-isel-intrinsic-lowering` to pass registry (#90851)
This was removed due to avoid circular dependency between `CodeGen` and
`Passes`, but now I realized this is no longer a problem since
`CodeGenPassBuilder` is moved into `Passes`.
Commit: d6173167df31388869d22751fdd745f5da928ef7
https://github.com/llvm/llvm-project/commit/d6173167df31388869d22751fdd745f5da928ef7
Author: Daniel Chen <cdchen at ca.ibm.com>
Date: 2024-05-02 (Thu, 02 May 2024)
Changed paths:
M flang/lib/Lower/ConvertCall.cpp
Log Message:
-----------
[Flang] Get fir::SequenceType from hlfir::ExprType before getShape. (#90055)
This PR is to fix issue #88889 .
Because the type of an actual argument of an array expression of
character has type of `hlfir::ExprType`, we need to transform it to
`fir::SequenceType` before calling `getBoxTypeWithNewShape`.
Calling `hlfir::ExprType::getShape` inside of `getBoxTypeWithNewShape`
will introduce a circular dependency on FIRDialect and HLFIRDialect
libraries.
Commit: 82f72c1aa8ef36b521a617a291c9f732edca9d12
https://github.com/llvm/llvm-project/commit/82f72c1aa8ef36b521a617a291c9f732edca9d12
Author: Youngsuk Kim <joseph942010 at gmail.com>
Date: 2024-05-02 (Thu, 02 May 2024)
Changed paths:
M clang/docs/ReleaseNotes.rst
M clang/lib/Sema/SemaExpr.cpp
M clang/test/CXX/drs/dr7xx.cpp
Log Message:
-----------
[clang][Sema] Re-use existing BinaryOperator if possible (#90625)
First round of Sema checks were run at initial parsing step. Creating a
new BinaryOperator instance (with the re-built LHS or RHS) will trigger
another round of Sema checks, which can lead to duplicate diagnostic
warning messages.
All we want here is to replace the LHS or RHS with a NonOdrUse version.
Don't create a new BinaryOperator, but simply replace the LHS or RHS of
the given BinaryOperator.
Fixes #45783
Commit: 8c0937f5629e2a0a11ce623e1d38fb86e955bdef
https://github.com/llvm/llvm-project/commit/8c0937f5629e2a0a11ce623e1d38fb86e955bdef
Author: Yaxun (Sam) Liu <yaxun.liu at amd.com>
Date: 2024-05-02 (Thu, 02 May 2024)
Changed paths:
M llvm/test/Transforms/HipStdPar/global-var.ll
Log Message:
-----------
Fix test HipStdPar/global-var.ll
It requires amdgpu registered target.
Commit: 42c7cb69694d274e46bb98d156b9be31b308b62c
https://github.com/llvm/llvm-project/commit/42c7cb69694d274e46bb98d156b9be31b308b62c
Author: Antonio Frighetto <me at antoniofrighetto.com>
Date: 2024-05-02 (Thu, 02 May 2024)
Changed paths:
M llvm/lib/Transforms/Utils/CloneFunction.cpp
M llvm/test/Transforms/Inline/inline-deferred-instsimplify.ll
M llvm/test/Transforms/Inline/prof-update-sample-alwaysinline.ll
M llvm/test/Transforms/Inline/prof-update-sample.ll
Log Message:
-----------
Reapply "[Inline][Cloning] Defer simplification after phi-nodes resolution"
Original commit: a61f9fe31750cee65c726fb51f1b14e31e177258
Multiple 2-stage buildbots were reporting failures. These issues have been
addressed separately.
Fixes: https://github.com/llvm/llvm-project/issues/87534.
Commit: 1bb929833b18db4a26a4d145d7270597cb5d48ce
https://github.com/llvm/llvm-project/commit/1bb929833b18db4a26a4d145d7270597cb5d48ce
Author: Antonio Frighetto <me at antoniofrighetto.com>
Date: 2024-05-02 (Thu, 02 May 2024)
Changed paths:
M llvm/lib/Transforms/Utils/CloneFunction.cpp
A llvm/test/Transforms/Inline/inline-drop-attributes.ll
Log Message:
-----------
[Inline][Cloning] Drop incompatible attributes from `NewFunc`
Performing `instSimplify` while cloning is unsafe due to incomplete
remapping (as reported in #87534). Ideally, `instSimplify` ought to
reason on the updated newly-cloned function, after returns have been
rewritten and callee entry basic block / call-site have been fixed up.
This is in contrast to `CloneAndPruneIntoFromInst` behaviour, which
is inherently expected to clone basic blocks, with pruning on top of
– if any –, and not actually fixing up returns / CFG, which should be
up to the Inliner. We may solve this by letting `instSimplify` work on
the newly-cloned function, while maintaining old function attributes,
so as to avoid inconsistencies between the yet-to-be-solved return
type, and new function ret type attributes.
Commit: e020e287c7733f29aac08b3ed87f2c3f96a88ef7
https://github.com/llvm/llvm-project/commit/e020e287c7733f29aac08b3ed87f2c3f96a88ef7
Author: Jay Foad <jay.foad at amd.com>
Date: 2024-05-02 (Thu, 02 May 2024)
Changed paths:
M llvm/lib/Target/AMDGPU/SILoadStoreOptimizer.cpp
Log Message:
-----------
[AMDGPU] Modernize some syntax in SILoadStoreOptimizer. NFC.
Use structured bindings and similar.
Commit: 46a5de69c03aeb1cd99c7951787b7cf94d6e2dcd
https://github.com/llvm/llvm-project/commit/46a5de69c03aeb1cd99c7951787b7cf94d6e2dcd
Author: Louis Dionne <ldionne.2 at gmail.com>
Date: 2024-05-02 (Thu, 02 May 2024)
Changed paths:
M libcxx/include/__config
Log Message:
-----------
[libc++] Remove a few __has_foo defines in __config (#90511)
All the compilers we support implement those macros or builtins, so it's
not useful to have a fallback to 0 when they're not implemented.
Commit: 9b9a2a2fd0aaed6704f75adfcde0d85e65008601
https://github.com/llvm/llvm-project/commit/9b9a2a2fd0aaed6704f75adfcde0d85e65008601
Author: Nico Weber <thakis at chromium.org>
Date: 2024-05-02 (Thu, 02 May 2024)
Changed paths:
M llvm/utils/gn/secondary/lldb/include/lldb/API/BUILD.gn
M llvm/utils/gn/secondary/lldb/utils/TableGen/BUILD.gn
Log Message:
-----------
[gn] port dcbf0fcd0d55 (SBLanguages.h python)
Commit: 6ceb1c0ef9f544be0eed65e46cc7d99941a001bf
https://github.com/llvm/llvm-project/commit/6ceb1c0ef9f544be0eed65e46cc7d99941a001bf
Author: Daniel Krupp <daniel.krupp at ericsson.com>
Date: 2024-05-02 (Thu, 02 May 2024)
Changed paths:
M clang/docs/analyzer/checkers.rst
M clang/lib/StaticAnalyzer/Checkers/CStringChecker.cpp
M clang/lib/StaticAnalyzer/Checkers/GenericTaintChecker.cpp
M clang/lib/StaticAnalyzer/Checkers/MallocChecker.cpp
M clang/test/Analysis/taint-diagnostic-visitor.c
M clang/test/Analysis/taint-generic.c
Log Message:
-----------
[analyzer] Remove untrusted buffer size warning in the TaintPropagation checker (#68607)
Before this commit the the checker alpha.security.taint.TaintPropagation always reported warnings when the size argument of a memcpy-like or malloc-like function was tainted. However, this produced false positive reports in situations where the size was tainted, but correctly performed bound checks guaranteed the safety of the call.
This commit removes the rough "always warn if the size argument is tainted" heuristic; but it would be good to add a more refined "warns if the size argument is tainted and can be too large" heuristic in follow-up commits. That logic would belong to CStringChecker and MallocChecker, because those are the checkers responsible for the more detailed modeling of memcpy-like and malloc-like functions. To mark this plan, TODO comments are added in those two checkers.
There were several test cases that used these sinks to test generic properties of taint tracking; those were adapted to use different logic.
As a minor unrelated change, this commit ensures that strcat (and its wide variant, wcsncat) propagates taint from the first argument to the first argument, i.e. a tainted string remains tainted if we concatenate it with another string. This change was required because the adapted variant of multipleTaintedArgs is relying on strncat to compose a value that combines taint from two different sources.
Commit: aac588abfa03e9721d96546df917fec913137ecb
https://github.com/llvm/llvm-project/commit/aac588abfa03e9721d96546df917fec913137ecb
Author: Timm Bäder <tbaeder at redhat.com>
Date: 2024-05-02 (Thu, 02 May 2024)
Changed paths:
M clang/lib/AST/Interp/ByteCodeExprGen.cpp
M clang/lib/AST/Interp/ByteCodeExprGen.h
M clang/test/AST/Interp/records.cpp
Log Message:
-----------
Reapply "[clang][Interp] Fix locals created in ExprWithCleanups"
This reverts commit 427c5bfd39ebb9d008b621370579444fbf2a60d7.
Commit: 4aca302f5a82ee65847c88500b39a2530dfeceb4
https://github.com/llvm/llvm-project/commit/4aca302f5a82ee65847c88500b39a2530dfeceb4
Author: LLVM GN Syncbot <llvmgnsyncbot at gmail.com>
Date: 2024-05-02 (Thu, 02 May 2024)
Changed paths:
M llvm/utils/gn/secondary/llvm/lib/Transforms/Instrumentation/BUILD.gn
Log Message:
-----------
[gn build] Port c2d892668b7f
Commit: ab8ac36f10eef3d50d3a6fc8168c98298b643698
https://github.com/llvm/llvm-project/commit/ab8ac36f10eef3d50d3a6fc8168c98298b643698
Author: Craig Topper <craig.topper at sifive.com>
Date: 2024-05-02 (Thu, 02 May 2024)
Changed paths:
M llvm/lib/TargetParser/RISCVISAInfo.cpp
M llvm/unittests/TargetParser/RISCVISAInfoTest.cpp
Log Message:
-----------
[RISCV] Add list of supported profiles to -print-supported-extensions (#90757)
I tried also printing the -march they correspond to, but it seemed
overly verbose and caused line wraps. It might be better if we remove
the versions numbers from the string or did a more intelligent line
wrap.
Commit: cb5d6a5639ab17933f127456cee9167fb0ed6439
https://github.com/llvm/llvm-project/commit/cb5d6a5639ab17933f127456cee9167fb0ed6439
Author: David Spickett <david.spickett at linaro.org>
Date: 2024-05-02 (Thu, 02 May 2024)
Changed paths:
M llvm/include/llvm/ADT/LazyAtomicPointer.h
Log Message:
-----------
[llvm][ADT] Fix Arm 32 bit compilation warning in lazy atomic pointer
LazyAtomicPointer.h:36:49: warning: implicit conversion from 'unsigned long long'
to 'uintptr_t' (aka 'unsigned int') changes value from 18446744073709551615 to 4294967295 [-Wconstant-conversion]
static constexpr uintptr_t getBusy() { return -1ULL; }
On 32 bit Arm ULL is an unsigned long long which is 8 bytes, but
uintptr_t is 4 bytes. Instead of using a value, use the macro
UINTPTR_MAX that will be the correctly sized value.
Commit: d824d879f46cef2fadde811413320f5ae46d0cb9
https://github.com/llvm/llvm-project/commit/d824d879f46cef2fadde811413320f5ae46d0cb9
Author: estewart08 <ethan.stewart at amd.com>
Date: 2024-05-02 (Thu, 02 May 2024)
Changed paths:
M llvm/runtimes/CMakeLists.txt
M offload/CMakeLists.txt
Log Message:
-----------
[offload] - Add omp as a dependency for clang-bootstrap-deps (#90793)
If openmp is on the LLVM_ENABLE_PROJECTS list and
offload is on LLVM_ENABLE_RUNTIMES list when using
CLANG_ENABLE_BOOTSTRAP, then the runtimes will be
configured before the openmp project. This will throw a cannot find
libomp.so dependency error. Add omp as a dependency when this is the
case. Update
offload cmake for detection of LIBOMP_HAVE_VERSION_SCRIPT.
Commit: 646559e90b8370a2d6459b65ecca31a98b5fad0e
https://github.com/llvm/llvm-project/commit/646559e90b8370a2d6459b65ecca31a98b5fad0e
Author: Timm Bäder <tbaeder at redhat.com>
Date: 2024-05-02 (Thu, 02 May 2024)
Changed paths:
M clang/test/AST/Interp/arrays.cpp
Log Message:
-----------
[clang][Interp][NFC] Make a test array smaller
The large size doesn't add anything here, at least not with the
test in its current form.
Commit: f5b4e20a5ab8e0d8f7e3909cfdc0c82e4cf507c3
https://github.com/llvm/llvm-project/commit/f5b4e20a5ab8e0d8f7e3909cfdc0c82e4cf507c3
Author: David Spickett <david.spickett at linaro.org>
Date: 2024-05-02 (Thu, 02 May 2024)
Changed paths:
M llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
Log Message:
-----------
[llvm][AArch64] Fix Arm 32 bit build warnings (#90862)
https://github.com/llvm/llvm-project/pull/84173 added uses of std::labs
on an int64_t which leads to this warning on Arm 32 bit:
```
/home/david.spickett/llvm-project/llvm/lib/Target/AArch64/AArch64ISelLowering.cpp:16655:12: warning: absolute value function 'labs' given an argument of type 'long long' but has parameter of type 'long' which may cause truncation of value [-Wabsolute-value]
return std::labs(Imm / 4) <= 16;
^
/home/david.spickett/llvm-project/llvm/lib/Target/AArch64/AArch64ISelLowering.cpp:16655:12: note: use function 'std::abs' instead
return std::labs(Imm / 4) <= 16;
^~~~~~~~~
std::abs
```
Since int64_t is "long long" on Arm, not "long".
Use std::abs instead since it has versions for "long" and "long long",
we'll pick up the right one at compile time
(https://en.cppreference.com/w/cpp/numeric/math/abs).
Commit: a12622543de15df45fb9ad64e8ab723289d55169
https://github.com/llvm/llvm-project/commit/a12622543de15df45fb9ad64e8ab723289d55169
Author: Stephen Tozer <stephen.tozer at sony.com>
Date: 2024-05-02 (Thu, 02 May 2024)
Changed paths:
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 "[RemoveDIs] Load into new debug info format by default in LLVM (#89799)"
Fixes the broken tests in the original commit:
2f01fd99eb8c8ab3db9aba72c4f00e31e9e60a05
This will probably break some downstream tools that don't already handle
debug records. If your downstream code breaks as a result of this
change, the simplest fix is to convert the module in question to the old
debug format before you process it, using
`Module::convertFromNewDbgValues()`. For more information about how to
handle debug records or about what has changed, see the migration
document:
https://llvm.org/docs/RemoveDIsDebugInfo.html
This reverts commit 00821fed09969305b0003d3313c44d1e761a7131.
Commit: eb3a67173093b06eb1a4ce878c38b5c80926a957
https://github.com/llvm/llvm-project/commit/eb3a67173093b06eb1a4ce878c38b5c80926a957
Author: Sander de Smalen <sander.desmalen at arm.com>
Date: 2024-05-02 (Thu, 02 May 2024)
Changed paths:
M llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
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
Log Message:
-----------
[AArch64] Avoid vector interleave instructions when NEON and SVE are unavailable (#90723)
As the summary suggests, the code incorrectly assumes that it can use
NEON or SVE instructions to implement an interleaved load/store
operation, even when both features are unavailable in the selected
runtime mode.
Commit: d11afe1c743924f309e41c5e5d497d6a6f5c17d6
https://github.com/llvm/llvm-project/commit/d11afe1c743924f309e41c5e5d497d6a6f5c17d6
Author: Matt Arsenault <Matthew.Arsenault at amd.com>
Date: 2024-05-02 (Thu, 02 May 2024)
Changed paths:
M llvm/lib/Target/SystemZ/SystemZInstrInfo.cpp
A llvm/test/CodeGen/SystemZ/copy-phys-reg-gr128-to-fp128.mir
Log Message:
-----------
SystemZ: Handle gr128 to fp128 copies in copyPhysReg (#90861)
Commit: fbaba780f6b131e7674259861fce915b1a94f78e
https://github.com/llvm/llvm-project/commit/fbaba780f6b131e7674259861fce915b1a94f78e
Author: David Spickett <david.spickett at linaro.org>
Date: 2024-05-02 (Thu, 02 May 2024)
Changed paths:
M lldb/test/API/functionalities/gdb_remote_client/TestGDBRemoteLoad.py
Log Message:
-----------
[lldb][test][FreeBSD] Remove xfails from TestGDBRemoteLoad (#84026)
Fixes #48758
These are now passing on AArch64 FreeBSD 14.
Commit: 0638e222f363e041ffe3c4a0f371f987ab92a03d
https://github.com/llvm/llvm-project/commit/0638e222f363e041ffe3c4a0f371f987ab92a03d
Author: Min-Yih Hsu <min.hsu at sifive.com>
Date: 2024-05-02 (Thu, 02 May 2024)
Changed paths:
M llvm/include/llvm/CodeGen/SDPatternMatch.h
M llvm/unittests/CodeGen/SelectionDAGPatternMatchTest.cpp
Log Message:
-----------
[SDPatternMatch] Add m_CondCode, m_NoneOf, and some SExt improvements (#90762)
- Add m_CondCode to match the ISD::CondCode value from CondCodeSDNode
- Add m_NoneOf combinator
- m_SExt now recognizes sext_inreg
Commit: 520ccca2f91f659edb733e1b37a104a1f093b623
https://github.com/llvm/llvm-project/commit/520ccca2f91f659edb733e1b37a104a1f093b623
Author: Lei Huang <lei at ca.ibm.com>
Date: 2024-05-02 (Thu, 02 May 2024)
Changed paths:
M llvm/lib/Target/PowerPC/MCTargetDesc/PPCMCTargetDesc.cpp
M llvm/lib/Target/PowerPC/PPCISelDAGToDAG.cpp
Log Message:
-----------
NFC: fix clang format spacing and documentation (#90775)
Some minor fixes to clean up tabs and language in code documentation.
Commit: a131525908a908baff4cd01140dae158a307dc9e
https://github.com/llvm/llvm-project/commit/a131525908a908baff4cd01140dae158a307dc9e
Author: Valentin Clement (バレンタイン クレメン) <clementval at gmail.com>
Date: 2024-05-02 (Thu, 02 May 2024)
Changed paths:
M flang/lib/Semantics/expression.cpp
M flang/test/Semantics/cuf13.cuf
Log Message:
-----------
[flang][cuda] Compute matching distance in generic resolution (#90774)
Implement the matching distance as described here:
https://docs.nvidia.com/hpc-sdk/archive/24.3/compilers/cuda-fortran-prog-guide/index.html#cfref-var-attr-unified-data
Generic resolved to the smallest distance.
Commit: 44645996b0abb6e0b5b3d65b063644645f635a5e
https://github.com/llvm/llvm-project/commit/44645996b0abb6e0b5b3d65b063644645f635a5e
Author: Craig Topper <craig.topper at sifive.com>
Date: 2024-05-02 (Thu, 02 May 2024)
Changed paths:
M clang/test/Preprocessor/riscv-target-features.c
M llvm/docs/RISCVUsage.rst
M llvm/docs/ReleaseNotes.rst
M llvm/lib/Target/RISCV/RISCVFeatures.td
M llvm/test/CodeGen/RISCV/attributes.ll
M llvm/test/MC/RISCV/attribute-arch.s
M llvm/unittests/TargetParser/RISCVISAInfoTest.cpp
Log Message:
-----------
[RISCV] Add smstateen extension (#90818)
Commit: 0708500ce0149c501e802b7ab6581770cc7a5334
https://github.com/llvm/llvm-project/commit/0708500ce0149c501e802b7ab6581770cc7a5334
Author: Sander de Smalen <sander.desmalen at arm.com>
Date: 2024-05-02 (Thu, 02 May 2024)
Changed paths:
M clang/lib/AST/ASTContext.cpp
Log Message:
-----------
[Clang] Remove bogus assert in are[Lax]CompatibleSveTypes()
This caused an assertion failure for the following input:
__SVInt32_t bar(__SVInt32_t x);
void foo(__SVInt32_t x) {
return bar(x);
}
Commit: e71eacc5b19785bc46ce9c3d8541a0c83c65660e
https://github.com/llvm/llvm-project/commit/e71eacc5b19785bc46ce9c3d8541a0c83c65660e
Author: Yinying Li <yinyingli at google.com>
Date: 2024-05-02 (Thu, 02 May 2024)
Changed paths:
M mlir/lib/Dialect/SparseTensor/IR/CMakeLists.txt
M mlir/lib/Dialect/SparseTensor/IR/SparseTensorDialect.cpp
M mlir/lib/Dialect/SparseTensor/Transforms/Utils/CodegenUtils.h
M mlir/test/Dialect/SparseTensor/roundtrip_encoding.mlir
M mlir/test/Dialect/SparseTensor/sparse_matmul_one.mlir
M utils/bazel/llvm-project-overlay/mlir/BUILD.bazel
Log Message:
-----------
[mlir][sparse] Support explicit/implicit value for complex type (#90771)
Commit: eb8236381bcfdb5071143160c7a0663f8e3c1c97
https://github.com/llvm/llvm-project/commit/eb8236381bcfdb5071143160c7a0663f8e3c1c97
Author: Scott Egerton <9487234+ScottEgerton at users.noreply.github.com>
Date: 2024-05-02 (Thu, 02 May 2024)
Changed paths:
M llvm/lib/Target/AMDGPU/AMDGPUInsertSingleUseVDST.cpp
M llvm/test/CodeGen/AMDGPU/insert-singleuse-vdst.mir
Log Message:
-----------
[AMDGPU] Group multiple single use producers under one single use instruction. (#90713)
Previously each single use producer would be marked with a
"S_SINGLEUSE_VDST 1" instruction. This patch adds support for
larger immediates that encode multiple single use producers into
one S_SINGLEUSE_VDST instruction.
Commit: 941eab102f4ae524bb66bcd9bffafc605b20ef7c
https://github.com/llvm/llvm-project/commit/941eab102f4ae524bb66bcd9bffafc605b20ef7c
Author: Craig Topper <craig.topper at sifive.com>
Date: 2024-05-02 (Thu, 02 May 2024)
Changed paths:
M llvm/lib/TargetParser/RISCVISAInfo.cpp
M llvm/unittests/TargetParser/RISCVISAInfoTest.cpp
Log Message:
-----------
[RISCV] Make parseNormalizedArchString only accept [a-z0-9_]. (#90815)
Previously we only rejected upper case characters. We should instead
reject anything except lower case, numbers, and underscore. Other
characters will likely confuse the extension sorting.
Commit: 1c80d322c4a659d96ca34a17dfbdab24beb25388
https://github.com/llvm/llvm-project/commit/1c80d322c4a659d96ca34a17dfbdab24beb25388
Author: Heejin Ahn <aheejin at gmail.com>
Date: 2024-05-02 (Thu, 02 May 2024)
Changed paths:
M clang/include/clang/Driver/Options.td
M clang/lib/Basic/Targets/WebAssembly.cpp
M clang/lib/Basic/Targets/WebAssembly.h
M clang/test/Driver/wasm-features.c
M llvm/lib/Target/WebAssembly/WebAssembly.td
M llvm/lib/Target/WebAssembly/WebAssemblyInstrInfo.td
M llvm/lib/Target/WebAssembly/WebAssemblySubtarget.h
Log Message:
-----------
[WebAssembly] Sort target features (NFC) (#90777)
Commit: 4fd319ae273ed6c252f2067909c1abd9f6d97efa
https://github.com/llvm/llvm-project/commit/4fd319ae273ed6c252f2067909c1abd9f6d97efa
Author: Stephen Tozer <stephen.tozer at sony.com>
Date: 2024-05-02 (Thu, 02 May 2024)
Changed paths:
M llvm/docs/ReleaseNotes.rst
M llvm/include/llvm/AsmParser/LLParser.h
M llvm/lib/AsmParser/LLParser.cpp
M llvm/lib/Bitcode/Reader/BitcodeReader.cpp
M llvm/lib/IR/BasicBlock.cpp
M llvm/lib/IR/DebugProgramInstruction.cpp
M llvm/lib/IR/Function.cpp
M llvm/lib/IR/Module.cpp
M llvm/tools/llvm-as/llvm-as.cpp
M llvm/tools/llvm-dis/llvm-dis.cpp
M llvm/tools/llvm-link/llvm-link.cpp
M llvm/unittests/Analysis/IRSimilarityIdentifierTest.cpp
M llvm/unittests/IR/BasicBlockDbgInfoTest.cpp
M llvm/unittests/IR/DebugInfoTest.cpp
M llvm/unittests/IR/IRBuilderTest.cpp
M llvm/unittests/IR/InstructionsTest.cpp
M llvm/unittests/IR/ValueTest.cpp
M llvm/unittests/Transforms/Utils/CloningTest.cpp
M llvm/unittests/Transforms/Utils/LocalTest.cpp
Log Message:
-----------
Revert#2 "[RemoveDIs] Load into new debug info format by default in LLVM (#89799)"
Reverted following probably-causing failures on some clang buildbots:
https://lab.llvm.org/buildbot/#/builders/245/builds/24037
This reverts commit a12622543de15df45fb9ad64e8ab723289d55169.
Commit: 62c29593be317f6cfaed8ffbcc016bd2c94c35d4
https://github.com/llvm/llvm-project/commit/62c29593be317f6cfaed8ffbcc016bd2c94c35d4
Author: Matheus Izvekov <mizvekov at gmail.com>
Date: 2024-05-02 (Thu, 02 May 2024)
Changed paths:
M clang/www/cxx_status.html
Log Message:
-----------
[clang] NFC: cxx_status mark P0522R0 as unreleased
Addressing post-commit review on #89807
Commit: 1aeb64c8ec7b96b2301929d8a325a6e1d9ddaa2f
https://github.com/llvm/llvm-project/commit/1aeb64c8ec7b96b2301929d8a325a6e1d9ddaa2f
Author: Timm Bäder <tbaeder at redhat.com>
Date: 2024-05-02 (Thu, 02 May 2024)
Changed paths:
M clang/lib/AST/Interp/Descriptor.cpp
M clang/lib/AST/Interp/Descriptor.h
M clang/lib/AST/Interp/Interp.h
M clang/lib/AST/Interp/Program.cpp
M clang/test/AST/Interp/builtin-align-cxx.cpp
M clang/test/AST/Interp/c.c
Log Message:
-----------
Reapply "[clang][Interp] Create full type info for dummy pointers"
This reverts commit 6195e228eb2a7085fac53603f534d2401ab1ac39.
Commit: 5445a35d6ef5e8b6d3aafd78c48167ef22eef0af
https://github.com/llvm/llvm-project/commit/5445a35d6ef5e8b6d3aafd78c48167ef22eef0af
Author: Craig Topper <craig.topper at sifive.com>
Date: 2024-05-02 (Thu, 02 May 2024)
Changed paths:
M llvm/lib/TargetParser/RISCVISAInfo.cpp
M llvm/unittests/TargetParser/RISCVISAInfoTest.cpp
Log Message:
-----------
[RISCV] Detect empty extension name after parsing MajorVersion in parseNormalizedArchString. (#90790)
If the string is just a version, we will end up adding an empty string
as an extension which crashes in the compare function for the std::map.
Commit: e06d6ed1ef081eb9858da8066a6036c5dde432eb
https://github.com/llvm/llvm-project/commit/e06d6ed1ef081eb9858da8066a6036c5dde432eb
Author: Krzysztof Pszeniczny <kpszeniczny at google.com>
Date: 2024-05-02 (Thu, 02 May 2024)
Changed paths:
M llvm/lib/Transforms/IPO/SampleProfileMatcher.cpp
M llvm/test/Transforms/SampleProfile/Inputs/non-probe-stale-profile-matching.prof
M llvm/test/Transforms/SampleProfile/non-probe-stale-profile-matching.ll
Log Message:
-----------
[SamplePGO] Handle FS discriminators in SampleProfileMatcher (#90858)
Currently the code uses FunctionSamples::getCallSiteIdentifier which
will sometimes incorrectly guess that FSAFDO discriminators are probe
based and will convert them incorrectly.
This change doesn't affect builds which don't use FSAFDO, it only fixes
sample profile matching with FS discriminators.
The test for this is manually updated to use discriminator value 15,
which is a perfectly valid base discriminator in the FS world, but
satisfies `isPseudoProbeDiscriminator`, so
`getBaseDiscriminatorFromDiscriminator` will incorrectly extract the
probe index from it.
Note: this change only affects how the base discriminators will be
extracted when doing stale profile matching in the IR-level sample
profile loader. It doesn't add stale profile matching to the MIR-level
FS profile loader pass.
Commit: aa5ff68247ddd763c4f5de78ab8ee5739b6f401b
https://github.com/llvm/llvm-project/commit/aa5ff68247ddd763c4f5de78ab8ee5739b6f401b
Author: Chris B <chris.bieneman at me.com>
Date: 2024-05-02 (Thu, 02 May 2024)
Changed paths:
M clang/lib/Sema/SemaOverload.cpp
M clang/test/SemaHLSL/OverloadResolutionBugs.hlsl
A clang/test/SemaHLSL/ScalarOverloadResolution.hlsl
A clang/test/SemaHLSL/VectorElementOverloadResolution.hlsl
Log Message:
-----------
[HLSL] Shore up floating point conversions (#90222)
This PR fixes bugs in HLSL floating conversions. HLSL always has `half`,
`float` and `double` types, which promote in the order:
`half`->`float`->`double`
and convert in the order:
`double`->`float`->`half`
As with other conversions in C++, promotions are preferred over
conversions.
We do have floating conversions documented in the draft language
specification (https://microsoft.github.io/hlsl-specs/specs/hlsl.pdf
[Conv.rank.float]) although the exact language is still in flux
(https://github.com/microsoft/hlsl-specs/pull/206).
Resolves #81047
Commit: 49bac13acdb8159d8b257059a72742bb3c0ec196
https://github.com/llvm/llvm-project/commit/49bac13acdb8159d8b257059a72742bb3c0ec196
Author: Simon Pilgrim <llvm-dev at redking.me.uk>
Date: 2024-05-02 (Thu, 02 May 2024)
Changed paths:
M llvm/test/Analysis/CostModel/X86/arith-fp-codesize.ll
M llvm/test/Analysis/CostModel/X86/arith-fp-latency.ll
M llvm/test/Analysis/CostModel/X86/arith-fp-sizelatency.ll
M llvm/test/Analysis/CostModel/X86/arith-fp.ll
Log Message:
-----------
[CostModel][X86] Add test coverage for rint/lrint/llrint fp calls
Commit: e4bb6634cd074ba7cc4ef051850ad3375636ef02
https://github.com/llvm/llvm-project/commit/e4bb6634cd074ba7cc4ef051850ad3375636ef02
Author: Simon Pilgrim <llvm-dev at redking.me.uk>
Date: 2024-05-02 (Thu, 02 May 2024)
Changed paths:
A llvm/test/Transforms/SLPVectorizer/X86/arith-fp-call.ll
Log Message:
-----------
[SLP][X86] Add test coverage for rint/lrint/llrint fp calls
Commit: 2d4acb086541577ac6ab3a140b9ceb9659ce7094
https://github.com/llvm/llvm-project/commit/2d4acb086541577ac6ab3a140b9ceb9659ce7094
Author: Kevin Frei <kevinfrei at users.noreply.github.com>
Date: 2024-05-02 (Thu, 02 May 2024)
Changed paths:
M lldb/packages/Python/lldbsuite/test/make/Makefile.rules
M lldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARF.cpp
M lldb/source/Plugins/SymbolLocator/CMakeLists.txt
M lldb/source/Plugins/SymbolVendor/ELF/SymbolVendorELF.cpp
A lldb/test/API/debuginfod/Normal/Makefile
A lldb/test/API/debuginfod/Normal/TestDebuginfod.py
A lldb/test/API/debuginfod/Normal/main.c
A lldb/test/API/debuginfod/SplitDWARF/Makefile
A lldb/test/API/debuginfod/SplitDWARF/TestDebuginfodDWP.py
A lldb/test/API/debuginfod/SplitDWARF/main.c
M lldb/test/API/lit.site.cfg.py.in
M lldb/test/CMakeLists.txt
Log Message:
-----------
LLDB Debuginfod tests and a fix or two (#90622)
I'm taking yet another swing at getting these tests going, on the
hypothesis that the problems with buildbots & whatnot are because
they're not configured with CURL support, which I've confirmed would
cause the previous tests to fail. (I have no access to an ARM64 linux
system, but I did repro the failure on MacOS configured without CURL
support)
So, the only difference between this diff and
[previous](https://github.com/llvm/llvm-project/pull/85693)
[diffs](https://github.com/llvm/llvm-project/pull/87676) that have
already been approved is that I've added a condition to the tests to
only run if Debuginfod capabilities should be built into the binary. I
had done this for these tests when they were [Shell
tests](https://github.com/llvm/llvm-project/pull/79181) and not API
tests, but I couldn't find a direct analog in any API test, so I used
the "plugins" model used by the intel-pt tests as well.
---------
Co-authored-by: Kevin Frei <freik at meta.com>
Commit: 86ab10c4d9722574bafaf79e8d553d46dcdb7372
https://github.com/llvm/llvm-project/commit/86ab10c4d9722574bafaf79e8d553d46dcdb7372
Author: Vijay Kandiah <vkandiah at nvidia.com>
Date: 2024-05-02 (Thu, 02 May 2024)
Changed paths:
M flang/docs/FlangDriver.md
M flang/include/flang/Tools/CLOptions.inc
M flang/include/flang/Tools/CrossToolHelpers.h
M flang/lib/Frontend/FrontendActions.cpp
M flang/tools/bbc/bbc.cpp
M flang/tools/tco/tco.cpp
Log Message:
-----------
[flang] Added extension point callbacks to default FIR optimizer pipeline. (#90674)
This change inserts a few extension point callbacks in the
DefaultFIROptimizerPassPipeline. As an example usage of callbacks in the
FIR optimizer pipeline, the FIRInlinerCallback is now used to register
the default MLIR inliner pass in flang-new, tco, and bbc compilation
flows. Other compilation flows can use these callbacks to add extra
passes at different points of the pass pipeline.
---------
Co-authored-by: Vijay Kandiah <vkandiah at sky6.pgi.net>
Commit: c7209cbb8be7a3c658137679d760ce9d70baded8
https://github.com/llvm/llvm-project/commit/c7209cbb8be7a3c658137679d760ce9d70baded8
Author: Florian Hahn <flo at fhahn.com>
Date: 2024-05-02 (Thu, 02 May 2024)
Changed paths:
M llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
Log Message:
-----------
[LV] Assert that there's a resume phi for epilogue loops (NFC).
This patch adds an assert to createAndCollectMergePhiForReduction to
make sure there is a resume phi when vectorizing the epilogue loop. This
is needed to set the resume value from the main vector loop.
This assertion guards against the issue caused the revert of
https://github.com/llvm/llvm-project/pull/78304.
Commit: ee63f287e013ab3424372034d4d5a95512ab5b6b
https://github.com/llvm/llvm-project/commit/ee63f287e013ab3424372034d4d5a95512ab5b6b
Author: Zequan Wu <zequanwu at google.com>
Date: 2024-05-02 (Thu, 02 May 2024)
Changed paths:
M lldb/tools/lldb-dap/JSONUtils.cpp
Log Message:
-----------
[lldb-dap] Minor cleanup.
Fix #85974.
Commit: 64f6f905bcb03f6d821c6a24e5add1290212978a
https://github.com/llvm/llvm-project/commit/64f6f905bcb03f6d821c6a24e5add1290212978a
Author: Billy Zhu <billyzhu at modular.com>
Date: 2024-05-02 (Thu, 02 May 2024)
Changed paths:
M mlir/lib/Target/LLVMIR/DebugTranslation.cpp
M mlir/test/Target/LLVMIR/llvmir-debug.mlir
Log Message:
-----------
[MLIR][LLVM] CallSiteLoc without caller scope not translatable (#90759)
If a CallSiteLoc's caller cannot be translated (returns null), we cannot
simply return the translation of the callee location. This is because
the resulting DILocation will not have any InlinedAt field for the
function it is in, and will fail the LLVM IR verifier.
Commit: 0558c7e01db81b3ac307fe59737fefd8bd060873
https://github.com/llvm/llvm-project/commit/0558c7e01db81b3ac307fe59737fefd8bd060873
Author: Nico Weber <thakis at chromium.org>
Date: 2024-05-02 (Thu, 02 May 2024)
Changed paths:
M llvm/utils/gn/secondary/lldb/test/BUILD.gn
Log Message:
-----------
[gn] port 2d4acb086541 (LLVM_ENABLE_CURL)
Commit: d4a25976df791aa2ba12e2dde69e644e0d9fe152
https://github.com/llvm/llvm-project/commit/d4a25976df791aa2ba12e2dde69e644e0d9fe152
Author: zhijian lin <zhijian at ca.ibm.com>
Date: 2024-05-02 (Thu, 02 May 2024)
Changed paths:
M clang/lib/Basic/Targets/PPC.cpp
M clang/lib/Basic/Targets/PPC.h
M clang/lib/CodeGen/CGBuiltin.cpp
M clang/lib/Sema/SemaChecking.cpp
M clang/test/CodeGen/aix-builtin-cpu-is.c
A clang/test/CodeGen/aix-builtin-cpu-supports.c
A clang/test/CodeGen/multi-aix-builtin-cpu-supports.c
M clang/test/Sema/aix-builtin-cpu-unsupports.c
A clang/test/Sema/builtin-cpu-unsupports-AIX-Os.c
M llvm/include/llvm/TargetParser/PPCTargetParser.def
Log Message:
-----------
Implement a subset of builtin_cpu_supports() features (#82809)
The PR implements a subset of features of function
__builtin_cpu_support() for AIX OS based on the information which AIX
kernel runtime variable `_system_configuration` and function call `getsystemcfg()` of
/usr/include/sys/systemcfg.h in AIX OS can provide.
Following subset of features are supported in the PR
"arch_3_00", "arch_3_1","booke","cellbe","darn","dfp","dscr" ,"ebb","efpsingle","efpdouble","fpu","htm","isel",
"mma","mmu","pa6t","power4","power5","power5+","power6x","ppc32","ppc601","ppc64","ppcle","smt",
"spe","tar","true_le","ucache","vsx"
Commit: 57216f7bd64a78af6e037b34662ed49a6221734b
https://github.com/llvm/llvm-project/commit/57216f7bd64a78af6e037b34662ed49a6221734b
Author: Stanislav Mekhanoshin <rampitec at users.noreply.github.com>
Date: 2024-05-02 (Thu, 02 May 2024)
Changed paths:
M llvm/lib/Target/AMDGPU/AsmParser/AMDGPUAsmParser.cpp
M llvm/lib/Target/AMDGPU/GCNDPPCombine.cpp
M llvm/lib/Target/AMDGPU/SIInstrInfo.cpp
M llvm/lib/Target/AMDGPU/SIInstrInfo.td
M llvm/lib/Target/AMDGPU/VOP1Instructions.td
M llvm/lib/Target/AMDGPU/VOPInstructions.td
M llvm/test/CodeGen/AMDGPU/llvm.amdgcn.cvt.fp8.dpp.ll
M llvm/test/CodeGen/AMDGPU/llvm.amdgcn.cvt.fp8.dpp.mir
M llvm/test/CodeGen/AMDGPU/llvm.amdgcn.cvt.fp8.ll
M llvm/test/MC/AMDGPU/gfx12_asm_vop3_from_vop1.s
M llvm/test/MC/AMDGPU/gfx12_asm_vop3_from_vop1_dpp16.s
M llvm/test/MC/AMDGPU/gfx12_asm_vop3_from_vop1_dpp8.s
M llvm/test/MC/Disassembler/AMDGPU/gfx12_dasm_vop3_from_vop1_dpp16.txt
M llvm/test/MC/Disassembler/AMDGPU/gfx12_dasm_vop3_from_vop1_dpp8.txt
Log Message:
-----------
[AMDGPU] Support byte_sel modifier for v_cvt_f32_fp8 and v_cvt_f32_bf8 (#90887)
Commit: dcf376aae738252fb52a73bcf7f58fd030e15ee2
https://github.com/llvm/llvm-project/commit/dcf376aae738252fb52a73bcf7f58fd030e15ee2
Author: Augusto Noronha <augusto2112 at me.com>
Date: 2024-05-02 (Thu, 02 May 2024)
Changed paths:
M llvm/lib/IR/LLVMContextImpl.h
M llvm/unittests/IR/DebugInfoTest.cpp
Log Message:
-----------
[DebugInfo] Make DISubprogram's hashing always produce the same result (#90770)
A DISubprogram's hashing algorithm takes into account its Scope. A Scope
can be a temporary though which can be replaced later on during
compilation. This means that the hashing algorithm for a DISubprogram
could produce a different hash before/after the Scope has changed. Fix
this by checking the Scope's linkage name instead, which should always
be the same.
rdar://127004707
Commit: 8805465e1d5b1a97dfea21f4c68ee6bb4f208eb7
https://github.com/llvm/llvm-project/commit/8805465e1d5b1a97dfea21f4c68ee6bb4f208eb7
Author: Stephen Tozer <stephen.tozer at sony.com>
Date: 2024-05-02 (Thu, 02 May 2024)
Changed paths:
M clang/lib/CodeGen/CGVTables.cpp
M clang/test/CodeGenCXX/tmp-md-nodes2.cpp
Log Message:
-----------
[RemoveDIs][Clang] Resolve DILocalVariables used by DbgRecords (#90882)
This patch fixes debug records in clang, by adding support for debug
records to the only remaining place that refers to DbgVariableIntrinsics
directly and does not handle DbgVariableRecords.
Commit: 38f9c013a090b666328aecceac03dda84d2b14ca
https://github.com/llvm/llvm-project/commit/38f9c013a090b666328aecceac03dda84d2b14ca
Author: Matt Arsenault <Matthew.Arsenault at amd.com>
Date: 2024-05-02 (Thu, 02 May 2024)
Changed paths:
M llvm/lib/Target/SystemZ/SystemZISelLowering.cpp
M llvm/test/CodeGen/SystemZ/atomic-load-08.ll
Log Message:
-----------
SystemZ: Stop casting fp typed atomic loads in the IR (#90768)
shouldCastAtomicLoadInIR is a hack that should be removed. Simple
bitcasting of operations should be in the domain of ordinary type
legalization and does not need to be done in the IR.
This introduces a code quality regression due to the hack currently used
to avoid using 128-bit values in the case where the floating point value
is ultimately used as an integer. This would be avoidable if there were
always a legal 128-bit type (like v2i64). This is a pretty niche
situation so I assume it's not important.
I implemented about 85% of the work necessary to make v2i64 legal, but
it was taking too long and I lack the necessary familiarity with systemz
to complete it. I've pushed it here for someone to pick up:
https://github.com/arsenm/llvm-project/pull/new/systemz-legal-v2i64
Depends #90861
Commit: 0e5ff6251fa215e74bfa570e88bb6c7bf12c46d8
https://github.com/llvm/llvm-project/commit/0e5ff6251fa215e74bfa570e88bb6c7bf12c46d8
Author: Schrodinger ZHU Yifan <yifanzhu at rochester.edu>
Date: 2024-05-02 (Thu, 02 May 2024)
Changed paths:
M libc/fuzzing/__support/CMakeLists.txt
A libc/fuzzing/__support/hashtable_fuzz.cpp
M libc/fuzzing/__support/uint_fuzz.cpp
M libc/src/__support/HashTable/generic/bitmask_impl.inc
Log Message:
-----------
[libc] add hashtable fuzzing (#87949)
Commit: eea81aa29848361eb5b24f24d2af643fdeb9adfd
https://github.com/llvm/llvm-project/commit/eea81aa29848361eb5b24f24d2af643fdeb9adfd
Author: Vitaly Buka <vitalybuka at google.com>
Date: 2024-05-02 (Thu, 02 May 2024)
Changed paths:
M clang/include/clang/Basic/DiagnosticParseKinds.td
M clang/lib/Parse/ParseOpenMP.cpp
M clang/test/OpenMP/target_ast_print.cpp
M clang/test/OpenMP/target_map_messages.cpp
Log Message:
-----------
Revert "[OpenMP][TR12] change property of map-type modifier." (#90885)
Breaks
https://lab.llvm.org/buildbot/#/builders/5/builds/43086/steps/9/logs/stdio
Reverts llvm/llvm-project#90499
Commit: bce3bfced5fe0b01983d5ca1d4c86f3215d09e57
https://github.com/llvm/llvm-project/commit/bce3bfced5fe0b01983d5ca1d4c86f3215d09e57
Author: Florian Hahn <flo at fhahn.com>
Date: 2024-05-02 (Thu, 02 May 2024)
Changed paths:
M llvm/test/Transforms/LoopVectorize/epilog-vectorization-any-of-reductions.ll
Log Message:
-----------
[LV] Add another epilogue test with an AnyOfReduction of i1.
Additional test case from
https://github.com/llvm/llvm-project/pull/78304.
Commit: 11f76b8511058a678382acf6811441d76431389e
https://github.com/llvm/llvm-project/commit/11f76b8511058a678382acf6811441d76431389e
Author: Jay Foad <jay.foad at amd.com>
Date: 2024-05-02 (Thu, 02 May 2024)
Changed paths:
M llvm/lib/Target/AMDGPU/SILoadStoreOptimizer.cpp
Log Message:
-----------
[AMDGPU] Use some merging/unmerging helpers in SILoadStoreOptimizer (#90866)
Factor out copyToDestRegs and copyFromSrcRegs for merging store sources
and unmerging load results. NFC.
Commit: 99b4532b8b724db5fcbb80b86053a4c7371f2c1e
https://github.com/llvm/llvm-project/commit/99b4532b8b724db5fcbb80b86053a4c7371f2c1e
Author: Maksim Panchenko <maks at fb.com>
Date: 2024-05-02 (Thu, 02 May 2024)
Changed paths:
M bolt/lib/Rewrite/LinuxKernelRewriter.cpp
A bolt/test/X86/linux-smp-locks.s
Log Message:
-----------
[BOLT] Add support for Linux kernel .smp_locks section (#90798)
Parse .smp_locks section entries and create fixups that are going to be
used to update the section before the binary emission.
Commit: 9cd218e4270c3e0e68d8fed0aa8401a4925e0f52
https://github.com/llvm/llvm-project/commit/9cd218e4270c3e0e68d8fed0aa8401a4925e0f52
Author: Maksim Panchenko <maks at fb.com>
Date: 2024-05-02 (Thu, 02 May 2024)
Changed paths:
M bolt/include/bolt/Rewrite/RewriteInstance.h
M bolt/lib/Rewrite/RewriteInstance.cpp
Log Message:
-----------
[BOLT] Refactor BOLT reserved space discovery (#90893)
Move code that checks for __bolt_reserved_{start,end} into a new
discoverBOLTReserved() function and call it from discoverFileObjects()
so that the reserved space info is accessible to passes. NFC for the
current set of binaries.
Commit: 9d4575c910c210c3780b1c882e09732464dd4f44
https://github.com/llvm/llvm-project/commit/9d4575c910c210c3780b1c882e09732464dd4f44
Author: Youngsuk Kim <youngsuk.kim at hpe.com>
Date: 2024-05-02 (Thu, 02 May 2024)
Changed paths:
M llvm/lib/CodeGen/RDFGraph.cpp
Log Message:
-----------
[llvm] Make lambda take const reference to prevent unneeded copy (NFC)
Closes #89198
Commit: 17f006207cb233e4988160fe8860cf082bbafe88
https://github.com/llvm/llvm-project/commit/17f006207cb233e4988160fe8860cf082bbafe88
Author: Nikolas Klauser <nikolasklauser at berlin.de>
Date: 2024-05-02 (Thu, 02 May 2024)
Changed paths:
M libcxx/include/CMakeLists.txt
A libcxx/include/__ostream/basic_ostream.h
A libcxx/include/__ostream/print.h
M libcxx/include/istream
M libcxx/include/module.modulemap
M libcxx/include/ostream
M libcxx/include/sstream
M libcxx/include/syncstream
M libcxx/test/libcxx/input.output/file.streams/fstreams/traits_mismatch.verify.cpp
M libcxx/test/libcxx/input.output/iostream.format/output.streams/traits_mismatch.verify.cpp
M libcxx/test/libcxx/transitive_includes/cxx03.csv
M libcxx/test/libcxx/transitive_includes/cxx11.csv
M libcxx/test/libcxx/transitive_includes/cxx14.csv
M libcxx/test/libcxx/transitive_includes/cxx17.csv
M libcxx/test/libcxx/transitive_includes/cxx20.csv
M libcxx/test/libcxx/transitive_includes/cxx23.csv
M libcxx/test/libcxx/transitive_includes/cxx26.csv
M libcxx/test/std/input.output/syncstream/syncbuf/helpers.h
M libcxx/test/std/thread/thread.threads/thread.thread.class/thread.thread.id/parse.pass.cpp
Log Message:
-----------
[libc++] Granularize <ostream> (#85537)
This also includes `<__ostream/basic_ostream.h>` in `<sstream>` now,
reducing the include time of `<complex>` from 819ms to 603ms.
Commit: b24aeef1cc4667f247ccf5d17913b1e1f2728d10
https://github.com/llvm/llvm-project/commit/b24aeef1cc4667f247ccf5d17913b1e1f2728d10
Author: LLVM GN Syncbot <llvmgnsyncbot at gmail.com>
Date: 2024-05-02 (Thu, 02 May 2024)
Changed paths:
M llvm/utils/gn/secondary/libcxx/include/BUILD.gn
Log Message:
-----------
[gn build] Port 17f006207cb2
Commit: 7298ae3b6d97777443aa89e38ab34b15482abfb3
https://github.com/llvm/llvm-project/commit/7298ae3b6d97777443aa89e38ab34b15482abfb3
Author: Björn Pettersson <bjorn.a.pettersson at ericsson.com>
Date: 2024-05-02 (Thu, 02 May 2024)
Changed paths:
M clang/lib/CodeGen/CGBuiltin.cpp
A clang/test/CodeGen/builtins-bitint.c
M clang/test/CodeGen/builtins.c
Log Message:
-----------
[clang][CodeGen] Fix in codegen for __builtin_popcountg/ctzg/clzg (#90845)
Make sure that the result from the popcnt/ctlz/cttz intrinsics is
unsigned casted to int, rather than casted as a signed value, when
expanding the __builtin_popcountg/__builtin_ctzg/__builtin_clzg
builtins.
An example would be
unsigned _BitInt(1) x = ...;
int y = __builtin_popcountg(x);
which previously was incorrectly expanded to
%1 = call i1 @llvm.ctpop.i1(i1 %0)
%cast = sext i1 %1 to i32
Since the input type is generic for those "g" versions of the builtins
the intrinsic call may return a value for which the sign bit is set
(that could typically for BitInt of size 1 and 2). So we need to emit a
zext rather than a sext to avoid negative results.
Commit: 90bd7234e36e5b3d63155f481b739ea463985631
https://github.com/llvm/llvm-project/commit/90bd7234e36e5b3d63155f481b739ea463985631
Author: Sylvestre Ledru <sylvestre at debian.org>
Date: 2024-05-02 (Thu, 02 May 2024)
Changed paths:
M clang/include/clang/Driver/Distro.h
M clang/lib/Driver/Distro.cpp
Log Message:
-----------
Add support of the next Ubuntu (Ubuntu 24.10 - Oracular Oriol)
Commit: 18058f2a32854d2d257cff47b28479b2ff425496
https://github.com/llvm/llvm-project/commit/18058f2a32854d2d257cff47b28479b2ff425496
Author: Youngsuk Kim <youngsuk.kim at hpe.com>
Date: 2024-05-02 (Thu, 02 May 2024)
Changed paths:
M llvm/lib/Support/GraphWriter.cpp
Log Message:
-----------
[llvm][GraphWriter] Resize std::string, instead of reassigning to substr (NFC)
* Don't call substr which creates a new string instance
* Only call string method if string length is larger than 140
Closes #90324
Commit: d129ea8d2fa347e63deec0791faf389b84f20ce1
https://github.com/llvm/llvm-project/commit/d129ea8d2fa347e63deec0791faf389b84f20ce1
Author: Vitaly Buka <vitalybuka at google.com>
Date: 2024-05-02 (Thu, 02 May 2024)
Changed paths:
M libcxx/include/string
Log Message:
-----------
[libcxx] Align `__recommend() + 1` by __endian_factor (#90292)
This is detected by asan after #83774
Allocation size will be divided by `__endian_factor` before storing. If
it's not aligned,
we will not be able to recover allocation size to pass into
`__alloc_traits::deallocate`.
we have code like this
```
auto __allocation = std::__allocate_at_least(__alloc(), __recommend(__sz) + 1);
__p = __allocation.ptr;
__set_long_cap(__allocation.count);
void __set_long_cap(size_type __s) _NOEXCEPT {
__r_.first().__l.__cap_ = __s / __endian_factor;
__r_.first().__l.__is_long_ = true;
}
size_type __get_long_cap() const _NOEXCEPT {
return __r_.first().__l.__cap_ * __endian_factor;
}
inline ~basic_string() {
__annotate_delete();
if (__is_long())
__alloc_traits::deallocate(__alloc(), __get_long_pointer(), __get_long_cap());
}
```
1. __recommend() -> even size
2. `std::__allocate_at_least(__alloc(), __recommend(__sz) + 1)` - > not
even size
3. ` __set_long_cap() `- > lose one bit of size for __endian_factor == 2
(see `/ __endian_factor`)
4. `__alloc_traits::deallocate(__alloc(), __get_long_pointer(),
__get_long_cap())` -> uses even size (see `__get_long_cap`)
Commit: 26060de06378375f784b35df80ec6d43425e5908
https://github.com/llvm/llvm-project/commit/26060de06378375f784b35df80ec6d43425e5908
Author: Valentin Clement (バレンタイン クレメン) <clementval at gmail.com>
Date: 2024-05-02 (Thu, 02 May 2024)
Changed paths:
M flang/include/flang/Optimizer/Builder/FIRBuilder.h
M flang/include/flang/Semantics/tools.h
M flang/lib/Lower/ConvertVariable.cpp
M flang/lib/Optimizer/Builder/FIRBuilder.cpp
M flang/lib/Optimizer/Dialect/FIROps.cpp
M flang/test/Lower/CUDA/cuda-data-attribute.cuf
Log Message:
-----------
[flang][cuda] Lower device/managed/unified allocation to cuda ops (#90623)
Lower locals allocation of cuda device, managed and unified variables to
fir.cuda_alloc. Add fir.cuda_free in the function context finalization.
@vzakhari For some reason the PR #90526 has been closed when I merged PR
#90525. Just reopening one.
Commit: 0c2a508f4da225262a8d2a224e576bc507bf5e0b
https://github.com/llvm/llvm-project/commit/0c2a508f4da225262a8d2a224e576bc507bf5e0b
Author: Eric Fiselier <eric at efcs.ca>
Date: 2024-05-02 (Thu, 02 May 2024)
Changed paths:
M libcxx/utils/ci/docker-compose.yml
Log Message:
-----------
Bump actions runner image used for libc++'s builders.
The builders are not producing warnings about the runner version being
out of date. This is an attempt to fix that.
Commit: 39172bcfe4ca6f4db09da0f76a3e324dd3888a51
https://github.com/llvm/llvm-project/commit/39172bcfe4ca6f4db09da0f76a3e324dd3888a51
Author: Chris B <chris.bieneman at me.com>
Date: 2024-05-02 (Thu, 02 May 2024)
Changed paths:
M clang/lib/AST/ASTContext.cpp
M clang/lib/Basic/TargetInfo.cpp
M clang/lib/Basic/Targets/DirectX.h
A clang/test/SemaHLSL/Types/Arithmetic/half_size.hlsl
Log Message:
-----------
[HLSL] Cleanup TargetInfo handling (#90694)
We had some odd places where we set target behaviors. We were setting
the long size in target-specific code, but it should be language-based.
We were not setting the Half float type semantics correctly, and instead
were overriding the query in the AST context.
This change it moves existing code to the right places in the Target so
that as we continue working on target and language feature they are
controlled in the right places.
It also fixes a bug where the size of `half` was computed incorrectly
when native half types are not supported.
Commit: 4113e15153d5af39a12c6bcf16e6b35614dc13a2
https://github.com/llvm/llvm-project/commit/4113e15153d5af39a12c6bcf16e6b35614dc13a2
Author: Michael Buch <michaelbuch12 at gmail.com>
Date: 2024-05-02 (Thu, 02 May 2024)
Changed paths:
M clang/lib/CodeGen/CodeGenFunction.h
A clang/test/Profile/debug-info-instr_profile_switch.cpp
Log Message:
-----------
[clang][PGO] Apply artificial DebugLoc to llvm.instrprof.increment instructions (#90717)
Prior to this change the debug-location for the
`llvm.instrprof.increment` intrinsic was set to whatever the current
DIBuilder's current debug location was set to. This meant that for
switch-statements, a counter's location was set to the previous case's
debug-location, causing confusing stepping behaviour in debuggers. This
patch makes sure we attach a dummy debug-location for the increment
instructions.
rdar://123050737
Commit: 954d00e87cdd77d0e9e367be52e62340467bd779
https://github.com/llvm/llvm-project/commit/954d00e87cdd77d0e9e367be52e62340467bd779
Author: Jason Molenda <jmolenda at apple.com>
Date: 2024-05-02 (Thu, 02 May 2024)
Changed paths:
M lldb/source/Plugins/ObjectFile/Mach-O/ObjectFileMachO.cpp
Log Message:
-----------
[lldb] MachO delay-init binaries don't load as dependent
Commit: 9dca7dde3ff2e1471ef4fc145b56d7bea4d06ae8
https://github.com/llvm/llvm-project/commit/9dca7dde3ff2e1471ef4fc145b56d7bea4d06ae8
Author: Anlun Xu <anlunx at google.com>
Date: 2024-05-02 (Thu, 02 May 2024)
Changed paths:
M utils/bazel/llvm-project-overlay/mlir/BUILD.bazel
Log Message:
-----------
Fix MLIR BUILD
Commit: 2d15855adf6afac3f4171a24fd18b65a32eedf78
https://github.com/llvm/llvm-project/commit/2d15855adf6afac3f4171a24fd18b65a32eedf78
Author: Jason Molenda <jmolenda at apple.com>
Date: 2024-05-02 (Thu, 02 May 2024)
Changed paths:
M lldb/tools/debugserver/source/MacOSX/MachProcess.mm
M lldb/tools/debugserver/source/MacOSX/arm64/DNBArchImplARM64.cpp
Log Message:
-----------
[lldb] [debugserver] address preprocessor warning, extra arg (#90808)
In DNBArchImplARM64.cpp I'm doing
```
#if __has_feature(ptrauth_calls) && defined(__LP64__)
```
And the preprocessor warns that this is not defined behavior. This
checks if ptrauth_calls is available and if this is being compiled
64-bit (i.e. arm64e), and defines a single DEBUGSERVER_IS_ARM64E when
those are both true.
I did have to duplicate one DNBLogThreaded() call which itself is a
macro, and using an ifdef in the middle of macro arguments also got me a
warning from the preprocessor.
While testing this for all the different targets, I found a DNBError
initialization that accepts a c-string but I'm passing in a printf-style
formatter c-string and an argument. Create the string before the call
and pass in the constructed string.
rdar://127129242
Commit: a7e9e3eb8b44bc3a6f14f0af71e555e2cac6ef41
https://github.com/llvm/llvm-project/commit/a7e9e3eb8b44bc3a6f14f0af71e555e2cac6ef41
Author: Jonas Devlieghere <jonas at devlieghere.com>
Date: 2024-05-02 (Thu, 02 May 2024)
Changed paths:
M lldb/include/lldb/Host/Host.h
M lldb/source/Host/common/Host.cpp
M lldb/source/Host/macosx/objcxx/Host.mm
Log Message:
-----------
[lldb] Add a log level to Host::SystemLog (#90904)
Add the ability to specify a log level to Host::SystemLog.
Commit: 83fdcf234ff37f3e3c2f99fb8de9b9996fdd7f49
https://github.com/llvm/llvm-project/commit/83fdcf234ff37f3e3c2f99fb8de9b9996fdd7f49
Author: Vitaly Buka <vitalybuka at google.com>
Date: 2024-05-02 (Thu, 02 May 2024)
Changed paths:
M llvm/lib/Transforms/Instrumentation/MemorySanitizer.cpp
M llvm/test/Instrumentation/MemorySanitizer/vscale.ll
Log Message:
-----------
[msan] Fix vscale alloca poisoning (#90912)
Commit: 9058ce523a7300c68eeedf3fbd170cd18b73f27f
https://github.com/llvm/llvm-project/commit/9058ce523a7300c68eeedf3fbd170cd18b73f27f
Author: Vitaly Buka <vitalybuka at google.com>
Date: 2024-05-02 (Thu, 02 May 2024)
Changed paths:
M llvm/test/Instrumentation/MemorySanitizer/vscale.ll
Log Message:
-----------
[msan] Add vscale origin test
Commit: ff210b94d449de8ebe1f32cf0d7763ba63b27b39
https://github.com/llvm/llvm-project/commit/ff210b94d449de8ebe1f32cf0d7763ba63b27b39
Author: Pavel Iliin <Pavel.Iliin at arm.com>
Date: 2024-05-03 (Fri, 03 May 2024)
Changed paths:
M clang/test/CodeGen/attr-target-clones-aarch64.c
Log Message:
-----------
[FMV][NFC] Add test for bti and mte check in resolver.
Commit: 18707f53d6d2665634373847a0e9bdcbcac88c57
https://github.com/llvm/llvm-project/commit/18707f53d6d2665634373847a0e9bdcbcac88c57
Author: Michael Buch <michaelbuch12 at gmail.com>
Date: 2024-05-03 (Fri, 03 May 2024)
Changed paths:
M clang/test/Profile/debug-info-instr_profile_switch.cpp
Log Message:
-----------
[clang][PGO][test] Relax FileCheck patterns in debug-info-instr_profile_switch.cpp (#90916)
Caused build-bot failures on various platforms.
Commit: 3016c0636fd2df86d2c1dc8e7d49efe77a1bdedf
https://github.com/llvm/llvm-project/commit/3016c0636fd2df86d2c1dc8e7d49efe77a1bdedf
Author: Vitaly Buka <vitalybuka at google.com>
Date: 2024-05-02 (Thu, 02 May 2024)
Changed paths:
M llvm/lib/Transforms/Instrumentation/MemorySanitizer.cpp
M llvm/test/Instrumentation/MemorySanitizer/vector-load-store.ll
M llvm/test/Instrumentation/MemorySanitizer/vscale.ll
Log Message:
-----------
[NFCI][msan] Use IntPtr for vscales origin for consistency (#90920)
Commit: ff0d09c4965d529c24e49823bab654d39dc20d07
https://github.com/llvm/llvm-project/commit/ff0d09c4965d529c24e49823bab654d39dc20d07
Author: alx32 <103613512+alx32 at users.noreply.github.com>
Date: 2024-05-02 (Thu, 02 May 2024)
Changed paths:
M lld/MachO/ObjC.cpp
Log Message:
-----------
[lld-macho][NFC] Simplify category merging code (#90856)
We modify category merging code to simplify it, as follows:
- We can simplify InfoWriteSection to not be templated - this is not
really necessary.
- We remove PointerListInfo::categoryOffset as it is not used.
Commit: aae3835ecdf598e212d73265a6bea9e50187b546
https://github.com/llvm/llvm-project/commit/aae3835ecdf598e212d73265a6bea9e50187b546
Author: alx32 <103613512+alx32 at users.noreply.github.com>
Date: 2024-05-02 (Thu, 02 May 2024)
Changed paths:
M lld/MachO/ObjC.cpp
M lld/test/MachO/objc-category-merging-complete-test.s
M lld/test/MachO/objc-category-merging-extern-class-minimal.s
Log Message:
-----------
[lld-macho] Make category merging symbol names match ld64 (#90864)
When generating symbols for various category constructs, make sure the
symbol names match the format of those generated by ld64 when it does
category merging.
Commit: 6d7d8e5b59cb0a66765ccf657814ae6039e27931
https://github.com/llvm/llvm-project/commit/6d7d8e5b59cb0a66765ccf657814ae6039e27931
Author: Volodymyr Sapsai <vsapsai at apple.com>
Date: 2024-05-02 (Thu, 02 May 2024)
Changed paths:
M clang/lib/Serialization/ASTReaderDecl.cpp
A clang/test/Modules/odr_hash-enum.c
Log Message:
-----------
[Modules] Detect ODR mismatches for enums in non-C++ like in C++. (#90298)
There is no reason for C and Objective-C to differ from C++ in this
matter.
rdar://85531830
Commit: 1949856126df50c0ea4ee2f507d24613bd54824a
https://github.com/llvm/llvm-project/commit/1949856126df50c0ea4ee2f507d24613bd54824a
Author: Aart Bik <ajcbik at google.com>
Date: 2024-05-02 (Thu, 02 May 2024)
Changed paths:
M mlir/lib/Dialect/SparseTensor/Pipelines/SparseTensorPipelines.cpp
Log Message:
-----------
[mlir][sparse] add linalg elt-wise fusion to sparsifier pipeline (#90924)
yields better IR in general, and all end-to-end tests pass!
Commit: fd3e7e3a1e661482f46cd0347d0fa62adef30177
https://github.com/llvm/llvm-project/commit/fd3e7e3a1e661482f46cd0347d0fa62adef30177
Author: Phoebe Wang <phoebe.wang at intel.com>
Date: 2024-05-03 (Fri, 03 May 2024)
Changed paths:
M llvm/lib/Target/X86/X86ISelLowering.cpp
M llvm/lib/Target/X86/X86InstrAVX512.td
M llvm/lib/Target/X86/X86InstrSSE.td
M llvm/test/CodeGen/X86/vector-llrint.ll
M llvm/test/CodeGen/X86/vector-lrint.ll
Log Message:
-----------
[X86] Adding lowerings for vector ISD::LRINT and ISD::LLRINT (#90065)
- [V]CVTP[D,S]2DQ supports `f64/f32` -> `i32` conversions that can be
mapped to `llvm.lrint.vNi32.vNf64/32` since SSE2. AVX and AVX512 added
256-bit and 512-bit support;
- VCVTP[D,S]2QQ supports `f64/f32` -> `i64` conversions that can be
mapped to `llvm.l[l]rint.vNi64.vNf64/32` since AVX512DQ. All 128-bit,
256-bit (require AVX512VL) and 512-bit are supported.
Commit: fc83eda46ed2e8d6e121cc9b3c04669651e23ad0
https://github.com/llvm/llvm-project/commit/fc83eda46ed2e8d6e121cc9b3c04669651e23ad0
Author: Peiming Liu <peiming at google.com>
Date: 2024-05-02 (Thu, 02 May 2024)
Changed paths:
M mlir/lib/Dialect/Linalg/Transforms/ElementwiseOpFusion.cpp
M mlir/lib/Dialect/SparseTensor/Utils/Merger.cpp
M mlir/test/Dialect/SparseTensor/sparse_fusion.mlir
Log Message:
-----------
[mlir][sparse] make sparse compiler more admissible. (#90927)
Commit: b0eeacb20379f6d80079793b8461f56c240e6570
https://github.com/llvm/llvm-project/commit/b0eeacb20379f6d80079793b8461f56c240e6570
Author: Nikita Popov <npopov at redhat.com>
Date: 2024-05-03 (Fri, 03 May 2024)
Changed paths:
M llvm/include/llvm/IR/PatternMatch.h
M llvm/lib/Transforms/InstCombine/InstCombineCompares.cpp
M llvm/test/Transforms/InstCombine/icmp-of-trunc-ext.ll
Log Message:
-----------
[InstCombine] Fold icmp of trunc nuw/nsw (#90436)
Convert the existing foldICmpTruncWithTruncOrExt() fold to work with
trunc nowrap flags instead of computeKnownBits(). This also allows us to
generalize the fold to work with signed comparisons.
Interestingly, apart from the obvious combinations like signed
predicates with trunc nsw, some non-obvious ones are also legal. For
example for unsigned predicates we can do the transform for two trunc
nsw as well (rather than only trunc nuw).
Proofs: https://alive2.llvm.org/ce/z/ndewwK
Commit: 43a38e2759e81beaf41224a58c04b9db603e62aa
https://github.com/llvm/llvm-project/commit/43a38e2759e81beaf41224a58c04b9db603e62aa
Author: Vitaly Buka <vitalybuka at google.com>
Date: 2024-05-02 (Thu, 02 May 2024)
Changed paths:
M llvm/lib/Analysis/MemoryBuiltins.cpp
M llvm/test/Instrumentation/BoundsChecking/simple.ll
Log Message:
-----------
[BoundsChecking] Handle vscale allocas (#90926)
Commit: d2af1ea81dd0170133c53ebd67c9a9be125dfd31
https://github.com/llvm/llvm-project/commit/d2af1ea81dd0170133c53ebd67c9a9be125dfd31
Author: Owen Pan <owenpiano at gmail.com>
Date: 2024-05-02 (Thu, 02 May 2024)
Changed paths:
M clang/lib/Format/UnwrappedLineParser.cpp
Log Message:
-----------
[clang-format][NFC] Minor improvement to parseLabel()
Commit: b62c45cfe514237f71a7f461ba283dd13a92bfe0
https://github.com/llvm/llvm-project/commit/b62c45cfe514237f71a7f461ba283dd13a92bfe0
Author: jyu2-git <jennifer.yu at intel.com>
Date: 2024-05-02 (Thu, 02 May 2024)
Changed paths:
M clang/lib/Parse/ParseOpenMP.cpp
Log Message:
-----------
Fix sanitize problem. (#90800)
Currently isMapType could return OpenMPMapModifierKind.
The change is to return OpenMPMapTypeKind only, if it is not MapType
Kind OMPC_MAP_unknown is returned.
Commit: 6b948705a05261a2ff31cd7e6ea8319d1852ddfc
https://github.com/llvm/llvm-project/commit/6b948705a05261a2ff31cd7e6ea8319d1852ddfc
Author: Franklin Zhang <zhangfenglei at huawei.com>
Date: 2024-05-03 (Fri, 03 May 2024)
Changed paths:
M llvm/include/llvm/Analysis/ValueTracking.h
M llvm/include/llvm/Transforms/AggressiveInstCombine/AggressiveInstCombine.h
M llvm/lib/Analysis/ValueTracking.cpp
M llvm/lib/Transforms/AggressiveInstCombine/AggressiveInstCombine.cpp
R llvm/test/Transforms/AggressiveInstCombine/strcmp.ll
A llvm/test/Transforms/AggressiveInstCombine/strncmp-1.ll
A llvm/test/Transforms/AggressiveInstCombine/strncmp-2.ll
Log Message:
-----------
[AggressiveInstCombine] Inline strcmp/strncmp (#89371)
Inline calls to strcmp(s1, s2) and strncmp(s1, s2, N), where N and
exactly one of s1 and s2 are constant.
For example:
```c
int res = strcmp(s, "ab");
```
is converted to
```c
int res = (int)s[0] - (int)'a';
if (res != 0)
goto END;
res = (int)s[1] - (int)'b';
if (res != 0)
goto END;
res = (int)s[2] - (int)'\0';
END:
```
Ported from a similar gcc feature [Inline strcmp with small constant
strings](https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78809).
Commit: 37f6ba4fb2db2c78cda7d0a69cd0a2eff2b924e3
https://github.com/llvm/llvm-project/commit/37f6ba4fb2db2c78cda7d0a69cd0a2eff2b924e3
Author: NimishMishra <42909663+NimishMishra at users.noreply.github.com>
Date: 2024-05-02 (Thu, 02 May 2024)
Changed paths:
M flang/include/flang/Lower/AbstractConverter.h
M flang/lib/Lower/Bridge.cpp
M flang/lib/Lower/OpenMP/DataSharingProcessor.cpp
M flang/lib/Lower/OpenMP/DataSharingProcessor.h
M flang/test/Lower/OpenMP/default-clause-byref.f90
M flang/test/Lower/OpenMP/default-clause.f90
Log Message:
-----------
[flang][OpenMP] Fix construct privatization in default clause (#72510)
Current implementation of default clause privatization incorrectly fails
to privatize in presence of non-OpenMP constructs (i.e. nested
constructs with regions whose symbols need to be privatized in the scope
of the parent OpenMP construct). This patch fixes the same by
considering non-OpenMP constructs separately by collecting symbols of a
nested region if it is a non-OpenMP construct with a region, and
privatizing it in the scope of the parent OpenMP construct.
Fixes https://github.com/llvm/llvm-project/issues/71914 and
https://github.com/llvm/llvm-project/issues/71915
Commit: e8cda376a74c50e9f640d26ed36a369b924685ed
https://github.com/llvm/llvm-project/commit/e8cda376a74c50e9f640d26ed36a369b924685ed
Author: Christian Sigg <csigg at google.com>
Date: 2024-05-03 (Fri, 03 May 2024)
Changed paths:
M utils/bazel/llvm-project-overlay/llvm/unittests/BUILD.bazel
Log Message:
-----------
[llvm][bazel] Fix BUILD after dcf376aae738252fb52a73bcf7f58fd030e15ee2.
Commit: 4ad696231bc7d398c0f4430e60cfc6ab4c7e880e
https://github.com/llvm/llvm-project/commit/4ad696231bc7d398c0f4430e60cfc6ab4c7e880e
Author: Christian Sigg <csigg at google.com>
Date: 2024-05-03 (Fri, 03 May 2024)
Changed paths:
M mlir/test/Dialect/Transform/irdl.mlir
Log Message:
-----------
[mlir] Fix test added in 105c992c83aa527c6c50d60becd4d66b476b0a32.
Commit: f8fedfb6802173372ec923f99f31d4af810fbcb0
https://github.com/llvm/llvm-project/commit/f8fedfb6802173372ec923f99f31d4af810fbcb0
Author: Pavel Labath <pavel at labath.sk>
Date: 2024-05-03 (Fri, 03 May 2024)
Changed paths:
M lldb/packages/Python/lldbsuite/test/make/Makefile.rules
Log Message:
-----------
[lldb] Fix TestSharedLibStrippedSymbols for #90622
`ifeq` needs to be at the beginning of a line, otherwise it's
interpreted as part of the recipe.
Commit: 922ab7089b2eb234afa6fa0e7db85110cd8a3351
https://github.com/llvm/llvm-project/commit/922ab7089b2eb234afa6fa0e7db85110cd8a3351
Author: Kareem Ergawy <kareem.ergawy at amd.com>
Date: 2024-05-03 (Fri, 03 May 2024)
Changed paths:
M llvm/lib/Frontend/OpenMP/OMPIRBuilder.cpp
M mlir/lib/Target/LLVMIR/Dialect/OpenMP/OpenMPToLLVMIRTranslation.cpp
A mlir/test/Target/LLVMIR/openmp-omp.private-dealloc.mlir
Log Message:
-----------
[MLIR][OpenMP] Extend omp.private materialization support: `dealloc` (#90841)
Extends current support for delayed privatization during translation to
LLVM IR. This adds support for materlizaing the `dealloc` region in
`omp.private` ops when this region contains clean-up/deallocation logic
that needs to be executed at the end of the parallel region.
This changes the `OMPIRBuilder` slightly to execute the finalization
callback **after** the privatization callback. This allows us to collect
information about privatized variables on the MLIR and LLVM sides so
that we can properly emit deallocation logic.
Commit: b03e7a51dd9be2f3be09062a7762dd3507b04b26
https://github.com/llvm/llvm-project/commit/b03e7a51dd9be2f3be09062a7762dd3507b04b26
Author: Vitaly Buka <vitalybuka at google.com>
Date: 2024-05-03 (Fri, 03 May 2024)
Changed paths:
M llvm/test/Instrumentation/HWAddressSanitizer/alloca.ll
Log Message:
-----------
[HWASAN] Regenerate a test (#90943)
Commit: e450f987286b983328e0b9e65630b656dec291de
https://github.com/llvm/llvm-project/commit/e450f987286b983328e0b9e65630b656dec291de
Author: Pavel Labath <pavel at labath.sk>
Date: 2024-05-03 (Fri, 03 May 2024)
Changed paths:
M lldb/source/Utility/Scalar.cpp
M lldb/test/API/python_api/type/TestTypeList.py
M lldb/test/API/python_api/type/main.cpp
M lldb/unittests/Utility/ScalarTest.cpp
Log Message:
-----------
[lldb] Fix Scalar::GetData for non-multiple-of-8-bits values (#90846)
It was aligning the byte size down. Now it aligns up. This manifested
itself as SBTypeStaticField::GetConstantValue returning a zero-sized
value for `bool` fields (because clang represents bool as a 1-bit
value).
I've changed the code for float Scalars as well, although I'm not aware
of floating point values that are not multiples of 8 bits.
Commit: 70b5a22678cf38982086762b0b2ec02eb8f9dbc2
https://github.com/llvm/llvm-project/commit/70b5a22678cf38982086762b0b2ec02eb8f9dbc2
Author: Vitaly Buka <vitalybuka at google.com>
Date: 2024-05-03 (Fri, 03 May 2024)
Changed paths:
M llvm/lib/Transforms/Utils/MemoryTaggingSupport.cpp
M llvm/test/Instrumentation/HWAddressSanitizer/alloca.ll
Log Message:
-----------
[hwasan] Don't crash on vscale allocas (#90932)
getAllocaSizeInBytes will crash casting size to
constant.
Commit: 9731b77e80261c627d79980f8c275700bdaf6591
https://github.com/llvm/llvm-project/commit/9731b77e80261c627d79980f8c275700bdaf6591
Author: Matt Arsenault <Matthew.Arsenault at amd.com>
Date: 2024-05-03 (Fri, 03 May 2024)
Changed paths:
M llvm/docs/AMDGPUUsage.rst
M llvm/docs/LangRef.rst
M llvm/docs/ReleaseNotes.rst
M llvm/lib/Target/AMDGPU/SIISelLowering.cpp
M llvm/lib/Target/AMDGPU/SIISelLowering.h
M llvm/lib/Target/AMDGPU/SIModeRegisterDefaults.cpp
M llvm/lib/Target/AMDGPU/SIModeRegisterDefaults.h
A llvm/test/CodeGen/AMDGPU/llvm.set.rounding.ll
Log Message:
-----------
AMDGPU: Implement llvm.set.rounding (#88587)
Use a shift of a magic constant and some offseting to convert from
flt_rounds values.
I don't know why the enum defines Dynamic = 7. The standard suggests -1
is the cannot determine value. If we could start the extended values at
4 we wouldn't need the extra compare sub and select.
https://reviews.llvm.org/D153257
Commit: 44648ccb8b7e68a5c259ec857fd4041fdd41c588
https://github.com/llvm/llvm-project/commit/44648ccb8b7e68a5c259ec857fd4041fdd41c588
Author: Carl Ritson <carl.ritson at amd.com>
Date: 2024-05-03 (Fri, 03 May 2024)
Changed paths:
M llvm/lib/Target/AMDGPU/AMDGPUAsmPrinter.cpp
M llvm/test/CodeGen/AMDGPU/pal-metadata-3.0.ll
Log Message:
-----------
[AMDGPU] Always emit lds_size in PAL ELF Metadata 3.0 (#87222)
Emit lds_size for all shader types in PAL metadata.
Commit: 6535e7a4004ebc45e9e544acab3ea4b421e0b5a9
https://github.com/llvm/llvm-project/commit/6535e7a4004ebc45e9e544acab3ea4b421e0b5a9
Author: Matt Arsenault <Matthew.Arsenault at amd.com>
Date: 2024-05-03 (Fri, 03 May 2024)
Changed paths:
M llvm/test/CodeGen/SystemZ/copy-phys-reg-gr128-to-vr128.mir
Log Message:
-----------
SystemZ: Remove redundant copy tests from 75f4baa70
Commit: edbe6ebb4dbc5a8e3207733c5fadd15da9b83fc9
https://github.com/llvm/llvm-project/commit/edbe6ebb4dbc5a8e3207733c5fadd15da9b83fc9
Author: Matt Arsenault <Matthew.Arsenault at amd.com>
Date: 2024-05-03 (Fri, 03 May 2024)
Changed paths:
M llvm/lib/CodeGen/SelectionDAG/LegalizeFloatTypes.cpp
M llvm/lib/Target/SystemZ/SystemZISelLowering.cpp
M llvm/test/CodeGen/SystemZ/atomic-store-08.ll
Log Message:
-----------
SystemZ: Don't promote atomic store in IR (#90899)
This is the mirror to the recent atomic load change. The same
bitcast-back-to-integer case is a small code quality regression for the
same reason. This would disappear with a bitcastable legal 128-bit type.
Commit: e4b04b391ffcde180f9a8b1b83309b2163b44ce3
https://github.com/llvm/llvm-project/commit/e4b04b391ffcde180f9a8b1b83309b2163b44ce3
Author: Oleksandr "Alex" Zinenko <git at ozinenko.com>
Date: 2024-05-03 (Fri, 03 May 2024)
Changed paths:
M mlir/include/mlir/Dialect/Transform/IR/TransformOps.td
M mlir/include/mlir/Dialect/Transform/Interfaces/TransformInterfaces.h
M mlir/lib/Dialect/Transform/IR/TransformOps.cpp
M mlir/lib/Dialect/Transform/Interfaces/TransformInterfaces.cpp
M mlir/test/Dialect/Transform/foreach-match.mlir
M mlir/test/Dialect/Transform/ops-invalid.mlir
Log Message:
-----------
[mlir] make transform.foreach_match forward arguments (#89920)
It may be useful to have access to additional handles or parameters when
performing matches and actions in `foreach_match`, for example, to
parameterize the matcher by rank or restrict it in a non-trivial way.
Enable `foreach_match` to forward additional handles from operands to
matcher symbols and from action symbols to results.
Commit: 8480c93e36b33c237540e20c97cda8fb3d196f1f
https://github.com/llvm/llvm-project/commit/8480c93e36b33c237540e20c97cda8fb3d196f1f
Author: YanzuoLiu <zwuis at outlook.com>
Date: 2024-05-03 (Fri, 03 May 2024)
Changed paths:
M clang/docs/ReleaseNotes.rst
M clang/include/clang/Basic/DiagnosticSemaKinds.td
M clang/lib/Sema/SemaExpr.cpp
M clang/test/CXX/expr/expr.unary/expr.unary.op/p4.cpp
Log Message:
-----------
[clang] pointer to member with qualified-id enclosed in parentheses in unevaluated context should be invalid (#89713)
clang don't check whether the operand of the & operator is enclosed in
parantheses when pointer to member is formed in unevaluated context, for
example:
```cpp
struct foo { int val; };
int main() { decltype(&(foo::val)) ptr; }
```
`decltype(&(foo::val))` should be invalid, but clang accepts it. This PR
fixes this issue.
Fixes #40906.
---------
Co-authored-by: cor3ntin <corentinjabot at gmail.com>
Commit: ed299b3efd669c02fa37773d1ae49fca3556f729
https://github.com/llvm/llvm-project/commit/ed299b3efd669c02fa37773d1ae49fca3556f729
Author: Pierre van Houtryve <pierre.vanhoutryve at amd.com>
Date: 2024-05-03 (Fri, 03 May 2024)
Changed paths:
M llvm/include/llvm/CodeGen/GlobalISel/GIMatchTableExecutor.h
M llvm/include/llvm/CodeGen/GlobalISel/GIMatchTableExecutorImpl.h
M llvm/include/llvm/Support/Compiler.h
M llvm/unittests/CodeGen/GlobalISel/CMakeLists.txt
A llvm/unittests/CodeGen/GlobalISel/GIMatchTableExecutorTest.cpp
M llvm/utils/TableGen/Common/GlobalISel/GlobalISelMatchTable.cpp
Log Message:
-----------
[GlobalISel] Optimize ULEB128 usage (#90565)
- Remove some cases where ULEB128 isn't needed
- Add a fastDecodeULEB128 tailored for GlobalISel which does unchecked
decoding optimized for the common case, which is 1 byte values. We
rarely have >1 byte Inst IDs, OpIdx, etc. and those are the most common
ULEB users by far.
This specific LEB128 decode function generates almost 2x less
instructions than the generic one.
Commit: e47d7c697572a577b14fef7a1f44d779e4394af5
https://github.com/llvm/llvm-project/commit/e47d7c697572a577b14fef7a1f44d779e4394af5
Author: Simon Pilgrim <llvm-dev at redking.me.uk>
Date: 2024-05-03 (Fri, 03 May 2024)
Changed paths:
M llvm/lib/Target/AMDGPU/AMDGPUInsertSingleUseVDST.cpp
Log Message:
-----------
Fix MSVC signed/unsigned mismatch warning. NFC.
Commit: 7c64b53932b7f719a34a9edd89cc65b8e3c32167
https://github.com/llvm/llvm-project/commit/7c64b53932b7f719a34a9edd89cc65b8e3c32167
Author: LLVM GN Syncbot <llvmgnsyncbot at gmail.com>
Date: 2024-05-03 (Fri, 03 May 2024)
Changed paths:
M llvm/utils/gn/secondary/llvm/unittests/CodeGen/GlobalISel/BUILD.gn
Log Message:
-----------
[gn build] Port ed299b3efd66
Commit: b4e751e2ab0ff152ed18dea59ebf9691e963e1dd
https://github.com/llvm/llvm-project/commit/b4e751e2ab0ff152ed18dea59ebf9691e963e1dd
Author: Matt Arsenault <Matthew.Arsenault at amd.com>
Date: 2024-05-03 (Fri, 03 May 2024)
Changed paths:
M llvm/lib/Target/AMDGPU/SIISelLowering.cpp
M llvm/test/CodeGen/AMDGPU/llvm.set.rounding.ll
Log Message:
-----------
AMDGPU: Optimize set_rounding if input is known to fit in 2 bits (#88588)
We don't need to figure out the weird extended rounding modes or
handle offsets to keep the lookup table in 64-bits.
https://reviews.llvm.org/D153258
Depends #88587
Commit: 385f59f9f570b77bf8bd636ba2f65a08a7227499
https://github.com/llvm/llvm-project/commit/385f59f9f570b77bf8bd636ba2f65a08a7227499
Author: Rin Dobrescu <irina.dobrescu at arm.com>
Date: 2024-05-03 (Fri, 03 May 2024)
Changed paths:
M llvm/include/llvm/MC/MCRegisterInfo.h
M llvm/lib/MCA/InstrBuilder.cpp
M llvm/test/tools/llvm-mca/AArch64/HiSilicon/tsv110-forwarding.s
A llvm/test/tools/llvm-mca/AArch64/Neoverse/V1-zero-dependency.s
M llvm/utils/TableGen/RegisterInfoEmitter.cpp
Log Message:
-----------
[llvm-mca] Teach MCA constant registers do not create dependencies (#89387)
Constant registers like the zero registers XZR and WZR are treated as
any other register by LLVM-MCA. This can create non existent dependency
chains.
Currently there is no method in MCA to query if a register is constant.
This patch fixes the issue by adding a bool Constant
variable to MCRegisterDesc that is true for constant registers. Since
constant registers do not create dependencies, it makes sense to add
this check to MCA.
Commit: 9f9856d623559bcd970b52167f7ac096d76b2659
https://github.com/llvm/llvm-project/commit/9f9856d623559bcd970b52167f7ac096d76b2659
Author: Matt Arsenault <Matthew.Arsenault at amd.com>
Date: 2024-05-03 (Fri, 03 May 2024)
Changed paths:
M llvm/test/CodeGen/AMDGPU/flat_atomics_i32_system.ll
M llvm/test/CodeGen/AMDGPU/flat_atomics_i64_system.ll
M llvm/test/CodeGen/AMDGPU/global_atomics_i32_system.ll
M llvm/test/CodeGen/AMDGPU/global_atomics_i64_system.ll
M llvm/test/CodeGen/AMDGPU/global_atomics_scan_fadd.ll
M llvm/test/CodeGen/AMDGPU/global_atomics_scan_fmax.ll
M llvm/test/CodeGen/AMDGPU/global_atomics_scan_fmin.ll
M llvm/test/Transforms/AtomicExpand/AMDGPU/expand-atomic-f32-system.ll
M llvm/test/Transforms/AtomicExpand/AMDGPU/expand-atomic-f64-system.ll
M llvm/test/Transforms/AtomicExpand/AMDGPU/expand-atomic-i32-system.ll
M llvm/test/Transforms/AtomicExpand/AMDGPU/expand-atomic-i64-system.ll
M llvm/test/Transforms/AtomicExpand/AMDGPU/expand-atomic-v2bf16-system.ll
M llvm/test/Transforms/AtomicExpand/AMDGPU/expand-atomic-v2f16-system.ll
M llvm/test/Transforms/AtomicExpand/AMDGPU/expand-atomicrmw-integer-ops-0-to-add-0.ll
M llvm/test/Transforms/InferAddressSpaces/AMDGPU/basic.ll
M llvm/test/Transforms/Inline/AMDGPU/inline-atomicrmw-md-preserve.ll
Log Message:
-----------
AMDGPU: Update name for amdgpu.no.remote.memory metadata
Commit: 4e67b5058ee54500c00844c3d2d26977e36eca1f
https://github.com/llvm/llvm-project/commit/4e67b5058ee54500c00844c3d2d26977e36eca1f
Author: Matt Arsenault <Matthew.Arsenault at amd.com>
Date: 2024-05-03 (Fri, 03 May 2024)
Changed paths:
M llvm/test/CodeGen/AMDGPU/idemponent-atomics.ll
A llvm/test/Transforms/AtomicExpand/AMDGPU/expand-atomic-f32-agent.ll
A llvm/test/Transforms/AtomicExpand/AMDGPU/expand-atomic-f64-agent.ll
M llvm/test/Transforms/AtomicExpand/AMDGPU/expand-atomic-i16.ll
A llvm/test/Transforms/AtomicExpand/AMDGPU/expand-atomic-i32-agent.ll
A llvm/test/Transforms/AtomicExpand/AMDGPU/expand-atomic-i64-agent.ll
A llvm/test/Transforms/AtomicExpand/AMDGPU/expand-atomic-v2bf16-agent.ll
A llvm/test/Transforms/AtomicExpand/AMDGPU/expand-atomic-v2f16-agent.ll
M llvm/test/Transforms/AtomicExpand/AMDGPU/expand-atomicrmw-integer-ops-0-to-add-0.ll
Log Message:
-----------
AMDGPU: Add more tests for atomicrmw handling
Add agent scope copies of atomicrmw atomics tests.
Expand testing for the undo identity atomicrmw case.
Test 16-bit atomic expansions.
Commit: fb1c2dbc0a6ba641e0b39e0692ec6a4ee4444c4b
https://github.com/llvm/llvm-project/commit/fb1c2dbc0a6ba641e0b39e0692ec6a4ee4444c4b
Author: David Spickett <david.spickett at linaro.org>
Date: 2024-05-03 (Fri, 03 May 2024)
Changed paths:
M clang/lib/AST/Interp/Descriptor.cpp
M clang/lib/AST/Interp/Descriptor.h
M clang/lib/AST/Interp/Interp.h
M clang/lib/AST/Interp/Program.cpp
M clang/test/AST/Interp/builtin-align-cxx.cpp
M clang/test/AST/Interp/c.c
Log Message:
-----------
Revert "Reapply "[clang][Interp] Create full type info for dummy pointers""
This reverts commit 1aeb64c8ec7b96b2301929d8a325a6e1d9ddaa2f.
Due to failures in 32 bit Arm builds:
https://lab.llvm.org/buildbot/#/builders/245/builds/24041
Commit: 6086f694df10b57b75ed05494832f61e1e2ad59f
https://github.com/llvm/llvm-project/commit/6086f694df10b57b75ed05494832f61e1e2ad59f
Author: whisperity <whisperity at gmail.com>
Date: 2024-05-03 (Fri, 03 May 2024)
Changed paths:
M clang-tools-extra/clang-tidy/cert/CERTTidyModule.cpp
M clang-tools-extra/docs/ReleaseNotes.rst
A clang-tools-extra/docs/clang-tidy/checks/cert/int09-c.rst
M clang-tools-extra/docs/clang-tidy/checks/list.rst
M clang-tools-extra/docs/clang-tidy/checks/readability/enum-initial-value.rst
Log Message:
-----------
[clang-tidy] Add 'cert-int09-c' alias for 'readability-enum-initial-value' (#90868)
The check's ruling exactly matches the corresponding CERT C
Recommendation, and, as such, worth a trivial alias.
Commit: 1efc1918502bd8c9cf2431af38d754878eac071a
https://github.com/llvm/llvm-project/commit/1efc1918502bd8c9cf2431af38d754878eac071a
Author: Youngsuk Kim <youngsuk.kim at hpe.com>
Date: 2024-05-03 (Fri, 03 May 2024)
Changed paths:
M clang/lib/Driver/ToolChains/Clang.cpp
Log Message:
-----------
[clang][Driver] Iterate with const reference (NFC)
Closes #90282
Commit: 256797e594427df308058a066669d6236d3add3f
https://github.com/llvm/llvm-project/commit/256797e594427df308058a066669d6236d3add3f
Author: Orlando Cazalet-Hyams <orlando.hyams at sony.com>
Date: 2024-05-03 (Fri, 03 May 2024)
Changed paths:
M llvm/include/llvm/IR/DebugProgramInstruction.h
Log Message:
-----------
[NFC][RemoveDIs] Fix some comments in DebugProgramInstruction.h
Commit: 2933ef2da9103122a52066a1c680046d1bdacaed
https://github.com/llvm/llvm-project/commit/2933ef2da9103122a52066a1c680046d1bdacaed
Author: Youngsuk Kim <youngsuk.kim at hpe.com>
Date: 2024-05-03 (Fri, 03 May 2024)
Changed paths:
M clang/lib/Driver/ToolChains/HIPUtility.cpp
Log Message:
-----------
[clang][HIPUtility] Iterate by const reference (NFC)
Closes #90284
Commit: bcdbd0bf50a3845130c5db9e3284f056233f12d7
https://github.com/llvm/llvm-project/commit/bcdbd0bf50a3845130c5db9e3284f056233f12d7
Author: Youngsuk Kim <youngsuk.kim at hpe.com>
Date: 2024-05-03 (Fri, 03 May 2024)
Changed paths:
M llvm/lib/Transforms/Instrumentation/DataFlowSanitizer.cpp
Log Message:
-----------
[llvm][DataFlowSanitizer] Don't pass vector by value (NFC)
Closes #89201
Commit: fc7e74e879f37301edd9450d3bbf0fec620338a6
https://github.com/llvm/llvm-project/commit/fc7e74e879f37301edd9450d3bbf0fec620338a6
Author: Simon Pilgrim <llvm-dev at redking.me.uk>
Date: 2024-05-03 (Fri, 03 May 2024)
Changed paths:
M llvm/lib/Target/X86/X86TargetTransformInfo.cpp
M llvm/test/Analysis/CostModel/X86/intrinsic-cost-kinds.ll
M llvm/test/Analysis/CostModel/X86/masked-intrinsic-codesize.ll
M llvm/test/Analysis/CostModel/X86/masked-intrinsic-latency.ll
M llvm/test/Analysis/CostModel/X86/masked-intrinsic-sizelatency.ll
M llvm/test/Analysis/CostModel/X86/shuffle-replication-i1-codesize.ll
M llvm/test/Analysis/CostModel/X86/shuffle-replication-i1-latency.ll
M llvm/test/Analysis/CostModel/X86/shuffle-replication-i1-sizelatency.ll
M llvm/test/Analysis/CostModel/X86/shuffle-replication-i16-codesize.ll
M llvm/test/Analysis/CostModel/X86/shuffle-replication-i16-latency.ll
M llvm/test/Analysis/CostModel/X86/shuffle-replication-i16-sizelatency.ll
M llvm/test/Analysis/CostModel/X86/shuffle-replication-i8-codesize.ll
M llvm/test/Analysis/CostModel/X86/shuffle-replication-i8-latency.ll
M llvm/test/Analysis/CostModel/X86/shuffle-replication-i8-sizelatency.ll
M llvm/test/Analysis/CostModel/X86/trunc-codesize.ll
M llvm/test/Analysis/CostModel/X86/trunc-latency.ll
M llvm/test/Analysis/CostModel/X86/trunc-sizelatency.ll
Log Message:
-----------
[CostModel][X86] getCastInstrCost - improve CostKind adjustment when splitting src/dst types
Noticed in #90883 review - for non-Throughput costs, we weren't applying the split count to '0 or 1' cost value.
This still doesn't work well as many of the type legalizations are hidden so we don't have the split count, really we need to move a CostKindCosts based costs table, but that's going to be a lot of work :/
Commit: 1d43cdc9f5bae92fefb996a98d1ca48878c1c28f
https://github.com/llvm/llvm-project/commit/1d43cdc9f5bae92fefb996a98d1ca48878c1c28f
Author: Alexey Bataev <a.bataev at outlook.com>
Date: 2024-05-03 (Fri, 03 May 2024)
Changed paths:
M llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
M llvm/lib/Transforms/Vectorize/VPlan.h
M llvm/lib/Transforms/Vectorize/VPlanTransforms.cpp
M llvm/test/Transforms/LoopVectorize/RISCV/vectorize-force-tail-with-evl-reverse-load-store.ll
Log Message:
-----------
[LV][EVL]Support reversed loads/stores.
Support for predicated vector reverse intrinsic was added some time ago.
Adds support for predicated reversed loads/stores in the loop
vectorizer.
Reviewers: fhahn
Reviewed By: fhahn
Pull Request: https://github.com/llvm/llvm-project/pull/88025
Commit: 18e7dcb7c5765d89e36af9a56354525efd685b83
https://github.com/llvm/llvm-project/commit/18e7dcb7c5765d89e36af9a56354525efd685b83
Author: Corentin Ferry <corentin.ferry at amd.com>
Date: 2024-05-03 (Fri, 03 May 2024)
Changed paths:
M mlir/lib/Conversion/ArithToEmitC/ArithToEmitC.cpp
A mlir/test/Conversion/ArithToEmitC/arith-to-emitc-unsupported.mlir
M mlir/test/Conversion/ArithToEmitC/arith-to-emitc.mlir
Log Message:
-----------
[mlir][emitc] Arith to EmitC: handle floating-point<->integer conversions (#87614)
Add support for floating-point to integer, integer to floating-point
conversions. Floating point conversions to 1-bit integer types are not
handled at the moment, as these don't map directly to boolean
conversions.
Commit: 91446e2aa687ec57ad88dc0df793d0c6e694a7c9
https://github.com/llvm/llvm-project/commit/91446e2aa687ec57ad88dc0df793d0c6e694a7c9
Author: Stephen Tozer <stephen.tozer at sony.com>
Date: 2024-05-03 (Fri, 03 May 2024)
Changed paths:
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:
-----------
Repply#2 "[RemoveDIs] Load into new debug info format by default in LLVM (#89799)"
Reapplies the original commit:
2f01fd99eb8c8ab3db9aba72c4f00e31e9e60a05
The previous application of this patch failed due to some missing
DbgVariableRecord support in clang, which has been added now by commit
8805465e.
This will probably break some downstream tools that don't already handle
debug records. If your downstream code breaks as a result of this
change, the simplest fix is to convert the module in question to the old
debug format before you process it, using
`Module::convertFromNewDbgValues()`. For more information about how to
handle debug records or about what has changed, see the migration
document:
https://llvm.org/docs/RemoveDIsDebugInfo.html
This reverts commit 4fd319ae273ed6c252f2067909c1abd9f6d97efa.
Commit: 5850f6ba9b2c14d8457c6e8455483a20b2bf3636
https://github.com/llvm/llvm-project/commit/5850f6ba9b2c14d8457c6e8455483a20b2bf3636
Author: agozillon <Andrew.Gozillon at amd.com>
Date: 2024-05-03 (Fri, 03 May 2024)
Changed paths:
M flang/lib/Semantics/resolve-directives.cpp
M flang/test/Semantics/OpenMP/map-clause.f90
Log Message:
-----------
[Flang][OpenMP] Parse and semantically analyze common blocks in map clauses correctly (#89847)
Currently, you cannot provide the common block syntax that you should be
able to provide for map clauses (and that you can for declare target)
e.g.:
` !$omp target map(tofrom: /var/)`
This PR seeks to change that and allow this syntax via a small tweak,
which may also allow a wider range of types to be provided without issue
as well via the utilisation of ResolveOmpObject a helper function used
by the majority of other OmpObject handling clauses.
A by product of this change, is that we now emit an error for the
following syntax, when provided to map clauses with an assumed size
array:
`!$omp target map(arr(:))`
This seems inline with the specification from what I understand of it
(do feel free to correct me if that is not your reading or I am
incorrect!) and other OpenMP compilers i.e. gfortran, ifx, ifort.
Commit: 642117105d4f7944b7944f9b2a6ba9993fb68ed9
https://github.com/llvm/llvm-project/commit/642117105d4f7944b7944f9b2a6ba9993fb68ed9
Author: cor3ntin <corentinjabot at gmail.com>
Date: 2024-05-03 (Fri, 03 May 2024)
Changed paths:
M clang/docs/ReleaseNotes.rst
M clang/include/clang/Driver/Options.td
M clang/lib/CodeGen/CGStmt.cpp
M clang/lib/CodeGen/CodeGenFunction.cpp
M clang/lib/CodeGen/CodeGenFunction.h
M clang/test/CodeGen/attr-mustprogress.c
M clang/test/CodeGenCXX/attr-mustprogress.cpp
M clang/www/cxx_status.html
Log Message:
-----------
[Clang] Implement P2809: Trivial infinite loops are not Undefined Behavior (#90066)
https://wg21.link/P2809R3
This is applied as a DR to C++11 (C++98 did not guarantee forward
progress and is left untouched)
As an extension (and to preserve existing behavior in C), we consider
all controlling expression that can be constant folded
in the front end, not just standard constant expressions.
Commit: fcf86cc577546946de97893c859dbb4836170f9b
https://github.com/llvm/llvm-project/commit/fcf86cc577546946de97893c859dbb4836170f9b
Author: Leandro Lupori <leandro.lupori at linaro.org>
Date: 2024-05-03 (Fri, 03 May 2024)
Changed paths:
M flang/test/Lower/OpenMP/default-clause.f90
Log Message:
-----------
[flang][OpenMP] Refactor nested default clause tests (#85978)
Split nested default clause tests into multiple subroutines, to
make it easier to find failures. While here, fix indentation of
the modified lines.
Commit: a48ebb8276408fa88cf7060ddc68f4eda1b62def
https://github.com/llvm/llvm-project/commit/a48ebb8276408fa88cf7060ddc68f4eda1b62def
Author: Florian Hahn <flo at fhahn.com>
Date: 2024-05-03 (Fri, 03 May 2024)
Changed paths:
M llvm/lib/Transforms/Vectorize/VPlan.h
M llvm/lib/Transforms/Vectorize/VPlanRecipes.cpp
M llvm/lib/Transforms/Vectorize/VPlanTransforms.cpp
Log Message:
-----------
[VPlan] Check type directly in ::isCanonical (NFC).
Directly check the type of the wide induction matches the canonical
induction.
Refactor suggested in and in preparation for
https://github.com/llvm/llvm-project/pull/89603
Commit: 70d11ffb58e415929d4825032af6333795c0b258
https://github.com/llvm/llvm-project/commit/70d11ffb58e415929d4825032af6333795c0b258
Author: Simon Pilgrim <llvm-dev at redking.me.uk>
Date: 2024-05-03 (Fri, 03 May 2024)
Changed paths:
A llvm/test/CodeGen/X86/pr90847.ll
Log Message:
-----------
[X86] Add test coverage for #90847
Commit: 81003f23f0361aeb05b98489ba659edad40506f8
https://github.com/llvm/llvm-project/commit/81003f23f0361aeb05b98489ba659edad40506f8
Author: Simon Pilgrim <llvm-dev at redking.me.uk>
Date: 2024-05-03 (Fri, 03 May 2024)
Changed paths:
M llvm/lib/Target/X86/X86ISelLowering.cpp
M llvm/test/CodeGen/X86/pr90847.ll
Log Message:
-----------
[X86] combineBitcastvxi1 - peek through FREEZE nodes when determining width of the original SETCC node
Fixes #90847
Commit: cd4287bc44fc614a336b5b283a484c402c44ca93
https://github.com/llvm/llvm-project/commit/cd4287bc44fc614a336b5b283a484c402c44ca93
Author: Jay Foad <jay.foad at amd.com>
Date: 2024-05-03 (Fri, 03 May 2024)
Changed paths:
M llvm/lib/Target/AMDGPU/SIMachineFunctionInfo.h
M llvm/test/CodeGen/AMDGPU/preserve-wwm-copy-dst-reg.ll
M llvm/test/CodeGen/AMDGPU/stack-realign.ll
M llvm/test/CodeGen/AMDGPU/whole-wave-register-copy.ll
M llvm/test/CodeGen/AMDGPU/whole-wave-register-spill.ll
Log Message:
-----------
[AMDGPU] Convert PrologEpilogSGPRSpills from DenseMap to sorted vector (#90957)
In practice PrologEpilogSGPRSpills never has more than 3 entries so
DenseMap is overkill. In addition this means that iteration happens in
register number order, instead of DenseMap's hashed order, so it will
not be affected by future patches that define new physical registers.
This should reduce future test case churn.
Commit: 327bfc971e4dce3f6798843c92406cda95c07ba1
https://github.com/llvm/llvm-project/commit/327bfc971e4dce3f6798843c92406cda95c07ba1
Author: David Spickett <david.spickett at linaro.org>
Date: 2024-05-03 (Fri, 03 May 2024)
Changed paths:
M lldb/packages/Python/lldbsuite/test/make/Makefile.rules
M lldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARF.cpp
M lldb/source/Plugins/SymbolLocator/CMakeLists.txt
M lldb/source/Plugins/SymbolVendor/ELF/SymbolVendorELF.cpp
R lldb/test/API/debuginfod/Normal/Makefile
R lldb/test/API/debuginfod/Normal/TestDebuginfod.py
R lldb/test/API/debuginfod/Normal/main.c
R lldb/test/API/debuginfod/SplitDWARF/Makefile
R lldb/test/API/debuginfod/SplitDWARF/TestDebuginfodDWP.py
R lldb/test/API/debuginfod/SplitDWARF/main.c
M lldb/test/API/lit.site.cfg.py.in
M lldb/test/CMakeLists.txt
Log Message:
-----------
Revert "[lldb] Fix TestSharedLibStrippedSymbols for #90622"
And "LLDB Debuginfod tests and a fix or two (#90622)".
f8fedfb6802173372ec923f99f31d4af810fbcb0 /
2d4acb086541577ac6ab3a140b9ceb9659ce7094
As it has caused a test failure on 32 bit Arm:
https://lab.llvm.org/buildbot/#/builders/17/builds/52580
Expr/TestStringLiteralExpr.test. The follow up did fix
lang/c/shared_lib_stripped_symbols/TestSharedLibStrippedSymbols.py
but not the other failure.
Commit: 9c8b0d4ef6308ca0a74151c14c01f972e8db8cda
https://github.com/llvm/llvm-project/commit/9c8b0d4ef6308ca0a74151c14c01f972e8db8cda
Author: Hans Wennborg <hans at chromium.org>
Date: 2024-05-03 (Fri, 03 May 2024)
Changed paths:
M clang-tools-extra/test/clang-tidy/infrastructure/config-files.cpp
Log Message:
-----------
Use FileCheck in new clang-tidy/infrastructure/config-files.cpp tests
The test was failing spuriously on some machines [1]. Converting from
grep to FileCheck makes it easier to see what's happening, and also grep
is discouraged in tests [2].
Also drop the negative test: checking for the expected output is better.
1. https://crbug.com/338535754
2. https://llvm.org/docs/TestingGuide.html#:~:text=.%20%5BThe-,usage%20of%20grep,-in%20RUN%20lines
Commit: cda8270981b666c492933a9df1d984d0d0f8433f
https://github.com/llvm/llvm-project/commit/cda8270981b666c492933a9df1d984d0d0f8433f
Author: vdonaldson <37090318+vdonaldson at users.noreply.github.com>
Date: 2024-05-03 (Fri, 03 May 2024)
Changed paths:
M flang/lib/Lower/Bridge.cpp
A flang/test/Lower/if-loc.f90
Log Message:
-----------
[flang] Source code location for IF statements and constructs (#90853)
Make source code locations for IF statements and IF construct component
statements more accurate. Make similar changes to ASSOCIATE, BLOCK, and
SELECT TYPE construct component statements.
Commit: 72e07d48e073a9abc698bf9fa175ed2055825594
https://github.com/llvm/llvm-project/commit/72e07d48e073a9abc698bf9fa175ed2055825594
Author: Jay Foad <jay.foad at amd.com>
Date: 2024-05-03 (Fri, 03 May 2024)
Changed paths:
M llvm/lib/Target/AMDGPU/AMDGPUPostLegalizerCombiner.cpp
Log Message:
-----------
[AMDGPU] Simplify applySelectFCmpToFMinToFMaxLegacy. NFC.
Commit: a13c5140a2a26923f3e7bf3684409425ff54de6f
https://github.com/llvm/llvm-project/commit/a13c5140a2a26923f3e7bf3684409425ff54de6f
Author: erichkeane <ekeane at nvidia.com>
Date: 2024-05-03 (Fri, 03 May 2024)
Changed paths:
M clang/include/clang/AST/OpenACCClause.h
M clang/include/clang/Basic/OpenACCClauses.def
M clang/include/clang/Sema/SemaOpenACC.h
M clang/lib/AST/OpenACCClause.cpp
M clang/lib/AST/StmtProfile.cpp
M clang/lib/AST/TextNodeDumper.cpp
M clang/lib/Parse/ParseOpenACC.cpp
M clang/lib/Sema/SemaOpenACC.cpp
M clang/lib/Sema/TreeTransform.h
M clang/lib/Serialization/ASTReader.cpp
M clang/lib/Serialization/ASTWriter.cpp
M clang/test/AST/ast-print-openacc-compute-construct.cpp
M clang/test/ParserOpenACC/parse-clauses.c
A clang/test/SemaOpenACC/compute-construct-firstprivate-clause.c
A clang/test/SemaOpenACC/compute-construct-firstprivate-clause.cpp
M clang/test/SemaOpenACC/compute-construct-varlist-ast.cpp
M clang/tools/libclang/CIndex.cpp
Log Message:
-----------
[OpenACC] Implement firstprivate clause for compute constructs
This clause is pretty nearly copy/paste from private, except that it
doesn't support 'loop', and thus 'kernelsloop' for appertainment.
Commit: bccb7ed8ac289a1503ed88edf56b27eb11ed5d5d
https://github.com/llvm/llvm-project/commit/bccb7ed8ac289a1503ed88edf56b27eb11ed5d5d
Author: Florian Hahn <flo at fhahn.com>
Date: 2024-05-03 (Fri, 03 May 2024)
Changed paths:
M llvm/include/llvm/Transforms/Utils/LoopUtils.h
M llvm/lib/Transforms/Utils/LoopUtils.cpp
M llvm/lib/Transforms/Vectorize/LoopVectorizationPlanner.h
M llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
M llvm/lib/Transforms/Vectorize/VPlanRecipes.cpp
M llvm/test/Transforms/LoopVectorize/AArch64/sve-select-cmp.ll
M llvm/test/Transforms/LoopVectorize/RISCV/select-cmp-reduction.ll
M llvm/test/Transforms/LoopVectorize/epilog-vectorization-any-of-reductions.ll
M llvm/test/Transforms/LoopVectorize/select-cmp-predicated.ll
M llvm/test/Transforms/LoopVectorize/select-cmp.ll
M llvm/test/Transforms/LoopVectorize/select-reduction-start-value-may-be-undef-or-poison.ll
Log Message:
-----------
Reapply "[LV] Improve AnyOf reduction codegen. (#78304)"
This reverts the revert commit c6e01627acf859.
This patch includes a fix for any-of reductions and epilogue
vectorization. Extra test coverage for the issue that caused the revert
has been added in bce3bfced5fe0b019 and an assertion has been added in
c7209cbb8be7a3c65813.
--------------------------------
Original commit message:
Update AnyOf reduction code generation to only keep track of the AnyOf
property in a boolean vector in the loop, only selecting either the new
or start value in the middle block.
The patch incorporates feedback from https://reviews.llvm.org/D153697.
This fixes the #62565, as now there aren't multiple uses of the
start/new values.
Fixes https://github.com/llvm/llvm-project/issues/62565
PR: https://github.com/llvm/llvm-project/pull/78304
Commit: 3fffe6cb9235a5134b74ce6ad3c6ea752ffb40c7
https://github.com/llvm/llvm-project/commit/3fffe6cb9235a5134b74ce6ad3c6ea752ffb40c7
Author: thetruestblue <92476612+thetruestblue at users.noreply.github.com>
Date: 2024-05-03 (Fri, 03 May 2024)
Changed paths:
M compiler-rt/test/sanitizer_common/TestCases/sanitizer_coverage_trace_pc_guard.cpp
Log Message:
-----------
[NFC][x86_64][Test Only] Disable for san coverage for lsan on all x86_64 for now (#90750)
Disabling this test on all x86_64 to unblock CI.
rdar://125052424
Commit: 6517c5b068915784e3ae17ebce2c38e4072281dd
https://github.com/llvm/llvm-project/commit/6517c5b068915784e3ae17ebce2c38e4072281dd
Author: Alexey Bataev <a.bataev at outlook.com>
Date: 2024-05-03 (Fri, 03 May 2024)
Changed paths:
M llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
Log Message:
-----------
[LV][NFC]Address last comments from https://github.com/llvm/llvm-project/pull/88025.
Commit: bd909d2e6f2692685664c3f3b4db6047b2fb9441
https://github.com/llvm/llvm-project/commit/bd909d2e6f2692685664c3f3b4db6047b2fb9441
Author: erichkeane <ekeane at nvidia.com>
Date: 2024-05-03 (Fri, 03 May 2024)
Changed paths:
M clang/include/clang/AST/OpenACCClause.h
M clang/include/clang/Basic/OpenACCClauses.def
M clang/include/clang/Sema/SemaOpenACC.h
M clang/lib/AST/OpenACCClause.cpp
M clang/lib/AST/StmtProfile.cpp
M clang/lib/AST/TextNodeDumper.cpp
M clang/lib/Parse/ParseOpenACC.cpp
M clang/lib/Sema/SemaOpenACC.cpp
M clang/lib/Sema/TreeTransform.h
M clang/lib/Serialization/ASTReader.cpp
M clang/lib/Serialization/ASTWriter.cpp
M clang/test/AST/ast-print-openacc-compute-construct.cpp
M clang/test/ParserOpenACC/parse-clauses.c
A clang/test/SemaOpenACC/compute-construct-no_create-clause.c
A clang/test/SemaOpenACC/compute-construct-no_create-clause.cpp
A clang/test/SemaOpenACC/compute-construct-present-clause.c
A clang/test/SemaOpenACC/compute-construct-present-clause.cpp
M clang/test/SemaOpenACC/compute-construct-varlist-ast.cpp
M clang/tools/libclang/CIndex.cpp
Log Message:
-----------
[OpenACC] Implement no_create and present clauses on compute constructs
These two are, from a semantic checking perspective, identical to
first-private/private/etc, other than appertainment. This patch
implements both.
Commit: 3f1fef369935f833443f18bc2eababfb5e3da0ff
https://github.com/llvm/llvm-project/commit/3f1fef369935f833443f18bc2eababfb5e3da0ff
Author: Mel Chen <mel.chen at sifive.com>
Date: 2024-05-03 (Fri, 03 May 2024)
Changed paths:
M llvm/lib/Target/RISCV/RISCVTargetTransformInfo.cpp
M llvm/test/Transforms/LoopVectorize/RISCV/interleaved-accesses.ll
M llvm/test/Transforms/LoopVectorize/RISCV/strided-accesses.ll
Log Message:
-----------
[RISCV] Support interleaved accesses for scalable vector. (#90583)
The support for interleaved accesses for scalable vector with a factor
of 2 is enabled in vectorizer. Therefore, the patch removed the
restriction for scalable vector with a factor of 2.
Commit: 99ca40849ddaa466756d5da4e292f514f29fcb34
https://github.com/llvm/llvm-project/commit/99ca40849ddaa466756d5da4e292f514f29fcb34
Author: Jay Foad <jay.foad at amd.com>
Date: 2024-05-03 (Fri, 03 May 2024)
Changed paths:
M llvm/lib/Target/AMDGPU/AMDGPUCombinerHelper.cpp
M llvm/lib/Target/AMDGPU/AMDGPUPostLegalizerCombiner.cpp
M llvm/lib/Target/AMDGPU/AMDGPUPreLegalizerCombiner.cpp
M llvm/lib/Target/AMDGPU/AMDGPURegBankCombiner.cpp
Log Message:
-----------
[AMDGPU] Remove unneeded calls to setInstrAndDebugLoc in matchers. NFC.
Commit: 054f7c0565410f246f3e003ec18684bd526de64c
https://github.com/llvm/llvm-project/commit/054f7c0565410f246f3e003ec18684bd526de64c
Author: erichkeane <ekeane at nvidia.com>
Date: 2024-05-03 (Fri, 03 May 2024)
Changed paths:
M clang/include/clang/AST/OpenACCClause.h
M clang/include/clang/Basic/DiagnosticSemaKinds.td
M clang/include/clang/Basic/OpenACCClauses.def
M clang/include/clang/Basic/OpenACCKinds.h
M clang/include/clang/Sema/SemaOpenACC.h
M clang/lib/AST/OpenACCClause.cpp
M clang/lib/AST/StmtProfile.cpp
M clang/lib/AST/TextNodeDumper.cpp
M clang/lib/Parse/ParseOpenACC.cpp
M clang/lib/Sema/SemaOpenACC.cpp
M clang/lib/Sema/TreeTransform.h
M clang/lib/Serialization/ASTReader.cpp
M clang/lib/Serialization/ASTWriter.cpp
M clang/test/ParserOpenACC/parse-clauses.c
A clang/test/SemaOpenACC/compute-construct-copy-clause.c
A clang/test/SemaOpenACC/compute-construct-copy-clause.cpp
M clang/test/SemaOpenACC/compute-construct-varlist-ast.cpp
M clang/tools/libclang/CIndex.cpp
Log Message:
-----------
[OpenACC] Implement copy clause for compute constructs.
Like present, no_create, and first_private, copy is a clause that takes
just a var-list, and follows the same rules as the others.
The one unique part of this clause is that it ALSO supports two
deprecated/backwards-compatibility spellings, so this patch adds them
and implements them.
Commit: 69f1442302250a23fb981fb4d61159d50551f617
https://github.com/llvm/llvm-project/commit/69f1442302250a23fb981fb4d61159d50551f617
Author: Billy Zhu <billyzhu at modular.com>
Date: 2024-05-03 (Fri, 03 May 2024)
Changed paths:
M llvm/include/llvm/CodeGen/BasicTTIImpl.h
M llvm/test/Transforms/SimplifyCFG/X86/switch_to_lookup_table.ll
Log Message:
-----------
[LLVM] BasicTTIImpl allow unknown type during legality checking (#89848)
Make BasicTTIImplBase's `isTypeLegal` check handle unknown types.
Current behavior is aborting.
Motivated by a use case in SimplifyCFG, where `isTypeLegal` is called on
a struct type and dies, when it could be treated as illegal and skipped.
In general it could make sense for unknown types to be allowed, and by
default just considered not legal, but the behavior can of course be
overriden.
Commit: 5fc576956e3b47708e8b405d57cefddd945a43d9
https://github.com/llvm/llvm-project/commit/5fc576956e3b47708e8b405d57cefddd945a43d9
Author: Billy Zhu <billyzhu at modular.com>
Date: 2024-05-03 (Fri, 03 May 2024)
Changed paths:
M mlir/lib/Target/LLVMIR/DebugTranslation.cpp
M mlir/test/Target/LLVMIR/llvmir-debug.mlir
Log Message:
-----------
[MLIR][LLVM] Exporter skip over inlined frame without debug scope (#90915)
Followup to #90759.
Instead of just returning null when the caller scope is not
translatable, "jump over" the current caller scope and use the outer
scope as the caller if that is available. This means that in an inlined
call stack if there are frames without debug scope, those frames are
skipped to preserve what is available. In the original example where
```
func A {
foo loc(fused<#A>["a":1:1])
}
func B {
call @A loc("b":1:1)
}
func C {
call @B loc(fused<#C>["c":1:1])
}
```
is inlined into
```
func C {
foo loc(callsite(
callsite(fused<#A>["a":1:1] at loc("b":1:1))
at
fused<#C>["c":1:1]))
}
```
The translated result would be `!1`:
```
!0 = !DILocation(line: 1, column: 1, scope: !C)
!1 = !DILocation(line: 1, column: 1, scope: !A, inlinedAt: !0)
```
This has a neat benefit in maintaining callsite associativity: No matter
if we have `callsite(callsite(A at B) at C)` or `callsite(A at
callsite(B at C))`, the translation now is the same. The previous
solution did not provide this guarantee, which meant the callsite
construction would somehow impact this translation.
Commit: 1cde1240ed6e45012d7510f4aa39badbdb4a4721
https://github.com/llvm/llvm-project/commit/1cde1240ed6e45012d7510f4aa39badbdb4a4721
Author: Jay Foad <jay.foad at amd.com>
Date: 2024-05-03 (Fri, 03 May 2024)
Changed paths:
M llvm/lib/Target/AMDGPU/AMDGPUCombine.td
M llvm/lib/Target/AMDGPU/AMDGPUPostLegalizerCombiner.cpp
Log Message:
-----------
[AMDGPU] Use replaceOpcodeWith instead of applyCombine_s_mul_u64. NFC.
Commit: 40cc96e7ece74479957ae5680b9e04b7743a000c
https://github.com/llvm/llvm-project/commit/40cc96e7ece74479957ae5680b9e04b7743a000c
Author: Florian Hahn <flo at fhahn.com>
Date: 2024-05-03 (Fri, 03 May 2024)
Changed paths:
M llvm/lib/Transforms/Vectorize/VPlan.h
Log Message:
-----------
[VPlan] Remove unused VPWidenCanonicalIVRecipe::getScalarType (NFCI).
After a48ebb8276408fa88cf7060ddc68f4eda1b62def, the function is no
longer used. Remove it.
Commit: 01e91a2dde497b71b0b85d5ec0f101a21e9c892c
https://github.com/llvm/llvm-project/commit/01e91a2dde497b71b0b85d5ec0f101a21e9c892c
Author: erichkeane <ekeane at nvidia.com>
Date: 2024-05-03 (Fri, 03 May 2024)
Changed paths:
M clang/include/clang/AST/OpenACCClause.h
M clang/include/clang/Basic/OpenACCClauses.def
M clang/include/clang/Basic/OpenACCKinds.h
M clang/include/clang/Sema/SemaOpenACC.h
M clang/lib/AST/OpenACCClause.cpp
M clang/lib/AST/StmtProfile.cpp
M clang/lib/AST/TextNodeDumper.cpp
M clang/lib/Parse/ParseOpenACC.cpp
M clang/lib/Sema/SemaOpenACC.cpp
M clang/lib/Sema/TreeTransform.h
M clang/lib/Serialization/ASTReader.cpp
M clang/lib/Serialization/ASTWriter.cpp
M clang/test/AST/ast-print-openacc-compute-construct.cpp
M clang/test/ParserOpenACC/parse-clauses.c
A clang/test/SemaOpenACC/compute-construct-copyin-clause.c
A clang/test/SemaOpenACC/compute-construct-copyin-clause.cpp
A clang/test/SemaOpenACC/compute-construct-copyout-clause.c
A clang/test/SemaOpenACC/compute-construct-copyout-clause.cpp
A clang/test/SemaOpenACC/compute-construct-create-clause.c
A clang/test/SemaOpenACC/compute-construct-create-clause.cpp
M clang/test/SemaOpenACC/compute-construct-varlist-ast.cpp
M clang/tools/libclang/CIndex.cpp
Log Message:
-----------
[OpenACC] Implement copyin, copyout, create clauses for compute construct
Like 'copy', these also have alternate names, so this implements that as
well. Additionally, these have an optional tag of either 'readonly' or
'zero' depending on the clause.
Otherwise, this is a pretty rote implementation of the clause, as there
aren't any special rules for it.
Commit: 692e887c7d77d71204df9090f12f1b8f47e4bfba
https://github.com/llvm/llvm-project/commit/692e887c7d77d71204df9090f12f1b8f47e4bfba
Author: Jay Foad <jay.foad at amd.com>
Date: 2024-05-03 (Fri, 03 May 2024)
Changed paths:
M llvm/include/llvm/Target/GlobalISel/Combine.td
M llvm/lib/Target/AMDGPU/AMDGPUCombine.td
Log Message:
-----------
[GlobalISel] Use some standard matchinfo defs. NFC.
Commit: d13f635201b74674f2de2821bb9e1a5feea0c313
https://github.com/llvm/llvm-project/commit/d13f635201b74674f2de2821bb9e1a5feea0c313
Author: Michael Maitland <michaeltmaitland at gmail.com>
Date: 2024-05-03 (Fri, 03 May 2024)
Changed paths:
M llvm/lib/Target/RISCV/RISCVInstrInfoZvk.td
Log Message:
-----------
[RISCV] Use Sched*MC for Zvk MC instructions
Commit: 4821882cdfe46b93935e01805ed413cf1272bcd4
https://github.com/llvm/llvm-project/commit/4821882cdfe46b93935e01805ed413cf1272bcd4
Author: Michael Maitland <michaeltmaitland at gmail.com>
Date: 2024-05-03 (Fri, 03 May 2024)
Changed paths:
M llvm/lib/Target/RISCV/RISCVInstrInfoZvk.td
A llvm/test/tools/llvm-mca/RISCV/SiFiveP600/zvbb.s
A llvm/test/tools/llvm-mca/RISCV/SiFiveP600/zvbc.s
A llvm/test/tools/llvm-mca/RISCV/SiFiveP600/zvkg.s
A llvm/test/tools/llvm-mca/RISCV/SiFiveP600/zvkned.s
A llvm/test/tools/llvm-mca/RISCV/SiFiveP600/zvknhb.s
A llvm/test/tools/llvm-mca/RISCV/SiFiveP600/zvksed.s
A llvm/test/tools/llvm-mca/RISCV/SiFiveP600/zvksh.s
Log Message:
-----------
[RISCV][llvm-mca] Add vector crypto llvm-mca tests for P600
Commit: bab10981f3c7a15231b8e2008f99a38a5582e3b0
https://github.com/llvm/llvm-project/commit/bab10981f3c7a15231b8e2008f99a38a5582e3b0
Author: Miro Bucko <mbucko at meta.com>
Date: 2024-05-03 (Fri, 03 May 2024)
Changed paths:
M lldb/test/API/tools/lldb-dap/console/TestDAP_console.py
Log Message:
-----------
[lldb-dap] Fix test_exit_status_message_sigterm test. (#90223)
Summary:
'test_exit_status_message_sigterm' is failing due to 'psutil' dependency
introduced in PR #89405. This fix removes 'deque' dependency and checks
if 'psutil' can be imported before running the test. If 'psutil' cannot
be imported, it emits a warning and skips the test.
Test Plan:
./bin/llvm-lit -sv
/path-to-llvm-project/lldb/test/API/tools/lldb-dap/console/TestDAP_console.py
--filter=tools/lldb-dap/console/TestDAP_console.py
Reviewers:
@jeffreytan81, at clayborg, at kusmour, @JDevlieghere, at walter-erquinigo
Subscribers:
Tasks:
lldb-dap
Tags:
Commit: 56b8bd77445f2f7cc15c294c9089b73ca8f9ecdd
https://github.com/llvm/llvm-project/commit/56b8bd77445f2f7cc15c294c9089b73ca8f9ecdd
Author: Michael Maitland <michaeltmaitland at gmail.com>
Date: 2024-05-03 (Fri, 03 May 2024)
Changed paths:
M llvm/lib/Target/RISCV/RISCVInstrInfoZvk.td
M llvm/lib/Target/RISCV/RISCVSchedRocket.td
M llvm/lib/Target/RISCV/RISCVSchedSiFive7.td
M llvm/lib/Target/RISCV/RISCVSchedSiFiveP400.td
M llvm/lib/Target/RISCV/RISCVSchedSiFiveP600.td
M llvm/lib/Target/RISCV/RISCVSchedSyntacoreSCR1.td
M llvm/lib/Target/RISCV/RISCVSchedXiangShanNanHu.td
M llvm/lib/Target/RISCV/RISCVSchedule.td
A llvm/lib/Target/RISCV/RISCVScheduleZvk.td
M llvm/test/tools/llvm-mca/RISCV/SiFiveP600/zvbb.s
M llvm/test/tools/llvm-mca/RISCV/SiFiveP600/zvbc.s
M llvm/test/tools/llvm-mca/RISCV/SiFiveP600/zvkg.s
M llvm/test/tools/llvm-mca/RISCV/SiFiveP600/zvkned.s
M llvm/test/tools/llvm-mca/RISCV/SiFiveP600/zvknhb.s
M llvm/test/tools/llvm-mca/RISCV/SiFiveP600/zvksed.s
M llvm/test/tools/llvm-mca/RISCV/SiFiveP600/zvksh.s
Log Message:
-----------
[RISCV] Add Sched classes for vector crypto instructions (#90068)
The vector crypto instructions may have different scheduling behavior
compared to VALU operations. Instead of using scheduling resources that
describe VALU operations, we give these instructions their own
scheduling resources. This is similar to what we did for Zb* instructions.
The sifive-p670 has vector crypto, so we model behavior for these instructions
in the P600SchedModel. The numbers are based off of measurements collected
internally. These numbers are a bit old and new measurements show that they may
not be fully accurate. It is likely that we will refine these numbers in a
follow up patch(s) based on new measurements.
This PR is stacked on #89256.
Commit: ebbc5de7db45b2fc81564a6c870a57f4b95d0477
https://github.com/llvm/llvm-project/commit/ebbc5de7db45b2fc81564a6c870a57f4b95d0477
Author: Peter Lafreniere <peter at n8pjl.ca>
Date: 2024-05-03 (Fri, 03 May 2024)
Changed paths:
M llvm/lib/Target/M68k/M68kSubtarget.cpp
M llvm/test/CodeGen/M68k/Arith/divide-by-constant.ll
M llvm/test/CodeGen/M68k/Arith/imul.ll
M llvm/test/CodeGen/M68k/Arith/mul64.ll
M llvm/test/CodeGen/M68k/Arith/sdiv-exact.ll
M llvm/test/CodeGen/M68k/Arith/smul-with-overflow.ll
M llvm/test/CodeGen/M68k/Arith/sub-with-overflow.ll
M llvm/test/CodeGen/M68k/Atomics/cmpxchg.ll
M llvm/test/CodeGen/M68k/Atomics/load-store.ll
M llvm/test/CodeGen/M68k/Atomics/rmw.ll
M llvm/test/CodeGen/M68k/CodeModel/medium-static.ll
M llvm/test/CodeGen/M68k/CodeModel/small-static.ll
M llvm/test/CodeGen/M68k/TLS/tlsie.ll
M llvm/test/CodeGen/M68k/TLS/tlsle.ll
M llvm/test/CodeGen/M68k/gcc_except_table.ll
Log Message:
-----------
[M68k] Correctly emit non-pic relocations (#89863)
The m68k backend will always emit external calls (including libcalls)
with
PC-relative PLT relocations, even when in non-pic mode or -fno-plt is
used.
This is unexpected, as other function calls are emitted with absolute
addressing, and a static code modes suggests that there is no PLT. It
also
leads to a miscompilation where the call instruction emitted expects an
immediate address, while the relocation emitted for that instruction is
PC-relative.
This miscompilation can even be seen in the default C function in
godbolt:
https://godbolt.org/z/zEoazovzo
Fix the issue by classifying external function references based upon the
pic
mode. This triggers a change in the static code model, making it more in
line
with the expected behaviour and allowing use of this backend in more
bare-metal
situations where a PLT does not exist.
The change avoids the issue where we emit a PLT32 relocation for an
absolute
call, and makes libcalls and other external calls use absolute
addressing modes
when a static code model is desired.
Further work should be done in instruction lowering and validation to
ensure
that miscompilations of the same type don't occur.
Commit: a06c1fefd1272b43fe995540768a9f0ed00ab645
https://github.com/llvm/llvm-project/commit/a06c1fefd1272b43fe995540768a9f0ed00ab645
Author: Mark de Wever <koraq at xs4all.nl>
Date: 2024-05-03 (Fri, 03 May 2024)
Changed paths:
M libcxx/test/std/atomics/atomics.types.generic/atomics.types.float/fetch_add.pass.cpp
M libcxx/test/std/atomics/atomics.types.generic/atomics.types.float/fetch_sub.pass.cpp
M libcxx/test/std/atomics/atomics.types.generic/atomics.types.float/operator.minus_equals.pass.cpp
M libcxx/test/std/atomics/atomics.types.generic/atomics.types.float/operator.plus_equals.pass.cpp
Log Message:
-----------
Revert "[NFC] Enable atomic tests on AIX"
This reverts commit 02660e274242b2dd61543a06d7ab4dc0efd2517d.
The tests do not pass on AIX, the buildkite precommit CI fails on these
tests. For example, https://buildkite.com/llvm-project/libcxx-ci/builds/35184
Commit: 6c4dedde08686edea9a1d5173313f44ef23ee38e
https://github.com/llvm/llvm-project/commit/6c4dedde08686edea9a1d5173313f44ef23ee38e
Author: Mark de Wever <koraq at xs4all.nl>
Date: 2024-05-03 (Fri, 03 May 2024)
Changed paths:
M libcxx/modules/std.compat/cctype.inc
M libcxx/modules/std.compat/cfenv.inc
M libcxx/modules/std.compat/cinttypes.inc
M libcxx/modules/std.compat/clocale.inc
M libcxx/modules/std.compat/cmath.inc
M libcxx/modules/std.compat/csetjmp.inc
M libcxx/modules/std.compat/csignal.inc
M libcxx/modules/std.compat/cstdarg.inc
M libcxx/modules/std.compat/cstddef.inc
M libcxx/modules/std.compat/cstdint.inc
M libcxx/modules/std.compat/cstdio.inc
M libcxx/modules/std.compat/cstdlib.inc
M libcxx/modules/std.compat/cstring.inc
M libcxx/modules/std.compat/ctime.inc
M libcxx/modules/std.compat/cwchar.inc
M libcxx/modules/std.compat/cwctype.inc
M libcxx/modules/std/atomic.inc
M libcxx/modules/std/cctype.inc
M libcxx/modules/std/cfenv.inc
M libcxx/modules/std/cinttypes.inc
M libcxx/modules/std/clocale.inc
M libcxx/modules/std/cmath.inc
M libcxx/modules/std/csetjmp.inc
M libcxx/modules/std/csignal.inc
M libcxx/modules/std/cstdarg.inc
M libcxx/modules/std/cstddef.inc
M libcxx/modules/std/cstdint.inc
M libcxx/modules/std/cstdio.inc
M libcxx/modules/std/cstdlib.inc
M libcxx/modules/std/cstring.inc
M libcxx/modules/std/ctime.inc
M libcxx/modules/std/cwchar.inc
M libcxx/modules/std/cwctype.inc
Log Message:
-----------
[libc++][modules] Uses _LIBCPP_USING_IF_EXISTS. (#90409)
This attribute is used in the headers. Not using this in the modules has
led to several issues. Add them to the modules to avoid these errors in
other placed.
Commit: 2755c69098c9d0cf33bbbd3ff90f63ab819acfe1
https://github.com/llvm/llvm-project/commit/2755c69098c9d0cf33bbbd3ff90f63ab819acfe1
Author: Prashant Kumar <pk5561 at gmail.com>
Date: 2024-05-03 (Fri, 03 May 2024)
Changed paths:
M mlir/lib/Dialect/Linalg/Transforms/Vectorization.cpp
M mlir/test/Dialect/Linalg/vectorization.mlir
Log Message:
-----------
[mlir][linalg] Vectorize unpack op without masking (#89067)
Enables vectorization of unpack op in the case of unknown vector size.
The vector sizes are determined by the result's shape.
Commit: 8d946c71712daeabf6636ff3844fa49e4638324b
https://github.com/llvm/llvm-project/commit/8d946c71712daeabf6636ff3844fa49e4638324b
Author: Julian Schmidt <git.julian.schmidt at gmail.com>
Date: 2024-05-03 (Fri, 03 May 2024)
Changed paths:
M clang-tools-extra/clangd/refactor/tweaks/ScopifyEnum.cpp
Log Message:
-----------
[clangd] use existing functions for code locations in the scopify enum tweak (#88737)
Clangd already implements some utility functions for converting between
`SourceLocation`s, `Position`s and `Offset`s into a buffer.
Commit: 528f5ba7af2729bb7e23f0846b75e4f25af2bf8d
https://github.com/llvm/llvm-project/commit/528f5ba7af2729bb7e23f0846b75e4f25af2bf8d
Author: Jonas Devlieghere <jonas at devlieghere.com>
Date: 2024-05-03 (Fri, 03 May 2024)
Changed paths:
M lldb/include/lldb/Core/Debugger.h
M lldb/include/lldb/Core/DebuggerEvents.h
M lldb/include/lldb/Expression/DiagnosticManager.h
M lldb/include/lldb/Host/Host.h
M lldb/include/lldb/lldb-enumerations.h
M lldb/source/Core/Debugger.cpp
M lldb/source/Core/DebuggerEvents.cpp
M lldb/source/Expression/DiagnosticManager.cpp
M lldb/source/Expression/FunctionCaller.cpp
M lldb/source/Expression/LLVMUserExpression.cpp
M lldb/source/Host/common/Host.cpp
M lldb/source/Host/macosx/objcxx/Host.mm
M lldb/source/Plugins/ExpressionParser/Clang/ClangDiagnostic.h
M lldb/source/Plugins/ExpressionParser/Clang/ClangExpressionDeclMap.cpp
M lldb/source/Plugins/ExpressionParser/Clang/ClangExpressionParser.cpp
M lldb/source/Plugins/ExpressionParser/Clang/ClangFunctionCaller.cpp
M lldb/source/Plugins/ExpressionParser/Clang/ClangUserExpression.cpp
M lldb/source/Plugins/ExpressionParser/Clang/ClangUtilityFunction.cpp
M lldb/source/Target/Process.cpp
M lldb/unittests/Expression/DiagnosticManagerTest.cpp
Log Message:
-----------
[lldb] Create a single Severity enum in lldb-enumerations (#90917)
We have 3 different enums all expressing severity (info, warning,
error). Remove all uses with a new Severity enum in lldb-enumerations.h.
Commit: 55ad294893093b3918b3467ac44404cbd643b6ba
https://github.com/llvm/llvm-project/commit/55ad294893093b3918b3467ac44404cbd643b6ba
Author: Fangrui Song <i at maskray.me>
Date: 2024-05-03 (Fri, 03 May 2024)
Changed paths:
M lld/test/COFF/Inputs/combined-resources.rc
M lld/test/COFF/pdb-type-server-invalid-signature.yaml
M lld/test/COFF/pdb_char8_t.ll
M lld/test/ELF/dynamic-list-cpp.s
Log Message:
-----------
[lld,test] Convert text files from CRLF to LF
Commit: 7a6847e00142e72f09d7dbaa512425871ba7134f
https://github.com/llvm/llvm-project/commit/7a6847e00142e72f09d7dbaa512425871ba7134f
Author: Craig Topper <craig.topper at sifive.com>
Date: 2024-05-03 (Fri, 03 May 2024)
Changed paths:
M llvm/lib/Support/RISCVISAUtils.cpp
M llvm/lib/TargetParser/RISCVISAInfo.cpp
M llvm/unittests/TargetParser/RISCVISAInfoTest.cpp
Log Message:
-----------
[RISCV] Add partial validation of Z extension name to RISCVISAInfo::parseNormalizedArchString (#90895)
If 'z' is given as the complete extension name or with a digit after it,
it will crash in the extension map compare function. Check for these
cases and give an error.
Commit: 0faf494200860c307ba473114df6e50f7da1b52a
https://github.com/llvm/llvm-project/commit/0faf494200860c307ba473114df6e50f7da1b52a
Author: Craig Topper <craig.topper at sifive.com>
Date: 2024-05-03 (Fri, 03 May 2024)
Changed paths:
M clang/test/Driver/riscv-arch.c
M llvm/lib/TargetParser/RISCVISAInfo.cpp
M llvm/unittests/TargetParser/RISCVISAInfoTest.cpp
Log Message:
-----------
[RISCV] Make parseArchString only accept [a-z0-9_]. (#90879)
Similar change was recently made to parseNormalizedArchString.
Commit: c7ad12d0d7606b0b9fb531b0b273bdc5f1490ddb
https://github.com/llvm/llvm-project/commit/c7ad12d0d7606b0b9fb531b0b273bdc5f1490ddb
Author: Matt Arsenault <Matthew.Arsenault at amd.com>
Date: 2024-05-03 (Fri, 03 May 2024)
Changed paths:
M llvm/lib/Target/AMDGPU/SIModeRegisterDefaults.cpp
M llvm/lib/Target/AMDGPU/SIModeRegisterDefaults.h
Log Message:
-----------
AMDGPU: Try to fix build error with old gcc
Commit: ac46eeaea8bc987e8a858a29d3b3e9e6539a81a8
https://github.com/llvm/llvm-project/commit/ac46eeaea8bc987e8a858a29d3b3e9e6539a81a8
Author: Fangrui Song <i at maskray.me>
Date: 2024-05-03 (Fri, 03 May 2024)
Changed paths:
M clang-tools-extra/clangd/test/delimited-input-comment-at-the-end.test
M clang-tools-extra/clangd/test/hover.test
M clang-tools-extra/clangd/test/spaces-in-delimited-input.test
M clang-tools-extra/test/clang-tidy/checkers/readability/Inputs/duplicate-include/duplicate-include.h
M clang-tools-extra/test/clang-tidy/checkers/readability/Inputs/duplicate-include/duplicate-include2.h
M clang-tools-extra/test/clang-tidy/checkers/readability/Inputs/duplicate-include/system/sys/types.h
M clang-tools-extra/test/clang-tidy/checkers/readability/else-after-return-if-constexpr.cpp
M clang-tools-extra/test/modularize/Inputs/CompileError/module.modulemap
M clang-tools-extra/test/modularize/Inputs/MissingHeader/module.modulemap
M clang-tools-extra/test/pp-trace/Inputs/module.modulemap
Log Message:
-----------
[clang-tools-extra,test] Convert text files from CRLF to LF
Skip files with intentional CRLF line endings:
test/clang-apply-replacements/crlf.cpp
test/clang-apply-replacements/Inputs/crlf/crlf.cpp.expected
clangd/test/input-mirror.test
clangd/test/protocol.test
clangd/test/too-large.test
Commit: 49c5f4d56a89278fcc426cabbeeec33e0915980e
https://github.com/llvm/llvm-project/commit/49c5f4d56a89278fcc426cabbeeec33e0915980e
Author: Matt Arsenault <Matthew.Arsenault at amd.com>
Date: 2024-05-03 (Fri, 03 May 2024)
Changed paths:
M llvm/lib/Target/SystemZ/SystemZInstrInfo.cpp
M llvm/lib/Target/SystemZ/SystemZInstrInfo.h
A llvm/test/CodeGen/SystemZ/fold-copy-vector-immediate.mir
Log Message:
-----------
SystemZ: Fold copy of vector immediate to gr128 (#90706)
If materializing a constant in a vector register that is just
going to be copied to general registers, directly materialize
the immediate in the gpr. This will avoid a few lit test regressions
in a future commit.
Commit: f9d91fbe86519f3083a9ae37b1e2038f6b8992a6
https://github.com/llvm/llvm-project/commit/f9d91fbe86519f3083a9ae37b1e2038f6b8992a6
Author: Jonas Devlieghere <jonas at devlieghere.com>
Date: 2024-05-03 (Fri, 03 May 2024)
Changed paths:
M lldb/source/Core/Debugger.cpp
Log Message:
-----------
[lldb] Always emit diagnostic events to the system log (#90913)
Always emit diagnostic events to the system log so that they end up in
the sysdiagnose on Darwin.
Commit: 54d6f6626d9377115f3db3ab3fd5994b0de5a268
https://github.com/llvm/llvm-project/commit/54d6f6626d9377115f3db3ab3fd5994b0de5a268
Author: Craig Topper <craig.topper at sifive.com>
Date: 2024-05-03 (Fri, 03 May 2024)
Changed paths:
A llvm/test/CodeGen/AArch64/pr90936.ll
Log Message:
-----------
[AArch64] Add test for #90936. NFC
Commit: d53425e2a33a0ff7336c86d3f668b1855c47a6de
https://github.com/llvm/llvm-project/commit/d53425e2a33a0ff7336c86d3f668b1855c47a6de
Author: Fangrui Song <i at maskray.me>
Date: 2024-05-03 (Fri, 03 May 2024)
Changed paths:
M llvm/test/DebugInfo/AArch64/instr-ref-const-physreg.ll
M llvm/test/DebugInfo/ARM/instr-ref-tcreturn.ll
M llvm/test/DebugInfo/COFF/AArch64/lit.local.cfg
M llvm/test/DebugInfo/COFF/jump-table-with-indirect-ptr-null.ll
M llvm/test/DebugInfo/COFF/jump-table.ll
M llvm/test/DebugInfo/COFF/pieces.ll
M llvm/test/DebugInfo/Generic/debug_value_list.ll
M llvm/test/DebugInfo/MIR/InstrRef/accept-nonlive-reg-phis.mir
M llvm/test/DebugInfo/MIR/InstrRef/dbg-phi-subregister-location.mir
M llvm/test/DebugInfo/MIR/InstrRef/dbg-phis-in-ldv.mir
M llvm/test/DebugInfo/MIR/InstrRef/dbg-phis-in-ldv2.mir
M llvm/test/DebugInfo/MIR/InstrRef/dbg-phis-merging-in-ldv.mir
M llvm/test/DebugInfo/MIR/InstrRef/dbg-phis-with-loops.mir
M llvm/test/DebugInfo/MIR/InstrRef/follow-spill-of-live-value.mir
M llvm/test/DebugInfo/MIR/InstrRef/livedebugvalues_illegal_locs.mir
M llvm/test/DebugInfo/MIR/InstrRef/livedebugvalues_instrref_tolocs.mir
M llvm/test/DebugInfo/MIR/InstrRef/livedebugvalues_stackslot_subregs.mir
M llvm/test/DebugInfo/MIR/InstrRef/livedebugvalues_subreg_substitutions.mir
M llvm/test/DebugInfo/MIR/InstrRef/memory-operand-folding-tieddef.mir
M llvm/test/DebugInfo/MIR/InstrRef/memory-operand-load-folding.mir
M llvm/test/DebugInfo/MIR/InstrRef/memory-operand-tracking.mir
M llvm/test/DebugInfo/MIR/InstrRef/out-of-scope-blocks.mir
M llvm/test/DebugInfo/MIR/InstrRef/phi-coalesce-subreg.mir
M llvm/test/DebugInfo/MIR/InstrRef/phi-on-stack-coalesced.mir
M llvm/test/DebugInfo/MIR/InstrRef/phi-on-stack-coalesced2.mir
M llvm/test/DebugInfo/MIR/InstrRef/phi-regallocd-to-stack.mir
M llvm/test/DebugInfo/MIR/InstrRef/phi-through-regalloc.mir
M llvm/test/DebugInfo/MIR/InstrRef/spill-slot-limits.mir
M llvm/test/DebugInfo/MIR/InstrRef/substitusions-roundtrip.mir
M llvm/test/DebugInfo/MIR/InstrRef/twoaddr-to-threeaddr-sub.mir
M llvm/test/DebugInfo/MIR/InstrRef/win32-chkctk-modifies-esp.mir
M llvm/test/DebugInfo/MIR/InstrRef/x86-drop-compare-inst.mir
M llvm/test/DebugInfo/MIR/X86/dvl-livedebugvalues-clobber.mir
M llvm/test/DebugInfo/MIR/X86/dvl-livedebugvalues-join.mir
M llvm/test/DebugInfo/MIR/X86/dvl-livedebugvalues-movements.mir
M llvm/test/DebugInfo/MIR/X86/dvl-livedebugvalues-spillrestore.mir
M llvm/test/DebugInfo/MIR/X86/dvl-livedebugvars-movements.mir
M llvm/test/DebugInfo/MIR/X86/dvl-livedebugvars-stackptr.mir
M llvm/test/DebugInfo/MIR/X86/instr-ref-join-def-vphi.mir
M llvm/test/DebugInfo/PDB/Inputs/longname-truncation.yaml
M llvm/test/DebugInfo/PDB/Inputs/merge-types-1.yaml
M llvm/test/DebugInfo/PDB/Inputs/merge-types-2.yaml
M llvm/test/DebugInfo/PDB/Inputs/one-symbol.yaml
M llvm/test/DebugInfo/PDB/pdb-longname-truncation.test
M llvm/test/DebugInfo/PDB/pdbdump-raw-bytes.test
M llvm/test/DebugInfo/X86/dbg-val-list-dangling.ll
M llvm/test/DebugInfo/X86/dbg-value-arg-movement.ll
M llvm/test/DebugInfo/X86/dbg-value-funcarg.ll
M llvm/test/DebugInfo/X86/dbg-value-funcarg2.ll
M llvm/test/DebugInfo/X86/dbg-value-funcarg4.ll
M llvm/test/DebugInfo/X86/dbg-value-list-dag-combine.ll
M llvm/test/DebugInfo/X86/dbg_value_list_clobbers.mir
M llvm/test/DebugInfo/X86/dbg_value_list_emission.mir
M llvm/test/DebugInfo/X86/instr-ref-dbg-declare.ll
M llvm/test/DebugInfo/X86/instr-ref-dyn-alloca-win32.ll
M llvm/test/DebugInfo/X86/instr-ref-ir-reg-read.ll
M llvm/test/DebugInfo/X86/live-debug-values-expr-conflict.ll
M llvm/test/DebugInfo/X86/pieces-4.ll
M llvm/test/DebugInfo/X86/pr34545.ll
M llvm/test/DebugInfo/X86/pr40427.ll
M llvm/test/DebugInfo/X86/sdag-combine.ll
M llvm/test/DebugInfo/X86/sdag-dangling-dbgvalue.ll
M llvm/test/DebugInfo/X86/sdag-dbgvalue-phi-use-1.ll
M llvm/test/DebugInfo/X86/sdag-dbgvalue-phi-use-2.ll
M llvm/test/DebugInfo/X86/sdag-dbgvalue-phi-use-3.ll
M llvm/test/DebugInfo/X86/sdag-dbgvalue-phi-use-4.ll
M llvm/test/DebugInfo/X86/sdag-dbgvalue-ssareg.ll
M llvm/test/DebugInfo/X86/sdag-ir-salvage.ll
M llvm/test/DebugInfo/X86/sdag-salvage-add.ll
M llvm/test/DebugInfo/X86/sdag-transfer-dbgvalue.ll
M llvm/test/DebugInfo/X86/sdagsplit-1.ll
M llvm/test/DebugInfo/X86/spill-nospill.ll
M llvm/test/DebugInfo/precomp.test
M llvm/test/DebugInfo/salvage-nonconst-binop.ll
Log Message:
-----------
[DebugInfo,test] Convert text files from CRLF to LF
Commit: a657440bc695a98c54cd95bb7cc4cec5ab811d17
https://github.com/llvm/llvm-project/commit/a657440bc695a98c54cd95bb7cc4cec5ab811d17
Author: Fangrui Song <i at maskray.me>
Date: 2024-05-03 (Fri, 03 May 2024)
Changed paths:
M llvm/test/tools/dxil-dis/shuffle.ll
M llvm/test/tools/llvm-dwarfdump/X86/parent_recurse_depth.s
M llvm/test/tools/llvm-dwarfdump/X86/quiet.s
M llvm/test/tools/llvm-objcopy/ELF/dynrelocsec-remove-shinfo-reference.test
M llvm/test/tools/llvm-objcopy/ELF/dynrelocsec-remove-shlink-reference.test
M llvm/test/tools/llvm-objdump/ELF/ARM/literal-arm.s
M llvm/test/tools/llvm-objdump/ELF/ARM/literal-thumb.s
M llvm/test/tools/llvm-objdump/ELF/ARM/literal-thumb2.s
M llvm/test/tools/llvm-objdump/ELF/ARM/literal-vldr-arm.s
M llvm/test/tools/llvm-objdump/ELF/ARM/literal-vldr-thumb2.s
M llvm/test/tools/llvm-objdump/X86/print-imm-hex.s
M llvm/test/tools/llvm-pdbutil/Inputs/TypeServerTest.cpp
M llvm/test/tools/llvm-pdbutil/complex-padding-graphical.test
M llvm/test/tools/llvm-profgen/Inputs/coff-profile.perfscript
M llvm/test/tools/llvm-symbolizer/Inputs/discrim.inp
M llvm/test/tools/obj2yaml/ELF/relr-section.yaml
Log Message:
-----------
[tools,test] Convert text files from CRLF to LF
Commit: 3563af6c06ebc92bcaacef0e33285148ef0f75bd
https://github.com/llvm/llvm-project/commit/3563af6c06ebc92bcaacef0e33285148ef0f75bd
Author: Craig Topper <craig.topper at sifive.com>
Date: 2024-05-03 (Fri, 03 May 2024)
Changed paths:
M llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
M llvm/test/CodeGen/AArch64/pr90936.ll
Log Message:
-----------
[DAGCombiner] In mergeTruncStore, make sure we aren't storing shifted in bits. (#90939)
When looking through a right shift, we need to make sure that all of
the bits we are using from the shift come from the shift input and
not the sign or zero bits that are shifted in.
Fixes #90936.
Commit: 8a0073ad4658033b6a4f6bae4fbaf924ac813bc6
https://github.com/llvm/llvm-project/commit/8a0073ad4658033b6a4f6bae4fbaf924ac813bc6
Author: Simon Pilgrim <llvm-dev at redking.me.uk>
Date: 2024-05-03 (Fri, 03 May 2024)
Changed paths:
M llvm/lib/Target/X86/X86TargetTransformInfo.cpp
M llvm/test/Analysis/CostModel/X86/arith-fp-codesize.ll
M llvm/test/Analysis/CostModel/X86/arith-fp-latency.ll
M llvm/test/Analysis/CostModel/X86/arith-fp-sizelatency.ll
M llvm/test/Analysis/CostModel/X86/arith-fp.ll
M llvm/test/Transforms/SLPVectorizer/X86/arith-fp-call.ll
Log Message:
-----------
[CostModel][X86] Treat lrint/llrint as fptosi calls (#90883)
X86 can use the CVTP2SI instructions to lower lrint/llrint calls, which have the same costs as the CVTTP2SI (fptosi) instructions
Followup to #90065
Commit: 804202292b7601feee5c091a3a6df6124f4d61e1
https://github.com/llvm/llvm-project/commit/804202292b7601feee5c091a3a6df6124f4d61e1
Author: Pavel Iliin <Pavel.Iliin at arm.com>
Date: 2024-05-03 (Fri, 03 May 2024)
Changed paths:
M clang/lib/CodeGen/CodeGenFunction.cpp
M clang/test/CodeGen/attr-target-clones-aarch64.c
Log Message:
-----------
[FMV][AArch64] Don't optimize backward compatible features in resolver. (#90928)
For arch64 features, such as Branch Target Identification or MTE (Memory
Tagging Extension), compatible with targets that lack their support we
may encounter scenarios where a binary compiled with MTE for example is
executed on both MTE and non-MTE hardware and we still need to detect at
runtime whether the MTE feature is available to choose the appropriate
function version.
So, we cannot optimize the function multi versioning resolver by
removing checks for these features enabled for the target during
compilation.
Commit: 2265df9696d55846644fa914b5f22df539e2d2bc
https://github.com/llvm/llvm-project/commit/2265df9696d55846644fa914b5f22df539e2d2bc
Author: Fangrui Song <i at maskray.me>
Date: 2024-05-03 (Fri, 03 May 2024)
Changed paths:
M llvm/test/CodeGen/DirectX/strip-fn-attrs.ll
Log Message:
-----------
[test] Fix CodeGen/DirectX/strip-fn-attrs.ll
Commit: b9ae06ba15936c9802d5668cea260ad36a243a10
https://github.com/llvm/llvm-project/commit/b9ae06ba15936c9802d5668cea260ad36a243a10
Author: Fangrui Song <i at maskray.me>
Date: 2024-05-03 (Fri, 03 May 2024)
Changed paths:
M llvm/test/Analysis/MustExecute/const-cond.ll
M llvm/test/CodeGen/MIR/X86/dbg-value-list.mir
M llvm/test/CodeGen/NVPTX/bf16x2-instructions-approx.ll
M llvm/test/CodeGen/NVPTX/bf16x2-instructions.ll
M llvm/test/CodeGen/NVPTX/zeroext-32bit.ll
M llvm/test/CodeGen/SPARC/LeonSMACUMACInstructionUT.ll
M llvm/test/CodeGen/X86/dbg-value-superreg-copy2.mir
M llvm/test/CodeGen/X86/non-value-mem-operand.mir
M llvm/test/CodeGen/X86/patchable-prologue-debuginfo.ll
M llvm/test/CodeGen/X86/post-ra-sched-with-debug.mir
M llvm/test/CodeGen/X86/windows-seh-EHa-CppCatchDotDotDot.ll
M llvm/test/CodeGen/X86/windows-seh-EHa-CppDtors01.ll
M llvm/test/CodeGen/X86/windows-seh-EHa-TryInFinally.ll
M llvm/test/Demangle/ms-options.test
M llvm/test/MC/AMDGPU/v_illegal-atomics.s
M llvm/test/MC/AsmParser/directive_file-g.s
M llvm/test/Transforms/InstCombine/debuginfo-sink.ll
M llvm/test/Transforms/InstSimplify/ConstProp/gep-constanfolding-error.ll
M llvm/test/Transforms/InstSimplify/ConstProp/timeout.ll
M llvm/test/Transforms/LoopStrengthReduce/pr51329.ll
M llvm/test/Transforms/PhaseOrdering/pr32544.ll
M llvm/test/Transforms/Reassociate/undef_intrinsics_when_deleting_instructions.ll
M llvm/test/Transforms/ThinLTOBitcodeWriter/split-typed-decl.ll
Log Message:
-----------
[test] Convert text files from CRLF to LF
Skip *.pdb, *.rc, *crlf*, and FileCheck/dos-style-eol.txt
Commit: 121bef76df415e4cfc9543630b23f2e648b9a18a
https://github.com/llvm/llvm-project/commit/121bef76df415e4cfc9543630b23f2e648b9a18a
Author: Fangrui Song <i at maskray.me>
Date: 2024-05-03 (Fri, 03 May 2024)
Changed paths:
M llvm/docs/CommandGuide/llvm-pdbutil.rst
M llvm/docs/GettingInvolved.rst
M llvm/docs/GettingStartedTutorials.rst
M llvm/docs/PDB/CodeViewSymbols.rst
M llvm/docs/Reference.rst
M llvm/docs/UserGuides.rst
M llvm/utils/emacs/llvm-mir-mode.el
Log Message:
-----------
[docs,utils] Convert text files from CRLF to LF
Skip *.bat, *.natvis, utils/lit/tests/Inputs/shtest-shell/diff-in.dos
Commit: a56f0b51dd988ad2b533de759c98457c1ed42456
https://github.com/llvm/llvm-project/commit/a56f0b51dd988ad2b533de759c98457c1ed42456
Author: Matt Arsenault <Matthew.Arsenault at amd.com>
Date: 2024-05-03 (Fri, 03 May 2024)
Changed paths:
M llvm/lib/Target/AMDGPU/SIISelLowering.cpp
M llvm/test/CodeGen/AMDGPU/llvm.set.rounding.ll
Log Message:
-----------
AMDGPU: Use umin in set.rounding expansion
Addresses comment from #88587
Commit: f34a5205aa481a6d9a15054bcc5f7b9875906a17
https://github.com/llvm/llvm-project/commit/f34a5205aa481a6d9a15054bcc5f7b9875906a17
Author: Fangrui Song <i at maskray.me>
Date: 2024-05-03 (Fri, 03 May 2024)
Changed paths:
M clang/test/AST/HLSL/this-reference-template.hlsl
M clang/test/AST/HLSL/this-reference.hlsl
M clang/test/AST/objc-default-ctor-init.mm
M clang/test/CXX/dcl.decl/dcl.init/dcl.init.ref/p5-examples.cpp
M clang/test/CXX/expr/expr.prim/expr.prim.lambda/p15-star-this-capture.cpp
M clang/test/CXX/lex/lex.literal/lex.string/p4.cpp
M clang/test/CodeGen/fpconstrained.c
M clang/test/CodeGen/fpconstrained.cpp
M clang/test/CodeGenCXX/attr-x86-no_caller_saved_registers.cpp
M clang/test/CodeGenCXX/debug-info-atexit-stub.cpp
M clang/test/CodeGenHLSL/builtins/clamp.hlsl
M clang/test/CodeGenHLSL/builtins/cos.hlsl
M clang/test/CodeGenHLSL/builtins/floor.hlsl
M clang/test/CodeGenHLSL/builtins/lerp-builtin.hlsl
M clang/test/CodeGenHLSL/builtins/lerp.hlsl
M clang/test/CodeGenHLSL/builtins/log.hlsl
M clang/test/CodeGenHLSL/builtins/log2.hlsl
M clang/test/CodeGenHLSL/builtins/mad.hlsl
M clang/test/CodeGenHLSL/builtins/max.hlsl
M clang/test/CodeGenHLSL/builtins/pow.hlsl
M clang/test/CodeGenHLSL/builtins/reversebits.hlsl
M clang/test/CodeGenHLSL/builtins/sin.hlsl
M clang/test/CodeGenHLSL/builtins/trunc.hlsl
M clang/test/CodeGenHLSL/semantics/DispatchThreadID.hlsl
M clang/test/CodeGenHLSL/sret_output.hlsl
M clang/test/CodeGenHLSL/this-assignment-overload.hlsl
M clang/test/CodeGenHLSL/this-assignment.hlsl
M clang/test/CodeGenHLSL/this-reference.hlsl
M clang/test/CodeGenObjC/exceptions-personality.m
M clang/test/Driver/ps4-ps5-relax-relocations.c
M clang/test/Frontend/rewrite-includes-macros.cpp
M clang/test/Lexer/minimize_source_to_dependency_directives_include.c
M clang/test/Lexer/minimize_source_to_dependency_directives_utf8bom.c
M clang/test/Options/HV.hlsl
M clang/test/Options/enable_16bit_types_validation.hlsl
M clang/test/Options/enable_16bit_types_validation_spirv.hlsl
M clang/test/Parser/objc-attr.m
M clang/test/Preprocessor/macro_vaopt_check.cpp
M clang/test/Preprocessor/macro_vaopt_expand.cpp
M clang/test/Sema/aarch64-sve-vector-log-ops.c
M clang/test/Sema/aarch64-sve-vector-trig-ops.c
M clang/test/Sema/incorrect_pure.cpp
M clang/test/Sema/riscv-rvv-vector-log-ops.c
M clang/test/Sema/riscv-rvv-vector-trig-ops.c
M clang/test/SemaCXX/attr-non-x86-no_caller_saved_registers.cpp
M clang/test/SemaCXX/attr-x86-no_caller_saved_registers.cpp
M clang/test/SemaCXX/compound-literal.cpp
M clang/test/SemaCXX/cxx23-static-callop-lambda-expression.cpp
M clang/test/SemaCXX/vla-ext-diag.cpp
M clang/test/SemaCXX/warn-redundant-move.cpp
M clang/test/SemaCXX/warn-shadow.cpp
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/SemaObjCXX/block-cleanup.mm
M clang/test/SemaTemplate/default-expr-arguments-3.cpp
Log Message:
-----------
[clang,test] Convert text files from CRLF to LF
Skip files with intentional CRLF line endings.
Commit: dce13b42177565793a2031eb6f395f9508c701e0
https://github.com/llvm/llvm-project/commit/dce13b42177565793a2031eb6f395f9508c701e0
Author: Fangrui Song <i at maskray.me>
Date: 2024-05-03 (Fri, 03 May 2024)
Changed paths:
M mlir/test/Conversion/GPUCommon/transfer_write.mlir
M mlir/test/Dialect/Shape/arg_with_shape.mlir
M mlir/test/Target/LLVMIR/Import/metadata-linker-options.ll
M mlir/test/mlir-vulkan-runner/addf_if.mlir
Log Message:
-----------
[mlir,test] Convert text files from CRLF to LF
Commit: fc398a112d264a1b4d52e1be4ec1f75d83c3baf0
https://github.com/llvm/llvm-project/commit/fc398a112d264a1b4d52e1be4ec1f75d83c3baf0
Author: Aart Bik <ajcbik at google.com>
Date: 2024-05-03 (Fri, 03 May 2024)
Changed paths:
A mlir/test/Dialect/SparseTensor/binary_valued.mlir
Log Message:
-----------
[mlir][sparse] test optimization of binary-valued operations (#90986)
Make sure consumer-producer fusion happens (to avoid the temporary dense
tensor) and constant folding occurs in the generated code.
Commit: 76508dce4380e0cea2ecb396200a161f7dbefd0b
https://github.com/llvm/llvm-project/commit/76508dce4380e0cea2ecb396200a161f7dbefd0b
Author: Abhinav Garg <39309352+abhigargrepo at users.noreply.github.com>
Date: 2024-05-03 (Fri, 03 May 2024)
Changed paths:
M llvm/lib/Target/AMDGPU/SIModeRegister.cpp
M llvm/test/CodeGen/AMDGPU/mode-register-fpconstrain.ll
Log Message:
-----------
[AMDGPU] Fix mode register pass for constrained FP operations (#90085)
This PR will fix the si-mode-register pass which is inserting an extra
setreg instruction in case of constrained FP operations. This pass will
be ignored for strictfp functions.
Commit: 401ecb4ccc2a319e55155b6a8558aa3478e5405e
https://github.com/llvm/llvm-project/commit/401ecb4ccc2a319e55155b6a8558aa3478e5405e
Author: Florian Hahn <flo at fhahn.com>
Date: 2024-05-03 (Fri, 03 May 2024)
Changed paths:
M llvm/test/Transforms/LoopVectorize/reduction-with-invariant-store.ll
Log Message:
-----------
[LV] Add test showing miscompile with store reductions and RT checks.
Add anew test showing how a loop gets vectorized incorrectly with a
invariant store reduction where the same location is also read, when
vectorizing with runtime checks.
Commit: e2b3e4ea9f2d0cb34d197439cfbc5090cdacb124
https://github.com/llvm/llvm-project/commit/e2b3e4ea9f2d0cb34d197439cfbc5090cdacb124
Author: Alex Langford <alangford at apple.com>
Date: 2024-05-03 (Fri, 03 May 2024)
Changed paths:
M lldb/source/Plugins/SymbolFile/DWARF/DWARFASTParserClang.cpp
M lldb/source/Plugins/SymbolFile/DWARF/DWARFBaseDIE.cpp
M lldb/source/Plugins/SymbolFile/DWARF/DWARFBaseDIE.h
M lldb/source/Plugins/SymbolFile/DWARF/DWARFDefines.cpp
M lldb/source/Plugins/SymbolFile/DWARF/DWARFDefines.h
M lldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARF.cpp
Log Message:
-----------
[lldb][NFCI] Unify DW_TAG -> string conversions (#90657)
The high level goal is to have 1 way of converting a DW_TAG value into a
human-readable string.
There are 3 ways this change accomplishes that:
1.) Changing DW_TAG_value_to_name to not create custom error strings.
The way it was doing this is error-prone: Specifically, it was using a
function-local static char buffer and handing out a pointer to it.
Initialization of this is thread-safe, but mutating it is definitely
not. Multiple threads that want to call this function could step on
each others toes. The implementation in this patch sidesteps the issue
by just returning a StringRef with no mention of the tag value in it.
2.) Changing all uses of DW_TAG_value_to_name to log the value of the
tag since the function doesn't create a string with the value in it
anymore.
3.) Removing `DWARFBaseDIE::GetTagAsCString()`. Callers should call
DW_TAG_value_to_name on the tag directly.
Commit: a8fbe500fe2ecdbd3c09ed06788092937819411f
https://github.com/llvm/llvm-project/commit/a8fbe500fe2ecdbd3c09ed06788092937819411f
Author: Jonas Devlieghere <jonas at devlieghere.com>
Date: 2024-05-03 (Fri, 03 May 2024)
Changed paths:
M lldb/include/lldb/Utility/Log.h
M lldb/source/Utility/Log.cpp
M lldb/unittests/Utility/LogTest.cpp
Log Message:
-----------
[lldb] Add TeeLogHandler to log to 2 handlers (#90984)
Add a T-style log handler that multiplexes messages to two log handlers.
The goal is to use this in combination with the SystemLogHandler to log
messages both to the user requested file as well as the system log. The
latter is part of a sysdiagnose on Darwin which is commonly attached to
bug reports.
Commit: 46c2d936624322e141c6eff319e1ad2d25f1afd7
https://github.com/llvm/llvm-project/commit/46c2d936624322e141c6eff319e1ad2d25f1afd7
Author: annamthomas <anna at azul.com>
Date: 2024-05-03 (Fri, 03 May 2024)
Changed paths:
M llvm/lib/Passes/StandardInstrumentations.cpp
M llvm/test/Other/dump-before-after-invalidated.ll
M llvm/test/Other/loop-pass-ordering.ll
M llvm/test/Other/loop-print-after-pass-invalidated.ll
M llvm/test/Other/loopnest-pass-ordering.ll
M llvm/test/Other/print-at-pass-number.ll
M llvm/test/Transforms/LoopPredication/invalidate-analyses.ll
M llvm/test/Transforms/LoopRotate/pr35210.ll
M llvm/test/Transforms/LoopUnroll/revisit.ll
M llvm/test/Transforms/SimpleLoopUnswitch/nontrivial-unswitch-markloopasdeleted.ll
Log Message:
-----------
[StandardInstrumentation] Annotate loops with the function name (#90756)
When analyzing pass debug output it is helpful to have the function name
along with the loop name.
Commit: a4d10266d20bfe5930dfed77e17832af341ed66e
https://github.com/llvm/llvm-project/commit/a4d10266d20bfe5930dfed77e17832af341ed66e
Author: David Green <david.green at arm.com>
Date: 2024-05-03 (Fri, 03 May 2024)
Changed paths:
M llvm/lib/Transforms/Vectorize/VectorCombine.cpp
M llvm/test/Transforms/PhaseOrdering/AArch64/interleavevectorization.ll
M llvm/test/Transforms/VectorCombine/AArch64/shuffletoidentity.ll
M llvm/test/Transforms/VectorCombine/X86/select-shuffle.ll
Log Message:
-----------
[VectorCombine] Add foldShuffleToIdentity (#88693)
This patch adds a basic version of a combine that attempts to remove
shuffles that when combined simplify away to an identity shuffle. For
example:
%ab = shufflevector <8 x half> %a, <8 x half> poison, <4 x i32> <i32 3,
i32 2, i32 1, i32 0>
%at = shufflevector <8 x half> %a, <8 x half> poison, <4 x i32> <i32 7,
i32 6, i32 5, i32 4>
%abt = fneg <4 x half> %at
%abb = fneg <4 x half> %ab
%r = shufflevector <4 x half> %abt, <4 x half> %abb, <8 x i32> <i32 7,
i32 6, i32 5, i32 4, i32 3, i32 2, i32 1, i32 0>
By looking through the shuffles and fneg, it can be simplified to:
%r = fneg <8 x half> %a
The code tracks each lane starting from the original shuffle, keeping a
track of a vector of {src, idx}. As we propagate up through the
instructions we will either look through intermediate instructions
(binops and unops) or see a collections of lanes that all have the same
src and incrementing idx (an identity). We can also see a single value
with identical lanes, which we can treat like a splat.
Only the basic version is added here, handling identities, splats,
binops and unops. In follow-up patches other instructions can be added
such as constants, intrinsics, cmp/sel and zext/sext/trunc.
Commit: f8a9973f8c1ef60281ace6f3cfeb24d9dcd5b3c3
https://github.com/llvm/llvm-project/commit/f8a9973f8c1ef60281ace6f3cfeb24d9dcd5b3c3
Author: Valentin Clement (バレンタイン クレメン) <clementval at gmail.com>
Date: 2024-05-03 (Fri, 03 May 2024)
Changed paths:
M flang/include/flang/Optimizer/Dialect/FIROps.td
M flang/lib/Optimizer/Dialect/FIROps.cpp
M flang/test/Fir/cuf-invalid.fir
Log Message:
-----------
[flang][cuda] Add verifier for cuda_alloc/cuda_free (#90983)
Adding a verifier to check the associated cuda attribute.
Commit: 2f58b9aae2d6f1aeaecd98766ef31cebc0dcbb5b
https://github.com/llvm/llvm-project/commit/2f58b9aae2d6f1aeaecd98766ef31cebc0dcbb5b
Author: Anthony Ha <anthonyha96 at gmail.com>
Date: 2024-05-03 (Fri, 03 May 2024)
Changed paths:
M lldb/include/lldb/Target/Platform.h
M lldb/include/lldb/Target/RemoteAwarePlatform.h
M lldb/source/Plugins/Platform/MacOSX/PlatformDarwinDevice.cpp
M lldb/source/Plugins/Platform/gdb-server/PlatformRemoteGDBServer.cpp
M lldb/source/Plugins/Platform/gdb-server/PlatformRemoteGDBServer.h
M lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.cpp
M lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.h
M lldb/source/Target/Platform.cpp
M lldb/source/Target/RemoteAwarePlatform.cpp
Log Message:
-----------
[lldb] Unify CalculateMD5 return types (#90921)
# Overview
In my previous PR: https://github.com/llvm/llvm-project/pull/88812,
@JDevlieghere suggested to match return types of the various calculate
md5 functions.
This PR achieves that by changing the various calculate md5 functions to
return `llvm::ErrorOr<llvm::MD5::MD5Result>`.
The suggestion was to go for `std::optional<>` but I opted for
`llvm::ErrorOr<>` because local calculate md5 was already possibly
returning `ErrorOr`.
To make sure I didn't break the md5 calculation functionality, I ran
some tests for the gdb remote client, and things seem to work.
# Testing
1. Remote file doesn't exist
![image](https://github.com/llvm/llvm-project/assets/1326275/b26859e2-18c3-4685-be8f-c6b6a5a4bc77)
1. Remote file differs
![image](https://github.com/llvm/llvm-project/assets/1326275/cbdb3c58-555a-401b-9444-c5ff4c04c491)
1. Remote file matches
![image](https://github.com/llvm/llvm-project/assets/1326275/07561572-22d1-4e0a-988f-bc91b5c2ffce)
## Test gaps
Unfortunately, I had to modify
`lldb/source/Plugins/Platform/MacOSX/PlatformDarwinDevice.cpp` and I
can't test the changes there. Hopefully, the existing test suite / code
review from whomever is reading this will catch any issues.
Co-authored-by: Anthony Ha <antha at microsoft.com>
Commit: 70b79a9ccd03f93fc4c8464a91b6bef3aab322d3
https://github.com/llvm/llvm-project/commit/70b79a9ccd03f93fc4c8464a91b6bef3aab322d3
Author: Joseph Huber <huberjn at outlook.com>
Date: 2024-05-03 (Fri, 03 May 2024)
Changed paths:
M clang/lib/Sema/SemaChecking.cpp
M clang/test/CodeGenOpenCL/builtins-amdgcn.cl
Log Message:
-----------
[AMDGPU] Allow the `__builtin_flt_rounds` functions on AMDGPU (#90994)
Summary:
Previous patches added support for the LLVM rounding intrinsic
functions. This patch allows them to me emitted using the clang builtins
when targeting AMDGPU.
Commit: f8ff51e1b08643b23f90e1a39c3fb55a23d2dc84
https://github.com/llvm/llvm-project/commit/f8ff51e1b08643b23f90e1a39c3fb55a23d2dc84
Author: Noah Goldstein <goldstein.w.n at gmail.com>
Date: 2024-05-03 (Fri, 03 May 2024)
Changed paths:
M llvm/test/Transforms/Inline/access-attributes-prop.ll
Log Message:
-----------
[Inliner] Add tests for not propagating `writable` if `readonly` is present; NFC
Commit: 285dbed147e243f416b003e150d67ffb0922ff16
https://github.com/llvm/llvm-project/commit/285dbed147e243f416b003e150d67ffb0922ff16
Author: Noah Goldstein <goldstein.w.n at gmail.com>
Date: 2024-05-03 (Fri, 03 May 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
Log Message:
-----------
[Inliner] Propagate callee argument memory access attributes before inlining
To avoid losing information, we can propagate some access attribute
from the to-be-inlined callee to its callsites.
We can propagate argument memory access attributes to callsite
parameters if they are from the same underlying object.
Closes #89024
Commit: d8428dfeb8d9a0bbb5345f96f29a4a66eb950769
https://github.com/llvm/llvm-project/commit/d8428dfeb8d9a0bbb5345f96f29a4a66eb950769
Author: Noah Goldstein <goldstein.w.n at gmail.com>
Date: 2024-05-03 (Fri, 03 May 2024)
Changed paths:
M llvm/include/llvm/IR/PatternMatch.h
M llvm/unittests/IR/PatternMatch.cpp
Log Message:
-----------
[PatternMatching] Add generic API for matching constants using custom conditions
The new API is:
`m_CheckedInt(Lambda)`/`m_CheckedFp(Lambda)`
- Matches non-undef constants s.t `Lambda(ele)` is true for all
elements.
`m_CheckedIntAllowUndef(Lambda)`/`m_CheckedFpAllowUndef(Lambda)`
- Matches constants/undef s.t `Lambda(ele)` is true for all
elements.
The goal with these is to be able to replace the common usage of:
```
match(X, m_APInt(C)) && CustomCheck(C)
```
with
```
match(X, m_CheckedInt(C, CustomChecks);
```
The rationale if we often ignore non-splat vectors because there are
no good APIs to handle them with and its not worth increasing code
complexity for such cases.
The hope is the API creates a common method handling
scalars/splat-vecs/non-splat-vecs to essentially make this a
non-issue.
Commit: 1708788d2d1091d1663cd859c5913121463a6b73
https://github.com/llvm/llvm-project/commit/1708788d2d1091d1663cd859c5913121463a6b73
Author: Noah Goldstein <goldstein.w.n at gmail.com>
Date: 2024-05-03 (Fri, 03 May 2024)
Changed paths:
M llvm/test/Transforms/InstCombine/icmp-div-constant.ll
Log Message:
-----------
[InstCombine] Add non-splat test for `(icmp (lshr x, y), x)`; NFC
Commit: f561daf989cfe011dd0edafc4621fac5ed421435
https://github.com/llvm/llvm-project/commit/f561daf989cfe011dd0edafc4621fac5ed421435
Author: Noah Goldstein <goldstein.w.n at gmail.com>
Date: 2024-05-03 (Fri, 03 May 2024)
Changed paths:
M llvm/lib/Transforms/InstCombine/InstCombineCompares.cpp
M llvm/test/Transforms/InstCombine/icmp-div-constant.ll
Log Message:
-----------
[InstCombine] Add example usage for new Checked matcher API
There is no real motivation for this change other than to highlight a
case where the new `Checked` matcher API can handle non-splat-vecs
without increasing code complexity.
Closes #85676
Commit: ca8b064973b5bf31168a60b41ee9c071cf321777
https://github.com/llvm/llvm-project/commit/ca8b064973b5bf31168a60b41ee9c071cf321777
Author: Jonas Devlieghere <jonas at devlieghere.com>
Date: 2024-05-03 (Fri, 03 May 2024)
Changed paths:
M lldb/include/lldb/Target/Platform.h
M lldb/include/lldb/Target/RemoteAwarePlatform.h
M lldb/source/Plugins/Platform/MacOSX/PlatformDarwinDevice.cpp
M lldb/source/Plugins/Platform/gdb-server/PlatformRemoteGDBServer.cpp
M lldb/source/Plugins/Platform/gdb-server/PlatformRemoteGDBServer.h
M lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.cpp
M lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.h
M lldb/source/Target/Platform.cpp
M lldb/source/Target/RemoteAwarePlatform.cpp
Log Message:
-----------
Revert "[lldb] Unify CalculateMD5 return types" (#90998)
Reverts llvm/llvm-project#90921
Commit: 3cf574da407b9be01cc86f0ad2902c5d2ff8f078
https://github.com/llvm/llvm-project/commit/3cf574da407b9be01cc86f0ad2902c5d2ff8f078
Author: whisperity <whisperity at gmail.com>
Date: 2024-05-03 (Fri, 03 May 2024)
Changed paths:
M clang-tools-extra/docs/clang-tidy/checks/bugprone/bad-signal-to-kill-thread.rst
M clang-tools-extra/docs/clang-tidy/checks/bugprone/macro-parentheses.rst
M clang-tools-extra/docs/clang-tidy/checks/bugprone/suspicious-memory-comparison.rst
M clang-tools-extra/docs/clang-tidy/checks/concurrency/thread-canceltype-asynchronous.rst
M clang-tools-extra/docs/clang-tidy/checks/misc/throw-by-value-catch-by-reference.rst
Log Message:
-----------
[clang-tidy][NFC] Document CERT rule coverage and aliases for some primary checks (#90965)
Commit: 7ec698e6edf5add1f0b49b42fba707bea4b80225
https://github.com/llvm/llvm-project/commit/7ec698e6edf5add1f0b49b42fba707bea4b80225
Author: Matt Arsenault <Matthew.Arsenault at amd.com>
Date: 2024-05-03 (Fri, 03 May 2024)
Changed paths:
A llvm/test/CodeGen/AMDGPU/llvm.maximum.f16.ll
A llvm/test/CodeGen/AMDGPU/llvm.maximum.f32.ll
A llvm/test/CodeGen/AMDGPU/llvm.maximum.f64.ll
A llvm/test/CodeGen/AMDGPU/llvm.minimum.f16.ll
A llvm/test/CodeGen/AMDGPU/llvm.minimum.f32.ll
A llvm/test/CodeGen/AMDGPU/llvm.minimum.f64.ll
Log Message:
-----------
AMDGPU: Add tests for minimum and maximum intrinsics (#90997)
Baseline tests for new expansion. I think we can do better and avoid the
classes.
Commit: 9299a136dc34be56ada6d957a438d9d5a7c91df2
https://github.com/llvm/llvm-project/commit/9299a136dc34be56ada6d957a438d9d5a7c91df2
Author: Chris B <chris.bieneman at me.com>
Date: 2024-05-03 (Fri, 03 May 2024)
Changed paths:
M llvm/test/CodeGen/DirectX/strip-fn-attrs.ll
Log Message:
-----------
[DirectX] Remove unneccary check lines (#90979)
These check lines break as of 91446e2aa687e due to changes in how LLVM
handles debug information. Since debug informaiton isn't important to
what this test is verifying we can remove the check lines.
Commit: 2cde0e2f9779bf755ee9fd97e497bc948296c0c7
https://github.com/llvm/llvm-project/commit/2cde0e2f9779bf755ee9fd97e497bc948296c0c7
Author: Jorge Gorbe Moya <jgorbe at google.com>
Date: 2024-05-03 (Fri, 03 May 2024)
Changed paths:
M llvm/lib/Transforms/Utils/BasicBlockUtils.cpp
R llvm/test/Transforms/LoopUnroll/unroll-remove-redundant-dbg.ll
M llvm/test/Transforms/SimplifyCFG/hoist-dbgvalue-inlined.ll
M llvm/test/Transforms/SimplifyCFG/hoist-dbgvalue.ll
Log Message:
-----------
Revert "[BasicBlockUtils] Remove redundant llvm.dbg instructions after blocks to reduce compile time (#89069)"
This reverts commit 2e3e0868748635b779ba89a772eae3664bd822e4. It caused
quadratic slowdown at compilation time in some cases. See the comments
in the original PR: https://github.com/llvm/llvm-project/pull/89069
Commit: b8d38bb56d59bee39872fee348a07f79c12f51ae
https://github.com/llvm/llvm-project/commit/b8d38bb56d59bee39872fee348a07f79c12f51ae
Author: jeffreytan81 <jeffreytan at meta.com>
Date: 2024-05-03 (Fri, 03 May 2024)
Changed paths:
M lldb/packages/Python/lldbsuite/test/tools/lldb-dap/dap_server.py
M lldb/test/API/tools/lldb-dap/variables/TestDAP_variables.py
M lldb/tools/lldb-dap/JSONUtils.cpp
Log Message:
-----------
Fix dap variable value format issue (#90799)
While adding a UI feature in VSCode to toggle hex/dec in variables view
window. I noticed that it does not work after second toggle. Then I
noticed that there is a bug that we only explicitly set hex format not
reset back to default during further toggle. The new test demonstrates
the bug.
This PR resets the format back to default if not using hex. One
complexity is that, we explicitly set registers value format to
AddressInfo, which shouldn't be overridden by default or hex settings.
---------
Co-authored-by: jeffreytan81 <jeffreytan at fb.com>
Commit: 4e6d30e2c17fa2be3bc5106c2541fddb62b2d4ee
https://github.com/llvm/llvm-project/commit/4e6d30e2c17fa2be3bc5106c2541fddb62b2d4ee
Author: Reid Kleckner <rnk at google.com>
Date: 2024-05-03 (Fri, 03 May 2024)
Changed paths:
M clang/include/clang/Basic/AttrDocs.td
Log Message:
-----------
[clang] Note that optnone and target attributes do not apply to nested functions (#82815)
This behavior is true for all attributes, but this behavior can be
surprising for attributes which have function-wide effects, such as
`optnone` and `target`. Most other function attributes affect the
prototype or semantics, but do not affect code generation in the
function body. I believe it is worth calling this out in the
documentation of these function-wide attributes. There may be more,
these were the two that came to mind.
Commit: 9620d3ee3ee996b0546d60a104211be49401bbd8
https://github.com/llvm/llvm-project/commit/9620d3ee3ee996b0546d60a104211be49401bbd8
Author: Alexey Bataev <a.bataev at outlook.com>
Date: 2024-05-03 (Fri, 03 May 2024)
Changed paths:
A llvm/test/Transforms/SLPVectorizer/RISCV/shuffled-gather-casted.ll
Log Message:
-----------
[SLP][NFC]Add a test with incorrect casting of shuffled gathered values, NFC.
Commit: 385faf9cdefeed5a2f51072d227842be0e36135c
https://github.com/llvm/llvm-project/commit/385faf9cdefeed5a2f51072d227842be0e36135c
Author: Reid Kleckner <rnk at google.com>
Date: 2024-05-03 (Fri, 03 May 2024)
Changed paths:
M llvm/lib/Target/ARM/ARMISelLowering.cpp
M llvm/lib/Target/ARM/ARMISelLowering.h
M llvm/lib/Target/X86/X86ISelLowering.h
M llvm/lib/Target/X86/X86ISelLoweringCall.cpp
Log Message:
-----------
[ARM/X86] Standardize the isEligibleForTailCallOptimization prototypes (#90688)
Pass in CallLoweringInfo (CLI) instead of passing in the various fields
directly. Also pass in CCState (CCInfo), which is computed in both the
caller and the callee for a minor efficiency saving. There may also be a
small correctness improvement for sibcalls with vectorcall, which has an
odd way of recomputing argument locations.
This is a step towards improving the handling of musttail on armv7,
which we have numerous issues filed about in our tracker.
I took inspiration for this from the RISCV tail call eligibility check,
which uses a similar prototype.
Commit: 48039b195bf03ea67bd4ed2a1f3df18e2f9d06ef
https://github.com/llvm/llvm-project/commit/48039b195bf03ea67bd4ed2a1f3df18e2f9d06ef
Author: Reid Kleckner <rnk at google.com>
Date: 2024-05-03 (Fri, 03 May 2024)
Changed paths:
M llvm/utils/gn/secondary/lldb/test/BUILD.gn
Log Message:
-----------
Revert "[gn] port 2d4acb086541 (LLVM_ENABLE_CURL)"
This reverts commit 0558c7e01db81b3ac307fe59737fefd8bd060873 to match
the revert of 2d4acb086541 in 327bfc971e4dce3f6798843c92406cda95c07ba1
Commit: 03972261a93853d3e84857b4bed816648d3549f0
https://github.com/llvm/llvm-project/commit/03972261a93853d3e84857b4bed816648d3549f0
Author: Alexey Bataev <a.bataev at outlook.com>
Date: 2024-05-03 (Fri, 03 May 2024)
Changed paths:
M llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
M llvm/test/Transforms/SLPVectorizer/RISCV/shuffled-gather-casted.ll
Log Message:
-----------
[SLP]Fix PR90892: do a correct sign analysis of the entries elements in gather shuffles.
Need to do extra analysis of the scalar elements of the tree entry to be
shuffled instead of the vectorized value to correctly deduce signedness
info.
Commit: 3191e0b52725aa17651e38d26284386f3ea64eb6
https://github.com/llvm/llvm-project/commit/3191e0b52725aa17651e38d26284386f3ea64eb6
Author: Krystian Stasiowski <sdkrystian at gmail.com>
Date: 2024-05-03 (Fri, 03 May 2024)
Changed paths:
M clang/lib/Sema/SemaLookup.cpp
M clang/test/CXX/temp/temp.res/temp.dep/temp.dep.type/p4.cpp
Log Message:
-----------
[Clang][Sema] Fix template name lookup for operator= (#90999)
This fixes a bug in #90152 where `operator=` was never looked up in the
current instantiation, resulting in `<` never being interpreted as the
start of a template argument list.
Since function templates are not copy/move assignment operators, the fix
is accomplished by allowing lookup in the current instantiation for
`operator=` when looking up a template name.
Commit: 5d81b1c50a6eadc5d2ebe8c524dd2daa665402d7
https://github.com/llvm/llvm-project/commit/5d81b1c50a6eadc5d2ebe8c524dd2daa665402d7
Author: Heejin Ahn <aheejin at gmail.com>
Date: 2024-05-03 (Fri, 03 May 2024)
Changed paths:
M clang/lib/Basic/Targets/WebAssembly.cpp
M clang/test/Preprocessor/wasm-target-features.c
Log Message:
-----------
[WebAssembly] Add all remaining features to bleeding-edge (#90875)
I'm not entirely sure what the criteria for 'bleeding-edge' used to be,
but at this point it seems to be the set of all added features in LLVM.
This adds remaining features to bleeding-edge config.
Commit: b05a12e9d0b668effa50f566508daa279ec85c93
https://github.com/llvm/llvm-project/commit/b05a12e9d0b668effa50f566508daa279ec85c93
Author: Benoit Jacob <jacob.benoit.1 at gmail.com>
Date: 2024-05-03 (Fri, 03 May 2024)
Changed paths:
M mlir/include/mlir/Dialect/MemRef/IR/MemRefOps.td
M mlir/lib/Dialect/MemRef/IR/MemRefOps.cpp
M mlir/test/Dialect/MemRef/resolve-dim-ops.mlir
Log Message:
-----------
Let `memref.expand_shape` implement `ReifyRankedShapedTypeOpInterface` (#90975)
This is a new take on #89111. Now that #90040 is merged, this has become
trivial to implement. The added test shows the kind of benefit that we
get from this: now dim-of-expand-shape naturally folds without us
needing to implement an ad-hoc folding rewrite.
Commit: e5cbe8fd9c12483260e50edb24c00e50a78a3e12
https://github.com/llvm/llvm-project/commit/e5cbe8fd9c12483260e50edb24c00e50a78a3e12
Author: Teresa Johnson <tejohnson at google.com>
Date: 2024-05-03 (Fri, 03 May 2024)
Changed paths:
M llvm/lib/Transforms/Instrumentation/MemProfiler.cpp
A llvm/test/Transforms/PGOProfile/memprof_match_hot_cold_new_calls.ll
Log Message:
-----------
[MemProf] Optionally match profiles on to manually hinted hot/cold new (#91027)
While we don't currently rewrite the hints on manually hot/cold hinted
allocations, enable optionally matching profiles onto those allocations
as a first step to being able to do this.
By explicitly checking whether the library function is in the list of
operator new also fixes one limitation of the prior call to isNewLikeFn.
Some operator new calls (those that specify nothrow) are considered
Malloc-like because they may return null. We want to be able to match
and rewrite these. Therefore the new test uses a nothrow variant to test
the fix for this as well.
Commit: a441645f80bed10927f00e1b0dc35666306ca8d5
https://github.com/llvm/llvm-project/commit/a441645f80bed10927f00e1b0dc35666306ca8d5
Author: Vitaly Buka <vitalybuka at google.com>
Date: 2024-05-03 (Fri, 03 May 2024)
Changed paths:
M llvm/lib/Transforms/Instrumentation/ThreadSanitizer.cpp
M llvm/test/Instrumentation/ThreadSanitizer/tsan_basic.ll
Log Message:
-----------
[tsan] Don't crash on vscale (#91018)
Co-authored-by: Heejin Ahn <aheejin at gmail.com>
Commit: 0c7e706c08fe4d13b5b8105dc62515a39b14ff5c
https://github.com/llvm/llvm-project/commit/0c7e706c08fe4d13b5b8105dc62515a39b14ff5c
Author: Craig Topper <craig.topper at sifive.com>
Date: 2024-05-03 (Fri, 03 May 2024)
Changed paths:
M llvm/test/CodeGen/AArch64/pr90936.ll
Log Message:
-----------
[AArch64] Pre-commit another test case for #90936. NFC
Another similar problem was added to the ticket after the first fix.
Commit: cd3a4c31bc9694d160de54c6a4daa53e152cb463
https://github.com/llvm/llvm-project/commit/cd3a4c31bc9694d160de54c6a4daa53e152cb463
Author: Johannes Doerfert <johannes at jdoerfert.de>
Date: 2024-05-03 (Fri, 03 May 2024)
Changed paths:
M llvm/test/Transforms/Attributor/ArgumentPromotion/2008-02-01-ReturnAttrs.ll
M llvm/test/Transforms/Attributor/ArgumentPromotion/2008-09-08-CGUpdateSelfEdge.ll
M llvm/test/Transforms/Attributor/ArgumentPromotion/X86/attributes.ll
M llvm/test/Transforms/Attributor/ArgumentPromotion/X86/min-legal-vector-width.ll
M llvm/test/Transforms/Attributor/ArgumentPromotion/X86/thiscall.ll
M llvm/test/Transforms/Attributor/ArgumentPromotion/aggregate-promote.ll
M llvm/test/Transforms/Attributor/ArgumentPromotion/alloca-as.ll
M llvm/test/Transforms/Attributor/ArgumentPromotion/attrs.ll
M llvm/test/Transforms/Attributor/ArgumentPromotion/byval-2.ll
M llvm/test/Transforms/Attributor/ArgumentPromotion/byval.ll
M llvm/test/Transforms/Attributor/ArgumentPromotion/chained.ll
M llvm/test/Transforms/Attributor/ArgumentPromotion/dbg.ll
M llvm/test/Transforms/Attributor/ArgumentPromotion/invalidation.ll
M llvm/test/Transforms/Attributor/ArgumentPromotion/naked_functions.ll
M llvm/test/Transforms/Attributor/ArgumentPromotion/nonzero-address-spaces.ll
M llvm/test/Transforms/Attributor/ArgumentPromotion/pr27568.ll
M llvm/test/Transforms/Attributor/ArgumentPromotion/pr32917.ll
M llvm/test/Transforms/Attributor/ArgumentPromotion/pr33641_remove_arg_dbgvalue.ll
M llvm/test/Transforms/Attributor/ArgumentPromotion/profile.ll
M llvm/test/Transforms/Attributor/ArgumentPromotion/reserve-tbaa.ll
M llvm/test/Transforms/Attributor/ArgumentPromotion/variadic.ll
M llvm/test/Transforms/Attributor/IPConstantProp/2009-09-24-byval-ptr.ll
M llvm/test/Transforms/Attributor/IPConstantProp/PR16052.ll
M llvm/test/Transforms/Attributor/IPConstantProp/PR43857.ll
M llvm/test/Transforms/Attributor/IPConstantProp/comdat-ipo.ll
M llvm/test/Transforms/Attributor/IPConstantProp/dangling-block-address.ll
M llvm/test/Transforms/Attributor/IPConstantProp/deadarg.ll
M llvm/test/Transforms/Attributor/IPConstantProp/global.ll
M llvm/test/Transforms/Attributor/IPConstantProp/multiple_callbacks.ll
M llvm/test/Transforms/Attributor/IPConstantProp/openmp_parallel_for.ll
M llvm/test/Transforms/Attributor/IPConstantProp/pthreads.ll
M llvm/test/Transforms/Attributor/IPConstantProp/remove-call-inst.ll
M llvm/test/Transforms/Attributor/IPConstantProp/return-constants.ll
M llvm/test/Transforms/Attributor/IPConstantProp/thread_local_acs.ll
M llvm/test/Transforms/Attributor/address_space_info.ll
M llvm/test/Transforms/Attributor/allocator.ll
M llvm/test/Transforms/Attributor/callbacks.ll
M llvm/test/Transforms/Attributor/callgraph.ll
M llvm/test/Transforms/Attributor/convergent.ll
M llvm/test/Transforms/Attributor/depgraph.ll
M llvm/test/Transforms/Attributor/dereferenceable-1.ll
M llvm/test/Transforms/Attributor/heap_to_stack.ll
M llvm/test/Transforms/Attributor/heap_to_stack_gpu.ll
M llvm/test/Transforms/Attributor/liveness.ll
M llvm/test/Transforms/Attributor/memory_locations.ll
M llvm/test/Transforms/Attributor/memory_locations_gpu.ll
M llvm/test/Transforms/Attributor/misc_crash.ll
M llvm/test/Transforms/Attributor/new_attributes.ll
M llvm/test/Transforms/Attributor/noalias.ll
M llvm/test/Transforms/Attributor/nocapture-1.ll
M llvm/test/Transforms/Attributor/nofpclass.ll
M llvm/test/Transforms/Attributor/nofree.ll
M llvm/test/Transforms/Attributor/nonnull.ll
M llvm/test/Transforms/Attributor/norecurse.ll
M llvm/test/Transforms/Attributor/noreturn_async.ll
M llvm/test/Transforms/Attributor/noreturn_sync.ll
M llvm/test/Transforms/Attributor/nosync.ll
M llvm/test/Transforms/Attributor/noundef.ll
M llvm/test/Transforms/Attributor/nounwind.ll
M llvm/test/Transforms/Attributor/openmp_parallel.ll
M llvm/test/Transforms/Attributor/potential.ll
M llvm/test/Transforms/Attributor/range.ll
M llvm/test/Transforms/Attributor/readattrs.ll
M llvm/test/Transforms/Attributor/reduced/aa_execution_domain_wrong_fn.ll
M llvm/test/Transforms/Attributor/reduced/missed_cached_entry_for_intra_reachability.ll
M llvm/test/Transforms/Attributor/reduced/openmp_opt_global_read.ll
M llvm/test/Transforms/Attributor/reduced/openmp_opt_global_synced.ll
M llvm/test/Transforms/Attributor/reduced/pred_iterator_crash.ll
M llvm/test/Transforms/Attributor/returned.ll
M llvm/test/Transforms/Attributor/undefined_behavior.ll
M llvm/test/Transforms/Attributor/value-simplify-assume.ll
M llvm/test/Transforms/Attributor/value-simplify-dbg.ll
M llvm/test/Transforms/Attributor/value-simplify-dominance.ll
M llvm/test/Transforms/Attributor/value-simplify-gpu.ll
M llvm/test/Transforms/Attributor/value-simplify-instances.ll
M llvm/test/Transforms/Attributor/value-simplify-pointer-info-struct.ll
M llvm/test/Transforms/Attributor/value-simplify-reachability.ll
M llvm/test/Transforms/Attributor/value-simplify.ll
M llvm/test/Transforms/Attributor/willreturn.ll
M llvm/test/Transforms/OpenMP/always_inline_device.ll
M llvm/test/Transforms/OpenMP/barrier_removal.ll
M llvm/test/Transforms/OpenMP/custom_state_machines.ll
M llvm/test/Transforms/OpenMP/custom_state_machines_pre_lto.ll
M llvm/test/Transforms/OpenMP/get_hardware_num_threads_in_block_fold.ll
M llvm/test/Transforms/OpenMP/get_hardware_num_threads_in_block_fold_optnone.ll
M llvm/test/Transforms/OpenMP/hide_mem_transfer_latency.ll
M llvm/test/Transforms/OpenMP/icv_tracking.ll
M llvm/test/Transforms/OpenMP/is_spmd_exec_mode_fold.ll
M llvm/test/Transforms/OpenMP/keep_rpc_client.ll
M llvm/test/Transforms/OpenMP/nested_parallelism.ll
M llvm/test/Transforms/OpenMP/parallel_deletion.ll
M llvm/test/Transforms/OpenMP/parallel_level_fold.ll
M llvm/test/Transforms/OpenMP/remove_globalization.ll
M llvm/test/Transforms/OpenMP/remove_rpc_client.ll
M llvm/test/Transforms/OpenMP/replace_globalization.ll
M llvm/test/Transforms/OpenMP/spmdization.ll
M llvm/test/Transforms/OpenMP/spmdization_assumes.ll
M llvm/test/Transforms/OpenMP/spmdization_guarding.ll
M llvm/test/Transforms/OpenMP/spmdization_guarding_two_reaching_kernels.ll
M llvm/test/Transforms/OpenMP/spmdization_indirect.ll
M llvm/test/Transforms/OpenMP/spmdization_kernel_env_dep.ll
M llvm/test/Transforms/OpenMP/spmdization_no_guarding_two_reaching_kernels.ll
M llvm/test/Transforms/OpenMP/value-simplify-openmp-opt.ll
Log Message:
-----------
[Attributor][NFC] update tests (#91011)
Commit: 666679a559128fa209e4b74224ee5de3eeff0e9c
https://github.com/llvm/llvm-project/commit/666679a559128fa209e4b74224ee5de3eeff0e9c
Author: Fangrui Song <i at maskray.me>
Date: 2024-05-03 (Fri, 03 May 2024)
Changed paths:
M flang/lib/Evaluate/fold-real.cpp
Log Message:
-----------
[flang] Fix -Wunused-but-set-variable in lib/Evaluate
Commit: b958ef19489e508e367ad530d4512b7710591550
https://github.com/llvm/llvm-project/commit/b958ef19489e508e367ad530d4512b7710591550
Author: Maksim Levental <maksim.levental at gmail.com>
Date: 2024-05-03 (Fri, 03 May 2024)
Changed paths:
M llvm/docs/GettingInvolved.rst
Log Message:
-----------
Update GettingInvolved.rst (#91008)
Commit: e7939d0df6ba12fcb808ac68863f7bd9dab47110
https://github.com/llvm/llvm-project/commit/e7939d0df6ba12fcb808ac68863f7bd9dab47110
Author: paperchalice <liujunchang97 at outlook.com>
Date: 2024-05-04 (Sat, 04 May 2024)
Changed paths:
M llvm/include/llvm/Passes/MachinePassRegistry.def
M llvm/lib/Passes/PassBuilder.cpp
M llvm/lib/Passes/StandardInstrumentations.cpp
M llvm/test/CodeGen/MIR/X86/machine-verifier.mir
A llvm/test/tools/llc/new-pm/verify.mir
M llvm/tools/llc/NewPMDriver.cpp
Log Message:
-----------
[Instrumentation] Support verifying machine function (#90931)
We need it to test isel related passes. Currently
`verifyMachineFunction` is incomplete (no LiveIntervals support), but is
enough for testing isel pass, will migrate to complete
`MachineVerifierPass` in future.
Commit: 1022636b0ce3d9799037e59edb7ffb17f57489bb
https://github.com/llvm/llvm-project/commit/1022636b0ce3d9799037e59edb7ffb17f57489bb
Author: Joseph Huber <huberjn at outlook.com>
Date: 2024-05-03 (Fri, 03 May 2024)
Changed paths:
M libc/include/CMakeLists.txt
Log Message:
-----------
[libc] Fix assert dependency on macro header (#91036)
Summary:
This file was missing a dependency so it wasn't being installed.
Commit: a42a2ca19b2325fa6844d6b10e88eb53a3f2fde8
https://github.com/llvm/llvm-project/commit/a42a2ca19b2325fa6844d6b10e88eb53a3f2fde8
Author: Rafael Ubal <rubal at mathworks.com>
Date: 2024-05-04 (Sat, 04 May 2024)
Changed paths:
M mlir/include/mlir/Dialect/SCF/IR/SCFOps.td
M mlir/include/mlir/Interfaces/LoopLikeInterface.h
M mlir/include/mlir/Interfaces/LoopLikeInterface.td
M mlir/lib/Dialect/Bufferization/Transforms/BufferOptimizations.cpp
M mlir/test/Dialect/Bufferization/Transforms/buffer-loop-hoisting.mlir
Log Message:
-----------
Avoid buffer hoisting from parallel loops (#90735)
This change corrects an invalid behavior in pass
`--buffer-loop-hoisting`. The pass is in charge of extracting buffer
allocations (e.g., `memref.alloca`) from loop regions (e.g., `scf.for`)
when possible. This works OK for looks with sequential execution
semantics. However, a buffer allocated in the body of a parallel loop
may be concurrently accessed by multiple thread to store its local data.
Extracting such buffer from the loop causes all threads to wrongly share
the same memory region.
In the following example, dimension 1 of the input tensor is reversed.
Dimension 0 is traversed with a parallel loop.
```
func.func @f(%input: memref<2x3xf32>) -> memref<2x3xf32> {
%c0 = index.constant 0
%c1 = index.constant 1
%c2 = index.constant 2
%c3 = index.constant 3
%output = memref.alloc() : memref<2x3xf32>
scf.parallel (%index) = (%c0) to (%c2) step (%c1) {
// Create subviews for working input and output slices
%input_slice = memref.subview %input[%index, 2][1, 3][1, -1] : memref<2x3xf32> to memref<1x3xf32, strided<[3, -1], offset: ?>>
%output_slice = memref.subview %output[%index, 0][1, 3][1, 1] : memref<2x3xf32> to memref<1x3xf32, strided<[3, 1], offset: ?>>
// Copy the input slice into this temporary buffer. This intermediate
// copy is unnecessary, but is used for illustration purposes.
%temp = memref.alloc() : memref<1x3xf32>
memref.copy %input_slice, %temp : memref<1x3xf32, strided<[3, -1], offset: ?>> to memref<1x3xf32>
// Copy temporary buffer into output slice
memref.copy %temp, %output_slice : memref<1x3xf32> to memref<1x3xf32, strided<[3, 1], offset: ?>>
scf.reduce
}
return %output : memref<2x3xf32>
}
```
The patch submitted here prevents `%temp = memref.alloc() :
memref<1x3xf32>` from being hoisted when the containing op is
`scf.parallel` or `scf.forall`. A new op trait called
`HasParallelRegion` is introduced and assigned to these two ops to
indicate that their regions have parallel execution semantics.
@joker-eph @ftynse @nicolasvasilache @sabauma
Commit: 96aac6798bf6addcedebbb893669cc9c61fcf9c7
https://github.com/llvm/llvm-project/commit/96aac6798bf6addcedebbb893669cc9c61fcf9c7
Author: Patrick O'Neill <patrick at rivosinc.com>
Date: 2024-05-03 (Fri, 03 May 2024)
Changed paths:
M lld/ELF/Target.cpp
A lld/test/ELF/riscv-split-stack.s
Log Message:
-----------
[lld] Error on unsupported split stack (#88063)
Targets with no `-fstack-split` support now emit `ld.lld: error: target
doesn't support split stacks` instead of `UNREACHABLE executed` with a
backtrace asking the user to report a bug.
Resolves #88061
Commit: f16e234f1126f6646609b6918a37c8eb32c8fb3e
https://github.com/llvm/llvm-project/commit/f16e234f1126f6646609b6918a37c8eb32c8fb3e
Author: Nikita Popov <npopov at redhat.com>
Date: 2024-05-04 (Sat, 04 May 2024)
Changed paths:
M llvm/docs/InstCombineContributorGuide.md
Log Message:
-----------
[InstCombine] Do not request non-splat vector support in code reviews (NFC) (#90709)
The InstCombine contributor guide already says:
> Handle non-splat vector constants if doing so is free, but do
> not add handling for them if it adds any additional complexity
> to the code.
This change strengthens this guideline to explicitly discourage
asking (new) contributors to implement non-splat support during code
reviews. Doing so will almost certainly increase the number of
necessary review iterations, or result in outright contradictory review
feedback, as different people are willing to accept a different degree
of complexity for non-splat vector support.
Commit: 1343e68862874f1baf2d8523320e2278fcb9df32
https://github.com/llvm/llvm-project/commit/1343e68862874f1baf2d8523320e2278fcb9df32
Author: Andreas Jonson <andjo403 at hotmail.com>
Date: 2024-05-04 (Sat, 04 May 2024)
Changed paths:
M llvm/docs/ReleaseNotes.rst
M llvm/include/llvm-c/Core.h
M llvm/lib/IR/Core.cpp
M llvm/unittests/IR/AttributesTest.cpp
Log Message:
-----------
[C API] Add function to create ConstantRange attributes to C API (#90505)
Commit: 554459a02f2a2064d8f3b567670a436cfda11aaf
https://github.com/llvm/llvm-project/commit/554459a02f2a2064d8f3b567670a436cfda11aaf
Author: Kristof Beyls <kristof.beyls at arm.com>
Date: 2024-05-04 (Sat, 04 May 2024)
Changed paths:
M bolt/lib/Core/ParallelUtilities.cpp
Log Message:
-----------
[BOLT] Fix runOnEachFunctionWithUniqueAllocId (#90039)
When runOnEachFunctionWithUniqueAllocId is invoked with
ForceSequential=true, then the current implementation runs the function
with AllocId==0, which is the Id for the shared, non-unique, default
AnnotationAllocator.
However, the documentation for runOnEachFunctionWithUniqueAllocId
states:
```
/// Perform the work on each BinaryFunction except those that are rejected
/// by SkipPredicate, and create a unique annotation allocator for each
/// task. This should be used whenever the work function creates annotations to
/// allow thread-safe annotation creation.
```
Therefore, even when ForceSequential==true, a unique AllocId should be
used, i.e. different from 0.
In the current upstream BOLT this is presumably not depended on, but it
is needed to reduce memory usage for analyses that use a lot of
memory/annotations. Examples are the pac-ret and stack-clash analyses
that currently have prototype implementations as described in
https://discourse.llvm.org/t/rfc-bolt-based-binary-analysis-tool-to-verify-correctness-of-security-hardening/78148
These analyses use the DataFlowAnalysis framework to sometimes store
quite a lot of information on each MCInst. They run in parallel on each
function. When the dataflow analysis is finished, the annotations on
each MCInst can be removed, hugely saving on memory consumption. The
only annotations that need to remain are those that indicate some
unexpected properties somewhere in the binary.
Fixing this bug enables implementing the deletion of the memory used by
those huge number of DataFlowAnalysis annotations (by invoking
BC.MIB->freeValuesAllocator(AllocatorId)), even when run with
--no-threads. Without this bug fixed, the invocation of
BC.MIB->freeValuesAllocator(AllocatorId) results in also the memory for
all other annotations to be deleted, as AllocatorId is 0.
---------
Co-authored-by: Maksim Panchenko <maks at meta.com>
Commit: 294eecd4cbd8a1e0dcc0cdbe1238817b92ba7668
https://github.com/llvm/llvm-project/commit/294eecd4cbd8a1e0dcc0cdbe1238817b92ba7668
Author: Nikita Kniazev <kniazev.nikita at gmail.com>
Date: 2024-05-04 (Sat, 04 May 2024)
Changed paths:
M clang/docs/UsersManual.rst
Log Message:
-----------
[clang][docs] fix rendering issue in UsersManual.rst (#90308)
Commit: 1e3c630fd1e868c38a2ef6dab0be80bc8f65c4a1
https://github.com/llvm/llvm-project/commit/1e3c630fd1e868c38a2ef6dab0be80bc8f65c4a1
Author: orbiri <orzivh at gmail.com>
Date: 2024-05-04 (Sat, 04 May 2024)
Changed paths:
M mlir/include/mlir/IR/OpImplementation.h
M mlir/lib/AsmParser/AsmParserImpl.h
M mlir/lib/AsmParser/Parser.cpp
A mlir/test/IR/custom-float-attr-roundtrip.mlir
M mlir/test/IR/parser.mlir
M mlir/test/lib/Dialect/Test/TestAttrDefs.td
M mlir/test/lib/Dialect/Test/TestAttributes.cpp
Log Message:
-----------
[MLIR] Extend floating point parsing support (#90442)
Parsing support for floating point types was missing a few features:
1. Parsing floating point attributes from integer literals was supported
only for types with bitwidth smaller or equal to 64.
2. Downstream users could not use `AsmParser::parseFloat` to parse float
types which are printed as integer literals.
This commit addresses both these points. It extends
`Parser::parseFloatFromIntegerLiteral` to support arbitrary bitwidth,
and exposes a new API to parse arbitrary floating point given an
fltSemantics as input. The usage of this new API is introduced in the
Test Dialect.
Commit: caacf8685ac49526103b748b6b439dea84c30274
https://github.com/llvm/llvm-project/commit/caacf8685ac49526103b748b6b439dea84c30274
Author: Simon Pilgrim <llvm-dev at redking.me.uk>
Date: 2024-05-04 (Sat, 04 May 2024)
Changed paths:
M llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
M llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
M llvm/test/CodeGen/SystemZ/pr60413.ll
M llvm/test/CodeGen/X86/freeze-binary.ll
M llvm/test/CodeGen/X86/sdiv_fix_sat.ll
M llvm/test/CodeGen/X86/setcc-non-simple-type.ll
M llvm/test/CodeGen/X86/widen-load-of-small-alloca-with-zero-upper-half.ll
Log Message:
-----------
[DAG] Fold freeze(shuffle(x,y,m)) -> shuffle(freeze(x),freeze(y),m) (#90952)
If the shuffle mask contains no undef elements, then we can move the freeze through a shuffle node.
This requires special case handling to create a new ShuffleVectorSDNode.
Includes VECTOR_SHUFFLE support for isGuaranteedNotToBeUndefOrPoison / canCreateUndefOrPoison.
Commit: 76aa042dde6ba9ba57c680950f5818259ee02690
https://github.com/llvm/llvm-project/commit/76aa042dde6ba9ba57c680950f5818259ee02690
Author: Matt Stephanson <stephanson.matt at gmail.com>
Date: 2024-05-04 (Sat, 04 May 2024)
Changed paths:
M libcxx/test/std/numerics/rand/rand.dist/rand.dist.bern/rand.dist.bern.bernoulli/eval.pass.cpp
M libcxx/test/std/numerics/rand/rand.dist/rand.dist.bern/rand.dist.bern.bernoulli/eval_param.pass.cpp
M libcxx/test/std/numerics/rand/rand.dist/rand.dist.bern/rand.dist.bern.bin/eval.PR44847.pass.cpp
M libcxx/test/std/numerics/rand/rand.dist/rand.dist.bern/rand.dist.bern.bin/eval.pass.cpp
M libcxx/test/std/numerics/rand/rand.dist/rand.dist.bern/rand.dist.bern.bin/eval_param.pass.cpp
M libcxx/test/std/numerics/rand/rand.dist/rand.dist.bern/rand.dist.bern.geo/eval.pass.cpp
M libcxx/test/std/numerics/rand/rand.dist/rand.dist.bern/rand.dist.bern.geo/eval_param.pass.cpp
M libcxx/test/std/numerics/rand/rand.dist/rand.dist.bern/rand.dist.bern.negbin/eval.pass.cpp
M libcxx/test/std/numerics/rand/rand.dist/rand.dist.bern/rand.dist.bern.negbin/eval_param.pass.cpp
M libcxx/test/std/numerics/rand/rand.dist/rand.dist.norm/rand.dist.norm.cauchy/eval.pass.cpp
M libcxx/test/std/numerics/rand/rand.dist/rand.dist.norm/rand.dist.norm.chisq/eval.pass.cpp
M libcxx/test/std/numerics/rand/rand.dist/rand.dist.norm/rand.dist.norm.chisq/eval_param.pass.cpp
M libcxx/test/std/numerics/rand/rand.dist/rand.dist.norm/rand.dist.norm.lognormal/eval.pass.cpp
M libcxx/test/std/numerics/rand/rand.dist/rand.dist.norm/rand.dist.norm.lognormal/eval_param.pass.cpp
M libcxx/test/std/numerics/rand/rand.dist/rand.dist.norm/rand.dist.norm.t/eval.pass.cpp
M libcxx/test/std/numerics/rand/rand.dist/rand.dist.norm/rand.dist.norm.t/eval_param.pass.cpp
M libcxx/test/std/numerics/rand/rand.dist/rand.dist.pois/rand.dist.pois.exp/eval.pass.cpp
M libcxx/test/std/numerics/rand/rand.dist/rand.dist.pois/rand.dist.pois.exp/eval_param.pass.cpp
M libcxx/test/std/numerics/rand/rand.dist/rand.dist.pois/rand.dist.pois.extreme/eval.pass.cpp
M libcxx/test/std/numerics/rand/rand.dist/rand.dist.pois/rand.dist.pois.extreme/eval_param.pass.cpp
M libcxx/test/std/numerics/rand/rand.dist/rand.dist.pois/rand.dist.pois.gamma/eval.pass.cpp
M libcxx/test/std/numerics/rand/rand.dist/rand.dist.pois/rand.dist.pois.gamma/eval_param.pass.cpp
M libcxx/test/std/numerics/rand/rand.dist/rand.dist.pois/rand.dist.pois.poisson/eval.pass.cpp
M libcxx/test/std/numerics/rand/rand.dist/rand.dist.pois/rand.dist.pois.poisson/eval_param.pass.cpp
M libcxx/test/std/numerics/rand/rand.dist/rand.dist.samp/rand.dist.samp.discrete/eval.pass.cpp
M libcxx/test/std/numerics/rand/rand.dist/rand.dist.samp/rand.dist.samp.pconst/eval.pass.cpp
M libcxx/test/std/numerics/rand/rand.dist/rand.dist.samp/rand.dist.samp.plinear/eval.pass.cpp
M libcxx/test/std/numerics/rand/rand.dist/rand.dist.samp/rand.dist.samp.plinear/eval_param.pass.cpp
Log Message:
-----------
[libc++] Adjust some of the [rand.dist] critical values that are too strict (#88669)
Adjust some of the [rand.dist] critical values that are too strict
- Most critical values are determined empirically by running each test
51
times with a different PRNG seed and finding the smallest symmetric
interval
around the median that contains 90% of the sample means, variances, etc.
- For the Kolmogorov-Smirnov tests, the alpha=0.1 critical value for
large N
is 1.224/sqrt(N).
- For normally distributed variates, the sample kurtosis is distributed
as
Normal(0, 24/N). For N=1e5, this gives a 90% confidence interval of
0+/-0.0255. For Binomial(40, 0.25), which is approximately normal, the
kurtosis is -0.0167, so the relative 90% CI is large, on the order of
0.0255/0.0167 = 153%. In most cases the distribution of the sample
kurtosis
isn't known analytically, but similarly large relative tolerances can be
expected if the kurtosis is near zero.
Commit: 7ee6288312e8cde8d2e8ee48f87bbab966a89247
https://github.com/llvm/llvm-project/commit/7ee6288312e8cde8d2e8ee48f87bbab966a89247
Author: Kazu Hirata <kazu at google.com>
Date: 2024-05-04 (Sat, 04 May 2024)
Changed paths:
M llvm/include/llvm/Support/VirtualFileSystem.h
M llvm/include/llvm/Support/YAMLTraits.h
M llvm/lib/Support/APFloat.cpp
M llvm/lib/Support/CodeGenCoverage.cpp
M llvm/lib/Support/FileCollector.cpp
M llvm/lib/Support/JSON.cpp
M llvm/lib/Support/VirtualFileSystem.cpp
M llvm/lib/Support/YAMLTraits.cpp
Log Message:
-----------
[Support] Use StringRef::operator== instead of StringRef::equals (NFC) (#91042)
I'm planning to remove StringRef::equals in favor of
StringRef::operator==.
- StringRef::operator== outnumbers StringRef::equals by a factor of 25
under llvm/ in terms of their usage.
- The elimination of StringRef::equals brings StringRef closer to
std::string_view, which has operator== but not equals.
- S == "foo" is more readable than S.equals("foo"), especially for
!Long.Expression.equals("str") vs Long.Expression != "str".
Commit: cb015b9ec9446b3a1303980c095fa442d5e46fbf
https://github.com/llvm/llvm-project/commit/cb015b9ec9446b3a1303980c095fa442d5e46fbf
Author: Karl-Johan Karlsson <karl-johan.karlsson at ericsson.com>
Date: 2024-05-04 (Sat, 04 May 2024)
Changed paths:
M clang/lib/CodeGen/CGBuiltin.cpp
M clang/test/CodeGen/math-errno.c
A clang/test/CodeGen/pr87758.c
Log Message:
-----------
[clang][CodeGen] Propagate pragma set fast-math flags to floating point builtins (#90377)
This is a fix for the issue #87758 where fast-math flags are not
propagated all builtins.
It seems like pragmas with fast math flags was only propagated to calls
of unary floating point builtins. This patch propagate them also for
binary and ternary floating point builtins.
Commit: 028f1b078193b9120ddb441808521b6bd6eaed0e
https://github.com/llvm/llvm-project/commit/028f1b078193b9120ddb441808521b6bd6eaed0e
Author: krzysdz <krzysdz at konto.pl>
Date: 2024-05-04 (Sat, 04 May 2024)
Changed paths:
M libcxx/docs/FeatureTestMacroTable.rst
M libcxx/include/version
M libcxx/test/std/language.support/support.limits/support.limits.general/deque.version.compile.pass.cpp
M libcxx/test/std/language.support/support.limits/support.limits.general/forward_list.version.compile.pass.cpp
M libcxx/test/std/language.support/support.limits/support.limits.general/list.version.compile.pass.cpp
M libcxx/test/std/language.support/support.limits/support.limits.general/map.version.compile.pass.cpp
M libcxx/test/std/language.support/support.limits/support.limits.general/queue.version.compile.pass.cpp
M libcxx/test/std/language.support/support.limits/support.limits.general/set.version.compile.pass.cpp
M libcxx/test/std/language.support/support.limits/support.limits.general/stack.version.compile.pass.cpp
M libcxx/test/std/language.support/support.limits/support.limits.general/string.version.compile.pass.cpp
M libcxx/test/std/language.support/support.limits/support.limits.general/unordered_map.version.compile.pass.cpp
M libcxx/test/std/language.support/support.limits/support.limits.general/unordered_set.version.compile.pass.cpp
M libcxx/test/std/language.support/support.limits/support.limits.general/vector.version.compile.pass.cpp
M libcxx/test/std/language.support/support.limits/support.limits.general/version.version.compile.pass.cpp
M libcxx/utils/generate_feature_test_macro_components.py
Log Message:
-----------
[libc++] Fix P1206R7 feature test macros (#90914)
- Add missing `__cpp_lib_containers_ranges` feature test macro
- Constrain `__cpp_lib_ranges_to_container` to the `<ranges>` header,
since the standard does not list it in containers' headers
Ref:
-
https://www.open-std.org/jtc1/sc22/wg21/docs/papers/2022/p1206r7.pdf#section.18
- https://eel.is/c++draft/support.limits#lib:__cpp_lib_containers_ranges
-
https://eel.is/c++draft/support.limits#lib:__cpp_lib_ranges_to_container
Commit: a98a6e95be1be9a5c28da15b4d19a6f39872461d
https://github.com/llvm/llvm-project/commit/a98a6e95be1be9a5c28da15b4d19a6f39872461d
Author: luolent <56246516+luolent at users.noreply.github.com>
Date: 2024-05-04 (Sat, 04 May 2024)
Changed paths:
M clang/lib/Basic/Targets/AMDGPU.cpp
M compiler-rt/lib/xray/xray_utils.h
M libc/src/__support/FPUtil/aarch64/FEnvImpl.h
M libc/src/__support/FPUtil/aarch64/fenv_darwin_impl.h
M libc/src/__support/FPUtil/arm/FEnvImpl.h
M libc/src/__support/FPUtil/riscv/FEnvImpl.h
M libc/src/__support/FPUtil/x86_64/FEnvImpl.h
M libclc/generic/lib/math/log_base.h
M libcxxabi/src/cxa_personality.cpp
M lld/ELF/LinkerScript.cpp
M lldb/tools/debugserver/source/MacOSX/MachException.cpp
M llvm/lib/Target/AMDGPU/AsmParser/AMDGPUAsmParser.cpp
M llvm/lib/Target/AMDGPU/Disassembler/AMDGPUDisassembler.cpp
M llvm/lib/Target/AVR/AVRAsmPrinter.cpp
M llvm/lib/Target/SystemZ/SystemZInstrInfo.cpp
M llvm/lib/Target/X86/AsmParser/X86AsmParser.cpp
M llvm/lib/Target/X86/MCTargetDesc/X86MCCodeEmitter.cpp
M mlir/lib/Dialect/Tosa/Transforms/TosaDecomposeTransposeConv.cpp
Log Message:
-----------
Add clarifying parenthesis around non-trivial conditions in ternary expressions. (#90391)
Fixes [#85868](https://github.com/llvm/llvm-project/issues/85868)
Parenthesis are added as requested on ternary operators with non trivial conditions.
I used this [precedence table](https://en.cppreference.com/w/cpp/language/operator_precedence) for reference, to make sure we get the expected behavior on each change.
Commit: 0d493ed2c6e664849a979b357a606dcd8273b03f
https://github.com/llvm/llvm-project/commit/0d493ed2c6e664849a979b357a606dcd8273b03f
Author: Mehdi Amini <joker.eph at gmail.com>
Date: 2024-05-04 (Sat, 04 May 2024)
Changed paths:
M llvm/docs/AMDGPUUsage.rst
M llvm/docs/LangRef.rst
M llvm/docs/ReleaseNotes.rst
M llvm/lib/Target/AMDGPU/SIISelLowering.cpp
M llvm/lib/Target/AMDGPU/SIISelLowering.h
M llvm/lib/Target/AMDGPU/SIModeRegisterDefaults.cpp
M llvm/lib/Target/AMDGPU/SIModeRegisterDefaults.h
R llvm/test/CodeGen/AMDGPU/llvm.set.rounding.ll
Log Message:
-----------
Revert 4 last AMDGPU commits to unbreak Windows bots
Revert "AMDGPU: Try to fix build error with old gcc"
This reverts commit c7ad12d0d7606b0b9fb531b0b273bdc5f1490ddb.
Revert "AMDGPU: Use umin in set.rounding expansion"
This reverts commit a56f0b51dd988ad2b533de759c98457c1ed42456.
Revert "AMDGPU: Optimize set_rounding if input is known to fit in 2 bits (#88588)"
This reverts commit b4e751e2ab0ff152ed18dea59ebf9691e963e1dd.
Revert "AMDGPU: Implement llvm.set.rounding (#88587)"
This reverts commit 9731b77e80261c627d79980f8c275700bdaf6591.
Commit: 18d1df4633c3964e12ec46f3fa92e60ab21842fd
https://github.com/llvm/llvm-project/commit/18d1df4633c3964e12ec46f3fa92e60ab21842fd
Author: akshaykumars614 <88362922+akshaykumars614 at users.noreply.github.com>
Date: 2024-05-04 (Sat, 04 May 2024)
Changed paths:
M llvm/lib/CodeGen/TargetSchedule.cpp
Log Message:
-----------
llvm/lib/CodeGen/TargetSchedule.cpp:132:12: warning: Assert statement modifies 'NIter' (#90982)
Modified the assert statement
Commit: 004485690e8e36610b6f9eb4ccfc7de411aa1b1b
https://github.com/llvm/llvm-project/commit/004485690e8e36610b6f9eb4ccfc7de411aa1b1b
Author: David Blaikie <dblaikie at gmail.com>
Date: 2024-05-04 (Sat, 04 May 2024)
Changed paths:
M llvm/lib/CodeGen/TargetSchedule.cpp
Log Message:
-----------
Revert "llvm/lib/CodeGen/TargetSchedule.cpp:132:12: warning: Assert statement modifies 'NIter'" (#91079)
Reverts llvm/llvm-project#90982
NIter was only declared in !NDEBUG, and only used for assertions - so it
was correct that it was incremented inside the assertion. (& in fact now
the non-asserts build fails, because the variable is incremented even
though it isn't declared)
Commit: c7910ee1f0af64501bf068cdfec154ea359ff832
https://github.com/llvm/llvm-project/commit/c7910ee1f0af64501bf068cdfec154ea359ff832
Author: Alexey Bataev <a.bataev at outlook.com>
Date: 2024-05-04 (Sat, 04 May 2024)
Changed paths:
M llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
Log Message:
-----------
[SLP][NFC]Use std::optional::value_or.
Commit: 24f5fc77d43f4ae2dc1cb0c0902c5e22cbadf09e
https://github.com/llvm/llvm-project/commit/24f5fc77d43f4ae2dc1cb0c0902c5e22cbadf09e
Author: Kareem Ergawy <kareem.ergawy at amd.com>
Date: 2024-05-04 (Sat, 04 May 2024)
Changed paths:
M flang/include/flang/Optimizer/Builder/HLFIRTools.h
M flang/lib/Lower/OpenMP/DataSharingProcessor.cpp
M flang/lib/Lower/OpenMP/OpenMP.cpp
M flang/lib/Optimizer/Builder/HLFIRTools.cpp
A flang/test/Lower/OpenMP/delayed-privatization-allocatable-array.f90
A flang/test/Lower/OpenMP/delayed-privatization-array.f90
A flang/test/Lower/OpenMP/delayed-privatization-character-array.f90
A flang/test/Lower/OpenMP/delayed-privatization-character.f90
Log Message:
-----------
[flang][MLIR][OpenMP] Extend delayed privatization for arrays and characters (#85023)
Commit: 677dddebae77a93e080a98617aa2714be4a46fd0
https://github.com/llvm/llvm-project/commit/677dddebae77a93e080a98617aa2714be4a46fd0
Author: Kazu Hirata <kazu at google.com>
Date: 2024-05-04 (Sat, 04 May 2024)
Changed paths:
M llvm/lib/Transforms/Coroutines/CoroSplit.cpp
M llvm/lib/Transforms/IPO/BlockExtractor.cpp
M llvm/lib/Transforms/Instrumentation/PGOInstrumentation.cpp
M llvm/lib/Transforms/Scalar/ADCE.cpp
M llvm/lib/Transforms/Scalar/PlaceSafepoints.cpp
M llvm/lib/Transforms/Scalar/RewriteStatepointsForGC.cpp
M llvm/lib/Transforms/Utils/LoopUnroll.cpp
M llvm/lib/Transforms/Utils/LoopUtils.cpp
M llvm/lib/Transforms/Utils/SymbolRewriter.cpp
M llvm/unittests/Transforms/Utils/LocalTest.cpp
Log Message:
-----------
[Transforms] Use StringRef::operator== instead of StringRef::equals (NFC) (#91072)
I'm planning to remove StringRef::equals in favor of
StringRef::operator==.
- StringRef::operator==/!= outnumber StringRef::equals by a factor of
31 under llvm/ in terms of their usage.
- The elimination of StringRef::equals brings StringRef closer to
std::string_view, which has operator== but not equals.
- S == "foo" is more readable than S.equals("foo"), especially for
!Long.Expression.equals("str") vs Long.Expression != "str".
Commit: b54a78d69be1952884462cb897abb9cf60a33978
https://github.com/llvm/llvm-project/commit/b54a78d69be1952884462cb897abb9cf60a33978
Author: Florian Hahn <flo at fhahn.com>
Date: 2024-05-04 (Sat, 04 May 2024)
Changed paths:
M llvm/include/llvm/Analysis/LoopAccessAnalysis.h
M llvm/lib/Analysis/LoopAccessAnalysis.cpp
M llvm/lib/Transforms/Vectorize/LoopVectorizationLegality.cpp
M llvm/test/Transforms/LoopVectorize/reduction-with-invariant-store.ll
Log Message:
-----------
[LV,LAA] Don't vectorize loops with load and store to invar address.
Code checking stores to invariant addresses and reductions made an
incorrect assumption that the case of both a load & store to the same
invariant address does not need to be handled.
In some cases when vectorizing with runtime checks, there may be
dependences with a load and store to the same address, storing a
reduction value.
Update LAA to separately track if there was a store-store and a
load-store dependence with an invariant addresses.
Bail out early if there as a load-store dependence with invariant
address. If there was a store-store one, still apply the logic checking
if they all store a reduction.
Commit: 3cbfc9d80b35b90910de2953d72d7df4bd43e4cf
https://github.com/llvm/llvm-project/commit/3cbfc9d80b35b90910de2953d72d7df4bd43e4cf
Author: Markus Böck <markus.boeck02 at gmail.com>
Date: 2024-05-04 (Sat, 04 May 2024)
Changed paths:
M mlir/test/mlir-tblgen/attr-or-type-format-invalid.td
M mlir/tools/mlir-tblgen/AttrOrTypeFormatGen.cpp
M mlir/tools/mlir-tblgen/FormatGen.cpp
M mlir/tools/mlir-tblgen/FormatGen.h
M mlir/tools/mlir-tblgen/OpFormatGen.cpp
Log Message:
-----------
[mlir][ODS][NFC] Deduplicate `ref` and `qualified` handling (#91080)
Both the attribute and type format generator and the op format generator
independently implemented the parsing and verification of the `ref` and
`qualified` directives with little to no differences.
This PR moves the implementation of these into the common `FormatParser`
class to deduplicate the implementations.
Commit: abac98479b81cc0cc717bb6cdbae6f774e3b0232
https://github.com/llvm/llvm-project/commit/abac98479b81cc0cc717bb6cdbae6f774e3b0232
Author: Tom Stellard <tstellar at redhat.com>
Date: 2024-05-04 (Sat, 04 May 2024)
Changed paths:
M .github/workflows/release-binaries.yml
M .github/workflows/set-release-binary-outputs.sh
Log Message:
-----------
[Workflows] Re-write release-binaries workflow (#89521)
This updates the release-binaries workflow so that the different build
stages are split across multiple jobs. This saves money by reducing the
time spent on the larger github runners and also makes it easier to
debug, because now it's possible to build a smaller release package
(with clang and lld) using only the free GitHub runners.
The workflow no longer uses the test-release.sh script but instead uses
the Release.cmake cache. This gives the workflow more flexibility and
ensures that the binary package will always be created even if the tests
fail.
This idea to split the stages comes from the "LLVM Precommit CI through
Github Actions" RFC:
https://discourse.llvm.org/t/rfc-llvm-precommit-ci-through-github-actions/76456
Commit: 1b90095b7db40c835c6dbbbbe172d7a31100e461
https://github.com/llvm/llvm-project/commit/1b90095b7db40c835c6dbbbbe172d7a31100e461
Author: Fangrui Song <i at maskray.me>
Date: 2024-05-04 (Sat, 04 May 2024)
Changed paths:
M clang/test/Driver/msvc-link.c
Log Message:
-----------
[Driver,test] Improve msvc-link.c
Commit: 4dede5ef5ca7e538351975130b1c1d863a84e4ca
https://github.com/llvm/llvm-project/commit/4dede5ef5ca7e538351975130b1c1d863a84e4ca
Author: Fangrui Song <i at maskray.me>
Date: 2024-05-04 (Sat, 04 May 2024)
Changed paths:
M clang/lib/Sema/SemaExpr.cpp
Log Message:
-----------
[Sema] Remove redundant check in an else branch. NFC
after https://reviews.llvm.org/D83788
Fix #91090
Commit: f2f65eddc5d9804a32a2427cd2ac96647005f889
https://github.com/llvm/llvm-project/commit/f2f65eddc5d9804a32a2427cd2ac96647005f889
Author: srcarroll <50210727+srcarroll at users.noreply.github.com>
Date: 2024-05-04 (Sat, 04 May 2024)
Changed paths:
M mlir/include/mlir/Dialect/Linalg/TransformOps/LinalgTransformOps.td
M mlir/lib/Dialect/Linalg/TransformOps/LinalgTransformOps.cpp
M mlir/python/mlir/dialects/transform/structured.py
M mlir/test/Dialect/Linalg/transform-op-pad.mlir
M mlir/test/python/dialects/transform_structured_ext.py
Log Message:
-----------
[mlir][transform] Add support for transform.param pad multiples in `PadOp` (#90755)
This patch modifies the definition of `PadOp` to take transform params
and handles for the `pad_to_multiple_of` operand.
---------
Co-authored-by: Oleksandr "Alex" Zinenko <ftynse at gmail.com>
Commit: 64ee821fad1b31aaa6703bb9af8f7c3067eabc48
https://github.com/llvm/llvm-project/commit/64ee821fad1b31aaa6703bb9af8f7c3067eabc48
Author: Kazu Hirata <kazu at google.com>
Date: 2024-05-04 (Sat, 04 May 2024)
Changed paths:
M mlir/lib/Dialect/Linalg/TransformOps/LinalgTransformOps.cpp
Log Message:
-----------
[mlir] Fix a warning
This patch fixes:
llvm-project/mlir/lib/Dialect/Linalg/TransformOps/LinalgTransformOps.cpp:1715:28:
error: unused variable 'kPadToMultipleOfKeyword'
[-Werror,-Wunused-const-variable]
Commit: c5de4dd1eab00df76c1a68c5f397304ceacb71f2
https://github.com/llvm/llvm-project/commit/c5de4dd1eab00df76c1a68c5f397304ceacb71f2
Author: Fangrui Song <i at maskray.me>
Date: 2024-05-04 (Sat, 04 May 2024)
Changed paths:
M clang/test/AST/Interp/builtins.cpp
M clang/test/AST/Interp/const-fpfeatures.cpp
M clang/test/AST/const-fpfeatures.c
M clang/test/AST/const-fpfeatures.cpp
M clang/test/CXX/expr/expr.unary/expr.unary.noexcept/cg.cpp
M clang/test/CodeGen/2010-08-10-DbgConstant.c
M clang/test/CodeGen/PR32874.c
M clang/test/CodeGen/PR44896.ll
M clang/test/CodeGen/PowerPC/aix_alloca_align.c
M clang/test/CodeGen/SystemZ/builtins-systemz-error2.c
M clang/test/CodeGen/VE/ve-velintrin.c
M clang/test/CodeGen/X86/bfloat16.cpp
M clang/test/CodeGen/X86/ms-inline-asm-prefix.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-vec-i128.c
M clang/test/CodeGen/X86/x86_64-atomic-128.c
M clang/test/CodeGen/X86/x86_inlineasm_curly_bracket_escape.c
M clang/test/CodeGen/aarch64-ls64-inline-asm.c
M clang/test/CodeGen/aarch64-ls64.c
M clang/test/CodeGen/aarch64-matmul.cpp
M clang/test/CodeGen/aarch64-mixed-target-attributes.c
M clang/test/CodeGen/aarch64-mops.c
M clang/test/CodeGen/aarch64-targetattr.c
M clang/test/CodeGen/aarch64-tme.cpp
M clang/test/CodeGen/aggregate-assign-call.c
M clang/test/CodeGen/align-global-large.c
M clang/test/CodeGen/aligned-sret.c
M clang/test/CodeGen/arm-byval-align.c
M clang/test/CodeGen/arm-mve-intrinsics/absneg.c
M clang/test/CodeGen/arm-mve-intrinsics/admin.c
M clang/test/CodeGen/arm-mve-intrinsics/bitwise-imm.c
M clang/test/CodeGen/arm-mve-intrinsics/compare.c
M clang/test/CodeGen/arm-mve-intrinsics/cplusplus.cpp
M clang/test/CodeGen/arm-mve-intrinsics/dup.c
M clang/test/CodeGen/arm-mve-intrinsics/get-set-lane.c
M clang/test/CodeGen/arm-mve-intrinsics/idup.c
M clang/test/CodeGen/arm-mve-intrinsics/load-store.c
M clang/test/CodeGen/arm-mve-intrinsics/predicates.c
M clang/test/CodeGen/arm-mve-intrinsics/reinterpret.c
M clang/test/CodeGen/arm-mve-intrinsics/scalar-shifts.c
M clang/test/CodeGen/arm-mve-intrinsics/scatter-gather.c
M clang/test/CodeGen/arm-mve-intrinsics/ternary.c
M clang/test/CodeGen/arm-mve-intrinsics/vabavq.c
M clang/test/CodeGen/arm-mve-intrinsics/vabdq.c
M clang/test/CodeGen/arm-mve-intrinsics/vadc.c
M clang/test/CodeGen/arm-mve-intrinsics/vaddq.c
M clang/test/CodeGen/arm-mve-intrinsics/vaddv.c
M clang/test/CodeGen/arm-mve-intrinsics/vandq.c
M clang/test/CodeGen/arm-mve-intrinsics/vbicq.c
M clang/test/CodeGen/arm-mve-intrinsics/vbrsrq.c
M clang/test/CodeGen/arm-mve-intrinsics/vcaddq.c
M clang/test/CodeGen/arm-mve-intrinsics/vclz.c
M clang/test/CodeGen/arm-mve-intrinsics/vcmlaq.c
M clang/test/CodeGen/arm-mve-intrinsics/vcmulq.c
M clang/test/CodeGen/arm-mve-intrinsics/vcvt.c
M clang/test/CodeGen/arm-mve-intrinsics/vcvt_anpm.c
M clang/test/CodeGen/arm-mve-intrinsics/vector-shift-imm-dyadic.c
M clang/test/CodeGen/arm-mve-intrinsics/vector-shift-imm.c
M clang/test/CodeGen/arm-mve-intrinsics/vector-shift-var.c
M clang/test/CodeGen/arm-mve-intrinsics/veorq.c
M clang/test/CodeGen/arm-mve-intrinsics/vhaddq.c
M clang/test/CodeGen/arm-mve-intrinsics/vhcaddq.c
M clang/test/CodeGen/arm-mve-intrinsics/vhsubq.c
M clang/test/CodeGen/arm-mve-intrinsics/vld24.c
M clang/test/CodeGen/arm-mve-intrinsics/vldr.c
M clang/test/CodeGen/arm-mve-intrinsics/vmaxaq.c
M clang/test/CodeGen/arm-mve-intrinsics/vmaxnmaq.c
M clang/test/CodeGen/arm-mve-intrinsics/vmaxnmq.c
M clang/test/CodeGen/arm-mve-intrinsics/vmaxq.c
M clang/test/CodeGen/arm-mve-intrinsics/vminaq.c
M clang/test/CodeGen/arm-mve-intrinsics/vminnmaq.c
M clang/test/CodeGen/arm-mve-intrinsics/vminnmq.c
M clang/test/CodeGen/arm-mve-intrinsics/vminq.c
M clang/test/CodeGen/arm-mve-intrinsics/vminvq.c
M clang/test/CodeGen/arm-mve-intrinsics/vmldav.c
M clang/test/CodeGen/arm-mve-intrinsics/vmlldav.c
M clang/test/CodeGen/arm-mve-intrinsics/vmovl.c
M clang/test/CodeGen/arm-mve-intrinsics/vmovn.c
M clang/test/CodeGen/arm-mve-intrinsics/vmulhq.c
M clang/test/CodeGen/arm-mve-intrinsics/vmullbq.c
M clang/test/CodeGen/arm-mve-intrinsics/vmulltq.c
M clang/test/CodeGen/arm-mve-intrinsics/vmulq.c
M clang/test/CodeGen/arm-mve-intrinsics/vornq.c
M clang/test/CodeGen/arm-mve-intrinsics/vorrq.c
M clang/test/CodeGen/arm-mve-intrinsics/vqaddq.c
M clang/test/CodeGen/arm-mve-intrinsics/vqdmlad.c
M clang/test/CodeGen/arm-mve-intrinsics/vqdmulhq.c
M clang/test/CodeGen/arm-mve-intrinsics/vqdmullbq.c
M clang/test/CodeGen/arm-mve-intrinsics/vqdmulltq.c
M clang/test/CodeGen/arm-mve-intrinsics/vqmovn.c
M clang/test/CodeGen/arm-mve-intrinsics/vqrdmulhq.c
M clang/test/CodeGen/arm-mve-intrinsics/vqsubq.c
M clang/test/CodeGen/arm-mve-intrinsics/vrev.c
M clang/test/CodeGen/arm-mve-intrinsics/vrhaddq.c
M clang/test/CodeGen/arm-mve-intrinsics/vrmulhq.c
M clang/test/CodeGen/arm-mve-intrinsics/vrnd.c
M clang/test/CodeGen/arm-mve-intrinsics/vshlc.c
M clang/test/CodeGen/arm-mve-intrinsics/vsubq.c
M clang/test/CodeGen/arm-sve-vector-bits-vscale-range.c
M clang/test/CodeGen/arm64-mte.c
M clang/test/CodeGen/arm_acle.c
M clang/test/CodeGen/asan-new-pm.ll
M clang/test/CodeGen/asm-label-inline-builtins.c
M clang/test/CodeGen/attr-alwaysinline.cpp
M clang/test/CodeGen/attr-arm-sve-vector-bits-types.c
M clang/test/CodeGen/attr-btf_tag-typedef.c
M clang/test/CodeGen/attr-btf_type_tag-func-ptr.c
M clang/test/CodeGen/attr-btf_type_tag-func.c
M clang/test/CodeGen/attr-btf_type_tag-similar-type.c
M clang/test/CodeGen/attr-btf_type_tag-typedef-field.c
M clang/test/CodeGen/attr-btf_type_tag-var.c
M clang/test/CodeGen/attr-mustprogress.c
M clang/test/CodeGen/attr-noinline.cpp
M clang/test/CodeGen/attr-nomerge.cpp
M clang/test/CodeGen/attr-noundef.cpp
M clang/test/CodeGen/attr-nouwtable.c
M clang/test/CodeGen/attr-riscv-rvv-vector-bits-types.c
M clang/test/CodeGen/attr-target-clones-aarch64.c
M clang/test/CodeGen/attr-target-version.c
M clang/test/CodeGen/blocks-windows.c
M clang/test/CodeGen/builtins-arm64.c
M clang/test/CodeGen/callback_pthread_create.c
M clang/test/CodeGen/cf-runtime-abi.c
M clang/test/CodeGen/cfstring-elf-cfbuild-x86_64.c
M clang/test/CodeGen/cfstring-windows.c
M clang/test/CodeGen/cfstring3.c
M clang/test/CodeGen/cmse-clear-arg.c
M clang/test/CodeGen/cmse-clear-return.c
M clang/test/CodeGen/dbg-const-int128.c
M clang/test/CodeGen/debug-info-codeview-heapallocsite.c
M clang/test/CodeGen/debug-info-codeview-unnamed.c
M clang/test/CodeGen/debug-info-gline-tables-only.c
M clang/test/CodeGen/debug-info-gline-tables-only2.c
M clang/test/CodeGen/debug-info-line.c
M clang/test/CodeGen/debug-info-line3.c
M clang/test/CodeGen/debug-info-pseudo-probe.cpp
M clang/test/CodeGen/debug-info-variables.c
M clang/test/CodeGen/dominating-store-infinite-cycle.c
M clang/test/CodeGen/enum-bool.cpp
M clang/test/CodeGen/fread-inline-builtin-late-redecl.c
M clang/test/CodeGen/gh64876.cpp
M clang/test/CodeGen/hwasan-new-pm.c
M clang/test/CodeGen/inline-builtin-comdat.c
M clang/test/CodeGen/kmsan-param-retval.c
M clang/test/CodeGen/libcalls-fno-builtin.c
M clang/test/CodeGen/lifetime2.c
M clang/test/CodeGen/lifetime3.cpp
M clang/test/CodeGen/mcount-aix.c
M clang/test/CodeGen/mdefault-visibility-export-mapping.c
M clang/test/CodeGen/memcmp-inline-builtin-to-asm.c
M clang/test/CodeGen/memcpy-inline-builtin-mutliple-decl.c
M clang/test/CodeGen/memcpy-inline-builtin-no-extern.c
M clang/test/CodeGen/memcpy-inline-builtin.c
M clang/test/CodeGen/memcpy-no-nobuiltin-if-not-emitted.cpp
M clang/test/CodeGen/memcpy-nobuiltin.c
M clang/test/CodeGen/mips-unsigned-ext-var.c
M clang/test/CodeGen/mips-unsigned-extend.c
M clang/test/CodeGen/mips-zero-sized-struct.c
M clang/test/CodeGen/msan-param-retval.c
M clang/test/CodeGen/msan-param-retval.cpp
M clang/test/CodeGen/msvc_pragma_alloc_text.cpp
M clang/test/CodeGen/named_reg_global.c
M clang/test/CodeGen/no-builtin.cpp
M clang/test/CodeGen/personality.c
M clang/test/CodeGen/riscv-vector-bits-vscale-range.c
M clang/test/CodeGen/rounding-math.c
M clang/test/CodeGen/rounding-math.cpp
M clang/test/CodeGen/sanitize-metadata-ignorelist.c
M clang/test/CodeGen/sanitize-metadata-nosanitize.c
M clang/test/CodeGen/sanitize-metadata.c
M clang/test/CodeGen/split-debug-filename.c
M clang/test/CodeGen/split-debug-inlining.c
M clang/test/CodeGen/stack-clash-protection.c
M clang/test/CodeGen/strlen-inline-builtin-redecl.c
M clang/test/CodeGen/struct-matching-constraint.c
M clang/test/CodeGen/struct-union-BE.c
M clang/test/CodeGen/svboolx2_t.cpp
M clang/test/CodeGen/svboolx4_t.cpp
M clang/test/CodeGen/tls-maxalign-modflag.c
M clang/test/CodeGen/ubsan-volatile.c
M clang/test/CodeGen/unique-internal-linkage-names.c
M clang/test/CodeGen/unique-internal-linkage-names.cpp
M clang/test/CodeGen/user-func-gnu-inline-redecl.c
M clang/test/CodeGen/windows-seh-EHa-CppCatchDotDotDot.cpp
M clang/test/CodeGen/windows-seh-EHa-CppCatchReturn.cpp
M clang/test/CodeGen/windows-seh-EHa-CppCondiTemps.cpp
M clang/test/CodeGen/windows-seh-EHa-CppDtors01.cpp
M clang/test/CodeGen/windows-seh-EHa-TryInFinally.cpp
M clang/test/CodeGen/windows-seh-abnormal-exits.c
M clang/test/CodeGen/windows-seh-filter-inFinally.c
M clang/test/CodeGenCXX/aix-static-init-temp-spec-and-inline-var.cpp
M clang/test/CodeGenCXX/aix-static-init.cpp
M clang/test/CodeGenCXX/attr-annotate-destructor.cpp
M clang/test/CodeGenCXX/attr-annotate.cpp
M clang/test/CodeGenCXX/attr-annotate2.cpp
M clang/test/CodeGenCXX/attr-mustprogress.cpp
M clang/test/CodeGenCXX/attr-musttail.cpp
M clang/test/CodeGenCXX/builtin-bit-cast-no-tbaa.cpp
M clang/test/CodeGenCXX/builtin-bit-cast.cpp
M clang/test/CodeGenCXX/constexpr-late-instantiation.cpp
M clang/test/CodeGenCXX/cxx0x-initializer-array.cpp
M clang/test/CodeGenCXX/cxx0x-initializer-scalars.cpp
M clang/test/CodeGenCXX/cxx11-initializer-aggregate.cpp
M clang/test/CodeGenCXX/cxx11-trivial-initializer-struct.cpp
M clang/test/CodeGenCXX/debug-info-blocks.cpp
M clang/test/CodeGenCXX/debug-info-codeview-heapallocsite.cpp
M clang/test/CodeGenCXX/debug-info-codeview-unnamed.cpp
M clang/test/CodeGenCXX/debug-info-determinism.cpp
M clang/test/CodeGenCXX/debug-info-gline-tables-only.cpp
M clang/test/CodeGenCXX/debug-info-line-if.cpp
M clang/test/CodeGenCXX/debug-info-method2.cpp
M clang/test/CodeGenCXX/debug-info-namespace.cpp
M clang/test/CodeGenCXX/debug-info-struct-align.cpp
M clang/test/CodeGenCXX/debug-info-thunk.cpp
M clang/test/CodeGenCXX/destructor-debug-info.cpp
M clang/test/CodeGenCXX/dllexport-alias.cpp
M clang/test/CodeGenCXX/fixed-point-mangle.cpp
M clang/test/CodeGenCXX/instrument-functions.cpp
M clang/test/CodeGenCXX/mdefault-visibility-export-mapping-alias.cpp
M clang/test/CodeGenCXX/mdefault-visibility-export-mapping-rtti.cpp
M clang/test/CodeGenCXX/mdefault-visibility-export-mapping.cpp
M clang/test/CodeGenCXX/module-initializer-guard-elision.cpp
M clang/test/CodeGenCXX/module-initializer-header.cppm
M clang/test/CodeGenCXX/module-intializer.cpp
M clang/test/CodeGenCXX/partial-init.cpp
M clang/test/CodeGenCXX/partitions.cpp
M clang/test/CodeGenCXX/personality.cpp
M clang/test/CodeGenCXX/poly-unsigned.cpp
M clang/test/CodeGenCXX/pr29160.cpp
M clang/test/CodeGenCXX/static-init-4.cpp
M clang/test/CodeGenCXX/static-init-inline-variable.cpp
M clang/test/CodeGenCXX/static-init-variable-template.cpp
M clang/test/CodeGenCXX/this-nonnull.cpp
M clang/test/CodeGenCXX/tls-init-funcs.cpp
M clang/test/CodeGenCXX/tmp-md-nodes1.cpp
M clang/test/CodeGenCXX/tmp-md-nodes2.cpp
M clang/test/CodeGenCXX/ubsan-new-checks.cpp
M clang/test/CodeGenCXX/weak-external.cpp
M clang/test/CodeGenCXX/windows-on-arm-stack-probe-size.cpp
M clang/test/CodeGenCoroutines/pr56329.cpp
M clang/test/CodeGenCoroutines/pr59221.cpp
M clang/test/CodeGenHLSL/GlobalConstructorFunction.hlsl
M clang/test/CodeGenHLSL/GlobalConstructorLib.hlsl
M clang/test/CodeGenHLSL/GlobalConstructors.hlsl
M clang/test/CodeGenHLSL/GlobalDestructors.hlsl
M clang/test/CodeGenHLSL/validator_version.hlsl
M clang/test/CodeGenObjC/attr-used-on-method.m
M clang/test/CodeGenObjC/debug-info-impl.m
M clang/test/CodeGenObjC/debug-info-property-class-extension.m
M clang/test/CodeGenObjC/debug-info-property-class-instance-same-name.m
M clang/test/CodeGenObjC/debug-info-property3.m
M clang/test/CodeGenObjC/dllstorage.m
M clang/test/CodeGenObjC/externally-retained.m
M clang/test/CodeGenObjC/gnu-init.m
M clang/test/CodeGenObjC/gnu-method-only-once.m
M clang/test/CodeGenObjC/gnu-nil-receiver.m
M clang/test/CodeGenObjC/gnustep2-category-protocol.m
M clang/test/CodeGenObjC/gnustep2-category.m
M clang/test/CodeGenObjC/gnustep2-class.m
M clang/test/CodeGenObjC/gnustep2-direct-method.m
M clang/test/CodeGenObjC/gnustep2-ivar-offset.m
M clang/test/CodeGenObjC/gnustep2-nontrivial-destructor-argument.mm
M clang/test/CodeGenObjC/gnustep2-proto.m
M clang/test/CodeGenObjC/ivar-type-encoding.m
M clang/test/CodeGenObjC/personality.m
M clang/test/CodeGenObjC/stret-lifetime.m
M clang/test/CodeGenObjC/unqual-copy-restore.m
M clang/test/CodeGenObjCXX/msabi-stret.mm
M clang/test/CodeGenObjCXX/personality.mm
M clang/test/CodeGenOpenCL/amdgcn-flat-scratch-name.cl
M clang/test/CodeGenOpenCL/amdgcn-large-globals.cl
M clang/test/CodeGenOpenCL/amdgcn-non-temporal-store.cl
M clang/test/CodeGenOpenCL/amdgpu-abi-struct-coerce.cl
M clang/test/CodeGenOpenCL/amdgpu-call-kernel.cl
M clang/test/CodeGenOpenCL/amdgpu-calling-conv.cl
M clang/test/CodeGenOpenCL/amdgpu-features.cl
M clang/test/CodeGenOpenCL/builtins-amdgcn-ci.cl
M clang/test/CodeGenOpenCL/builtins-amdgcn-dl-insts-err-clamp.cl
M clang/test/CodeGenOpenCL/builtins-amdgcn-dl-insts-err.cl
M clang/test/CodeGenOpenCL/builtins-amdgcn-dl-insts-gfx11.cl
M clang/test/CodeGenOpenCL/builtins-amdgcn-dl-insts-gfx12.cl
M clang/test/CodeGenOpenCL/builtins-amdgcn-dl-insts.cl
M clang/test/CodeGenOpenCL/builtins-amdgcn-flat-address-space.cl
M clang/test/CodeGenOpenCL/builtins-amdgcn-fp8.cl
M clang/test/CodeGenOpenCL/builtins-amdgcn-gfx10.cl
M clang/test/CodeGenOpenCL/builtins-amdgcn-gfx11-err.cl
M clang/test/CodeGenOpenCL/builtins-amdgcn-gfx11-param-err.cl
M clang/test/CodeGenOpenCL/builtins-amdgcn-gfx11.cl
M clang/test/CodeGenOpenCL/builtins-amdgcn-gfx12-err.cl
M clang/test/CodeGenOpenCL/builtins-amdgcn-gfx12-param-err.cl
M clang/test/CodeGenOpenCL/builtins-amdgcn-gfx12-wmma-w32.cl
M clang/test/CodeGenOpenCL/builtins-amdgcn-gfx12-wmma-w64.cl
M clang/test/CodeGenOpenCL/builtins-amdgcn-gfx12.cl
M clang/test/CodeGenOpenCL/builtins-amdgcn-gfx9.cl
M clang/test/CodeGenOpenCL/builtins-amdgcn-global-load-tr-w32.cl
M clang/test/CodeGenOpenCL/builtins-amdgcn-global-load-tr-w64.cl
M clang/test/CodeGenOpenCL/builtins-amdgcn-gws-insts.cl
M clang/test/CodeGenOpenCL/builtins-amdgcn-interp.cl
M clang/test/CodeGenOpenCL/builtins-amdgcn-mfma.cl
M clang/test/CodeGenOpenCL/builtins-amdgcn-swmmac-w32.cl
M clang/test/CodeGenOpenCL/builtins-amdgcn-swmmac-w64.cl
M clang/test/CodeGenOpenCL/builtins-amdgcn-vi.cl
M clang/test/CodeGenOpenCL/builtins-amdgcn-wave32.cl
M clang/test/CodeGenOpenCL/builtins-amdgcn-wave64.cl
M clang/test/CodeGenOpenCL/builtins-amdgcn-wmma-w32.cl
M clang/test/CodeGenOpenCL/builtins-amdgcn-wmma-w64.cl
M clang/test/CodeGenOpenCL/builtins-amdgcn.cl
M clang/test/CodeGenOpenCL/builtins-generic-amdgcn.cl
M clang/test/CodeGenOpenCL/builtins-r600.cl
M clang/test/CodeGenOpenCL/numbered-address-space.cl
M clang/test/CodeGenOpenCL/sqrt-fpmath.cl
M clang/test/CodeGenOpenCL/visibility.cl
M clang/test/Frontend/fixed_point_add.c
M clang/test/Frontend/fixed_point_add_const.c
M clang/test/Frontend/fixed_point_comparisons.c
M clang/test/Frontend/fixed_point_compound.c
M clang/test/Frontend/fixed_point_conversions.c
M clang/test/Frontend/fixed_point_conversions_const.c
M clang/test/Frontend/fixed_point_conversions_half.c
M clang/test/Frontend/fixed_point_div.c
M clang/test/Frontend/fixed_point_div_const.c
M clang/test/Frontend/fixed_point_mul.c
M clang/test/Frontend/fixed_point_mul_const.c
M clang/test/Frontend/fixed_point_same_fbits.c
M clang/test/Frontend/fixed_point_shift.c
M clang/test/Frontend/fixed_point_shift_const.c
M clang/test/Frontend/fixed_point_sub.c
M clang/test/Frontend/fixed_point_sub_const.c
M clang/test/Frontend/fixed_point_to_bool.c
M clang/test/Frontend/fixed_point_unary.c
M clang/test/Frontend/invalid-cxx-abi.cpp
M clang/test/Frontend/valid-cxx-abi.cpp
M clang/test/Layout/aix-power-alignment-typedef-2.cpp
M clang/test/Layout/aix-type-align-and-pack-attr.cpp
M clang/test/Modules/getSourceDescriptor-crash.cpp
M clang/test/Modules/language-linkage.cppm
M clang/test/Modules/no-duplicate-codegen-in-GMF.cppm
M clang/test/Modules/pr58716.cppm
M clang/test/Modules/pr60693.cppm
M clang/test/Modules/pr60890.cppm
M clang/test/Modules/pr61783.cppm
M clang/test/Modules/pr78830.cppm
M clang/test/OpenMP/constexpr_capture.cpp
M clang/test/OpenMP/openmp_offload_codegen.cpp
M clang/test/PCH/cxx_paren_init.cpp
M clang/test/Profile/cxx-missing-bodies.cpp
M clang/test/Sema/builtins-arm64-mte.c
M clang/test/Sema/sizeof-struct-non-zero-as-member.cl
M clang/test/Sema/test-wunaligned-access.c
M clang/test/Sema/test-wunaligned-access.cpp
Log Message:
-----------
[test] %clang_cc1 -emit-llvm: remove redundant -S
And replace -emit-llvm -o - with -emit-llvm-only
Commit: 0d501f38f348cf046d40c9baee12f0c5145b6d8c
https://github.com/llvm/llvm-project/commit/0d501f38f348cf046d40c9baee12f0c5145b6d8c
Author: Fangrui Song <i at maskray.me>
Date: 2024-05-04 (Sat, 04 May 2024)
Changed paths:
M clang/test/CodeGen/PowerPC/toc-data-attribute.c
M clang/test/CodeGen/PowerPC/toc-data-attribute.cpp
M clang/test/CodeGen/PowerPC/toc-data-diagnostics.c
M clang/test/CodeGen/PowerPC/toc-data-structs-arrays.cpp
M clang/test/CodeGen/X86/math-builtins.c
M clang/test/CodeGen/X86/x86_64-instrument-functions.c
M clang/test/CodeGen/aarch64-neon-fma.c
M clang/test/CodeGen/aarch64-sme-intrinsics/acle_sme_add-i32.c
M clang/test/CodeGen/aarch64-sme-intrinsics/acle_sme_add-i64.c
M clang/test/CodeGen/aarch64-sme-intrinsics/acle_sme_cnt.c
M clang/test/CodeGen/aarch64-sme-intrinsics/acle_sme_ld1.c
M clang/test/CodeGen/aarch64-sme-intrinsics/acle_sme_ld1_vnum.c
M clang/test/CodeGen/aarch64-sme-intrinsics/acle_sme_ldr.c
M clang/test/CodeGen/aarch64-sme-intrinsics/acle_sme_mopa-za32.c
M clang/test/CodeGen/aarch64-sme-intrinsics/acle_sme_mopa-za64.c
M clang/test/CodeGen/aarch64-sme-intrinsics/acle_sme_mops-za32.c
M clang/test/CodeGen/aarch64-sme-intrinsics/acle_sme_mops-za64.c
M clang/test/CodeGen/aarch64-sme-intrinsics/acle_sme_read.c
M clang/test/CodeGen/aarch64-sme-intrinsics/acle_sme_st1.c
M clang/test/CodeGen/aarch64-sme-intrinsics/acle_sme_st1_vnum.c
M clang/test/CodeGen/aarch64-sme-intrinsics/acle_sme_state_funs.c
M clang/test/CodeGen/aarch64-sme-intrinsics/acle_sme_str.c
M clang/test/CodeGen/aarch64-sme-intrinsics/acle_sme_write.c
M clang/test/CodeGen/aarch64-sme-intrinsics/acle_sme_zero.c
M clang/test/CodeGen/aarch64-sme2-intrinsics/acle_sme2_add.c
M clang/test/CodeGen/aarch64-sme2-intrinsics/acle_sme2_bmop.c
M clang/test/CodeGen/aarch64-sme2-intrinsics/acle_sme2_cvt.c
M clang/test/CodeGen/aarch64-sme2-intrinsics/acle_sme2_cvtn.c
M clang/test/CodeGen/aarch64-sme2-intrinsics/acle_sme2_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_ldr_str_zt.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_read.c
M clang/test/CodeGen/aarch64-sme2-intrinsics/acle_sme2_reinterpret_svcount_svbool.c
M clang/test/CodeGen/aarch64-sme2-intrinsics/acle_sme2_sqdmulh.c
M clang/test/CodeGen/aarch64-sme2-intrinsics/acle_sme2_sub.c
M clang/test/CodeGen/aarch64-sme2-intrinsics/acle_sme2_unpkx2.c
M clang/test/CodeGen/aarch64-sme2-intrinsics/acle_sme2_unpkx4.c
M clang/test/CodeGen/aarch64-sme2-intrinsics/acle_sme2_vdot.c
M clang/test/CodeGen/aarch64-sme2-intrinsics/acle_sme2_vector_add.c
M clang/test/CodeGen/aarch64-sme2-intrinsics/acle_sme2_vector_qrshr.c
M clang/test/CodeGen/aarch64-sme2-intrinsics/acle_sme2_vector_rshl.c
M clang/test/CodeGen/aarch64-sme2-intrinsics/acle_sme2_vector_selx2.c
M clang/test/CodeGen/aarch64-sme2-intrinsics/acle_sme2_vector_selx4.c
M clang/test/CodeGen/aarch64-sme2-intrinsics/acle_sme2_vector_uzpx2.c
M clang/test/CodeGen/aarch64-sme2-intrinsics/acle_sme2_vector_uzpx4.c
M clang/test/CodeGen/aarch64-sme2-intrinsics/acle_sme2_vector_zipx2.c
M clang/test/CodeGen/aarch64-sme2-intrinsics/acle_sme2_vector_zipx4.c
M clang/test/CodeGen/aarch64-sme2-intrinsics/acle_sme2_write.c
M clang/test/CodeGen/aarch64-sme2-intrinsics/acle_sme2_zero_zt.c
M clang/test/CodeGen/aarch64-soft-float-abi-errors.c
M clang/test/CodeGen/aarch64-sve-acle-__ARM_FEATURE_SVE_VECTOR_OPERATORS.c
M clang/test/CodeGen/aarch64-sve-acle-__ARM_FEATURE_SVE_VECTOR_OPERATORS.cpp
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_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_adda.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_addv.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_adrb.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_adrd.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_adrh.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_adrw.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_bfmmla.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_compact.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_expa.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_ld1ro-bfloat.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_ld1ro.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_ldff1-bfloat.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_ldff1.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_ldff1sb.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_ldff1sh.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_ldff1sw.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_ldff1ub.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_ldff1uh.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_ldff1uw.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_ldnf1-bfloat.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_ldnf1.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_ldnf1sb.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_ldnf1sh.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_ldnf1sw.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_ldnf1ub.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_ldnf1uh.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_ldnf1uw.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_matmul_fp32.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_matmul_fp64.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_mmla.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_rdffr.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_reinterpret-bfloat.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_reinterpret.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_reinterpret_from_streaming_mode.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_setffr.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_tmad.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_trn1-bfloat.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_trn1-fp64-bfloat.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_trn1-fp64.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-fp64-bfloat.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_trn2-fp64.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_trn2.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_tsmul.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_tssel.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_unpkhi.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-fp64-bfloat.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_uzp1-fp64.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-fp64-bfloat.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_uzp2-fp64.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_wrffr.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_zip1-bfloat.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_zip1-fp64-bfloat.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_zip1-fp64.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-fp64-bfloat.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_zip2-fp64.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_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_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_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_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_set2_bool.c
M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_set4_bool.c
M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_st1.c
M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_stnt1.c
M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_store.c
M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_undef_bool.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_neon_sve_bridge_intrinsics/acle_neon_sve_bridge_dup_neonq.c
M clang/test/CodeGen/aarch64_neon_sve_bridge_intrinsics/acle_neon_sve_bridge_get_neonq.c
M clang/test/CodeGen/aarch64_neon_sve_bridge_intrinsics/acle_neon_sve_bridge_set_neonq.c
M clang/test/CodeGen/aarch64_neon_sve_bridge_intrinsics/target.c
M clang/test/CodeGen/arm64_vcopy.c
M clang/test/CodeGen/arm64_vcreate.c
M clang/test/CodeGen/arm64_vdup.c
M clang/test/CodeGen/arm64_vdupq_n_f64.c
M clang/test/CodeGen/attr-arm-sve-vector-bits-bitcast.c
M clang/test/CodeGen/attr-arm-sve-vector-bits-call.c
M clang/test/CodeGen/attr-arm-sve-vector-bits-cast.c
M clang/test/CodeGen/attr-arm-sve-vector-bits-codegen.c
M clang/test/CodeGen/attr-arm-sve-vector-bits-globals.c
M clang/test/CodeGen/attr-riscv-rvv-vector-bits-bitcast.c
M clang/test/CodeGen/attr-riscv-rvv-vector-bits-call.c
M clang/test/CodeGen/attr-riscv-rvv-vector-bits-cast.c
M clang/test/CodeGen/attr-riscv-rvv-vector-bits-codegen.c
M clang/test/CodeGen/attr-riscv-rvv-vector-bits-globals.c
M clang/test/CodeGen/builtin-complex.c
M clang/test/CodeGen/complex-builtins-2.c
M clang/test/CodeGen/complex-builtins.c
M clang/test/CodeGen/complex-libcalls-2.c
M clang/test/CodeGen/complex-libcalls.c
M clang/test/CodeGen/constrained-math-builtins.c
M clang/test/CodeGen/debug-nvptx.c
M clang/test/CodeGen/debug-prefix-map.cpp
M clang/test/CodeGen/denormalfpmode-f32.c
M clang/test/CodeGen/denormalfpmode.c
M clang/test/CodeGen/instrument-functions.c
M clang/test/CodeGen/instrument-objc-method.m
M clang/test/CodeGen/isfpclass.c
M clang/test/CodeGen/libcall-declarations.c
M clang/test/CodeGen/lineno-dbginfo.c
M clang/test/CodeGen/loop-unroll.c
M clang/test/CodeGen/loop-vectorize.c
M clang/test/CodeGen/math-builtins-long.c
M clang/test/CodeGen/math-libcalls.c
M clang/test/CodeGen/mips-byval-arg.c
M clang/test/CodeGen/mips-transparent-union.c
M clang/test/CodeGen/mips-vector-arg.c
M clang/test/CodeGen/mips-vector-return.c
M clang/test/CodeGen/mips64-class-return.cpp
M clang/test/CodeGen/mips64-padding-arg.c
M clang/test/CodeGen/no-junk-ftrunc.c
M clang/test/CodeGen/noexceptionsfpmath.c
M clang/test/CodeGen/nousejumptable.c
M clang/test/CodeGen/nullptr-arithmetic.c
M clang/test/CodeGen/nullptr.c
M clang/test/CodeGen/nvptx-abi.c
M clang/test/CodeGen/nvptx-cc.c
M clang/test/CodeGen/nvptx-cpus.c
M clang/test/CodeGen/nvptx-inlineasm-ptx.c
M clang/test/CodeGen/nvptx-inlineasm.c
M clang/test/CodeGenCXX/OmitRTTIComponentABI/simple-vtable-definition.cpp
M clang/test/CodeGenCXX/OmitRTTIComponentABI/vbase-offset.cpp
M clang/test/CodeGenCXX/RelativeVTablesABI/available_externally-vtable.cpp
M clang/test/CodeGenCXX/RelativeVTablesABI/child-inheritted-from-parent-in-comdat.cpp
M clang/test/CodeGenCXX/RelativeVTablesABI/child-vtable-in-comdat.cpp
M clang/test/CodeGenCXX/RelativeVTablesABI/cross-translation-unit-1.cpp
M clang/test/CodeGenCXX/RelativeVTablesABI/cross-translation-unit-2.cpp
M clang/test/CodeGenCXX/RelativeVTablesABI/diamond-inheritance.cpp
M clang/test/CodeGenCXX/RelativeVTablesABI/diamond-virtual-inheritance.cpp
M clang/test/CodeGenCXX/RelativeVTablesABI/dynamic-cast.cpp
M clang/test/CodeGenCXX/RelativeVTablesABI/inheritted-virtual-function.cpp
M clang/test/CodeGenCXX/RelativeVTablesABI/inline-virtual-function.cpp
M clang/test/CodeGenCXX/RelativeVTablesABI/inlined-key-function.cpp
M clang/test/CodeGenCXX/RelativeVTablesABI/member-function-pointer.cpp
M clang/test/CodeGenCXX/RelativeVTablesABI/multiple-inheritance.cpp
M clang/test/CodeGenCXX/RelativeVTablesABI/no-alias-when-dso-local.cpp
M clang/test/CodeGenCXX/RelativeVTablesABI/override-pure-virtual-method.cpp
M clang/test/CodeGenCXX/RelativeVTablesABI/overriden-virtual-function.cpp
M clang/test/CodeGenCXX/RelativeVTablesABI/parent-and-child-in-comdats.cpp
M clang/test/CodeGenCXX/RelativeVTablesABI/parent-vtable-in-comdat.cpp
M clang/test/CodeGenCXX/RelativeVTablesABI/relative-vtables-flag.cpp
M clang/test/CodeGenCXX/RelativeVTablesABI/relative-vtables-hwasan.cpp
M clang/test/CodeGenCXX/RelativeVTablesABI/simple-vtable-definition.cpp
M clang/test/CodeGenCXX/RelativeVTablesABI/thunk-mangling.cpp
M clang/test/CodeGenCXX/RelativeVTablesABI/type-info.cpp
M clang/test/CodeGenCXX/RelativeVTablesABI/vbase-offset.cpp
M clang/test/CodeGenCXX/RelativeVTablesABI/virtual-function-call.cpp
M clang/test/CodeGenCXX/RelativeVTablesABI/vtable-hidden-when-in-comdat.cpp
M clang/test/CodeGenCXX/cxx0x-initializer-constructors.cpp
M clang/test/CodeGenCXX/cxx0x-initializer-references.cpp
M clang/test/CodeGenCXX/cxx0x-initializer-stdinitializerlist-startend.cpp
M clang/test/CodeGenCXX/debug-info-global-ctor-dtor.cpp
M clang/test/CodeGenCXX/debug-info-line.cpp
M clang/test/CodeGenCXX/funcattrs-global-ctor-dtor.cpp
M clang/test/CodeGenCXX/msabi-blocks.cpp
M clang/test/CodeGenCXX/union-dtor.cpp
M clang/test/CodeGenCoroutines/coro-alloc-2.cpp
M clang/test/CodeGenHLSL/disable_opt.hlsl
M clang/test/CodeGenHLSL/validator_version.hlsl
M clang/test/CodeGenOpenCL/amdgpu-alignment.cl
M clang/test/Frontend/llvmplugins.c
M clang/test/Misc/loop-opt-setup.c
M clang/test/SemaCXX/constexpr-default-arg.cpp
M clang/test/SemaCXX/friend3.cpp
M clang/test/SemaTemplate/instantiate-friend-function.cpp
Log Message:
-----------
[test] %clang_cc1 -emit-llvm: remove redundant -S
Also replace aarch64-none-linux-gnu (none can indicate an OS as well) with aarch64
Commit: c4c3efa161edf7313d1aeda07cd82fab90c3717c
https://github.com/llvm/llvm-project/commit/c4c3efa161edf7313d1aeda07cd82fab90c3717c
Author: Fangrui Song <i at maskray.me>
Date: 2024-05-04 (Sat, 04 May 2024)
Changed paths:
M clang/test/CodeGen/LoongArch/intrinsic-la32-error.c
M clang/test/CodeGen/LoongArch/intrinsic-la64-error.c
M clang/test/CodeGen/aapcs-bitfield.c
M clang/test/CodeGen/aarch64-neon-3v.c
M clang/test/CodeGen/arm-vector_type-params-returns.c
M clang/test/Frontend/hexagon-target-basic.c
M clang/test/Misc/backend-optimization-failure-nodbg.cpp
M clang/test/Misc/backend-optimization-failure.cpp
M clang/test/OpenMP/amdgpu_exceptions.cpp
M clang/test/OpenMP/amdgpu_throw.cpp
M clang/test/OpenMP/amdgpu_try_catch.cpp
M clang/test/OpenMP/nvptx_exceptions.cpp
M clang/test/OpenMP/nvptx_throw.cpp
M clang/test/OpenMP/nvptx_try_catch.cpp
M clang/test/OpenMP/x86_target_exceptions.cpp
M clang/test/OpenMP/x86_target_throw.cpp
M clang/test/OpenMP/x86_target_try_catch.cpp
Log Message:
-----------
[test] %clang_cc1 -emit-llvm: remove redundant -S
Commit: a312dd68c0ce368313164eb92cbdd95192afa3f8
https://github.com/llvm/llvm-project/commit/a312dd68c0ce368313164eb92cbdd95192afa3f8
Author: Fangrui Song <i at maskray.me>
Date: 2024-05-04 (Sat, 04 May 2024)
Changed paths:
M clang/test/CodeGen/bpf-preserve-static-offset-arr.c
M clang/test/CodeGen/bpf-preserve-static-offset-bitfield.c
M clang/test/CodeGen/bpf-preserve-static-offset-lvalue.c
M clang/test/CodeGen/bpf-preserve-static-offset-non-bpf.c
M clang/test/CodeGen/bpf-preserve-static-offset-pai.c
Log Message:
-----------
[BPF,test] %clang_cc1 -emit-llvm: remove redundant -S
Commit: 3c311b022283450acbdd6af22862e913649a5452
https://github.com/llvm/llvm-project/commit/3c311b022283450acbdd6af22862e913649a5452
Author: Fangrui Song <i at maskray.me>
Date: 2024-05-04 (Sat, 04 May 2024)
Changed paths:
M clang/test/CodeGen/arm64-microsoft-status-reg.cpp
M clang/test/CodeGen/inline-asm-mixed-style.c
M clang/test/OpenMP/amdgpu_throw_trap.cpp
M clang/test/OpenMP/nvptx_throw_trap.cpp
Log Message:
-----------
[test] %clang_cc1 -S: remove overridden -emit-llvm
Commit: ffc9a30938ae5c42c03f9c563db1465876b4def6
https://github.com/llvm/llvm-project/commit/ffc9a30938ae5c42c03f9c563db1465876b4def6
Author: superZWT123 <zhengwentao3 at huawei.com>
Date: 2024-05-04 (Sat, 04 May 2024)
Changed paths:
M llvm/include/llvm/MC/MCSubtargetInfo.h
A llvm/test/TableGen/HwModeBitSet.td
A llvm/test/TableGen/HwModeEncodeAPInt.td
M llvm/test/TableGen/HwModeEncodeDecode3.td
M llvm/utils/TableGen/CodeEmitterGen.cpp
M llvm/utils/TableGen/Common/CodeGenHwModes.cpp
M llvm/utils/TableGen/SubtargetEmitter.cpp
Log Message:
-----------
[TableGen] Use bitwise operations to access HwMode ID. (#88377)
1. Bitwise operations are used to access HwMode, allowing for the
coexistence of HwMode IDs for different features (such as RegInfo and
EncodingInfo). This will provide better scalability for HwMode.
Currently, most users utilize HwMode primarily for configuring
Register-related information, and few use it for configuring Encoding.
The limited scalability of HwMode has been a significant factor in this
usage pattern.
2. Sink the HwMode Encodings selection logic down to per instruction
level, this makes the logic for choosing encodings clearer and provides
better error messages.
3. Add some HwMode ID conflict detection to the getHwMode() interface.
Commit: 7a484d3a1f630ba9ce7b22e744818be974971470
https://github.com/llvm/llvm-project/commit/7a484d3a1f630ba9ce7b22e744818be974971470
Author: Younan Zhang <zyn7109 at gmail.com>
Date: 2024-05-05 (Sun, 05 May 2024)
Changed paths:
M clang/docs/ReleaseNotes.rst
M clang/include/clang/AST/ASTContext.h
M clang/include/clang/AST/BuiltinTypes.def
M clang/include/clang/AST/ExprCXX.h
M clang/include/clang/Serialization/ASTBitCodes.h
M clang/lib/AST/ASTContext.cpp
M clang/lib/AST/NSAPI.cpp
M clang/lib/AST/Type.cpp
M clang/lib/AST/TypeLoc.cpp
M clang/lib/Parse/ParseExprCXX.cpp
M clang/lib/Sema/SemaExpr.cpp
M clang/lib/Sema/SemaTemplate.cpp
M clang/lib/Serialization/ASTCommon.cpp
M clang/lib/Serialization/ASTReader.cpp
M clang/test/SemaCXX/PR62533.cpp
M clang/test/SemaTemplate/template-id-expr.cpp
Log Message:
-----------
[clang] Distinguish unresolved templates in UnresolvedLookupExpr (#89019)
This patch revolves around the misuse of UnresolvedLookupExpr in
BuildTemplateIdExpr.
Basically, we build up an UnresolvedLookupExpr not only for function
overloads but for "unresolved" templates wherever we need an expression
for template decls. For example, a dependent VarTemplateDecl can be
wrapped with such an expression before template instantiation. (See
https://github.com/llvm/llvm-project/commit/617007240cbfb97c8ccf6d61b0c4ca0bb62d43c9)
Also, one important thing is that UnresolvedLookupExpr uses a
"canonical"
QualType to describe the containing unresolved decls: a DependentTy is
for dependent expressions and an OverloadTy otherwise. Therefore, this
modeling for non-dependent templates leaves a problem in that the
expression
is marked and perceived as if describing overload functions. The
consumer then
expects functions for every such expression, although the fact is the
reverse.
Hence, we run into crashes.
As to the patch, I added a new canonical type "UnresolvedTemplateTy" to
model these cases. Given that we have been using this model
(intentionally or
accidentally) and it is pretty baked in throughout the code, I think
extending the role of UnresolvedLookupExpr is reasonable. Further, I
added
some diagnostics for the direct occurrence of these expressions, which
are supposed to be ill-formed.
As a bonus, this patch also fixes some typos in the diagnostics and
creates
RecoveryExprs rather than nothing in the hope of a better error-recovery
for clangd.
Fixes https://github.com/llvm/llvm-project/issues/88832
Fixes https://github.com/llvm/llvm-project/issues/63243
Fixes https://github.com/llvm/llvm-project/issues/48673
Commit: 02dfbbff1937b3e2c1ee1cd4a5ad0a9f03ee23ea
https://github.com/llvm/llvm-project/commit/02dfbbff1937b3e2c1ee1cd4a5ad0a9f03ee23ea
Author: Phoebe Wang <phoebe.wang at intel.com>
Date: 2024-05-05 (Sun, 05 May 2024)
Changed paths:
M llvm/lib/CodeGen/SelectionDAG/LegalizeFloatTypes.cpp
M llvm/lib/CodeGen/SelectionDAG/LegalizeTypes.h
M llvm/test/CodeGen/X86/arithmetic_fence2.ll
Log Message:
-----------
[SelectionDAG] Make ARITH_FENCE support half and bfloat type (#90836)
Commit: 7c1d9b15eee3a34678addab2bab66f3020ac0753
https://github.com/llvm/llvm-project/commit/7c1d9b15eee3a34678addab2bab66f3020ac0753
Author: Fangrui Song <i at maskray.me>
Date: 2024-05-04 (Sat, 04 May 2024)
Changed paths:
M clang/test/APINotes/export-as.c
M clang/test/APINotes/extern-context.cpp
M clang/test/APINotes/namespaces.cpp
M clang/test/APINotes/properties.m
M clang/test/APINotes/swift-import-as.cpp
M clang/test/APINotes/templates.cpp
M clang/test/APINotes/versioned.m
M clang/test/AST/HLSL/RWBuffer-AST.hlsl
M clang/test/AST/HLSL/ResourceStruct.hlsl
M clang/test/AST/HLSL/pch.hlsl
M clang/test/AST/HLSL/pch_hlsl_buffer.hlsl
M clang/test/AST/HLSL/pch_with_buf.hlsl
M clang/test/AST/alignas_maybe_odr_cleanup.cpp
M clang/test/AST/ast-crash-doc-function-template.cpp
M clang/test/AST/ast-dump-attr-type.cpp
M clang/test/AST/ast-dump-coroutine.cpp
M clang/test/AST/ast-dump-default-arg-dep.cpp
M clang/test/AST/ast-dump-default-arg-recovery.cpp
M clang/test/AST/ast-dump-default-init.cpp
M clang/test/AST/ast-dump-fpfeatures.cpp
M clang/test/AST/ast-dump-fpfeatures.m
M clang/test/AST/ast-dump-late-parsing.cpp
M clang/test/AST/ast-dump-types-errors.cpp
M clang/test/AST/ast-print-fp-pragmas.c
M clang/test/AST/ast-print-pragmas.cpp
M clang/test/AST/attr-swift_attr.m
M clang/test/AST/attr-swift_bridge.m
M clang/test/AST/attr-swift_bridged_typedef.m
M clang/test/AST/attr-swift_bridged_typedef.mm
M clang/test/AST/auto-pragma.cpp
M clang/test/AST/category-attribute.m
M clang/test/AST/coroutine-co_yield-source-range.cpp
M clang/test/AST/coroutine-locals-cleanup.cpp
M clang/test/AST/coroutine-source-location-crash.cpp
M clang/test/AST/deduction-guides.cpp
M clang/test/AST/foreachtemplatized.mm
M clang/test/AST/loop-recovery.cpp
M clang/test/AST/multistep-explicit-cast.c
M clang/test/AST/multistep-explicit-cast.cpp
M clang/test/AST/pr43983.cpp
M clang/test/AST/pr47636.cpp
M clang/test/AST/pragma-attribute-cxx-subject-match-rules.cpp
M clang/test/AST/pragma-attribute-objc-subject-match-rules.m
M clang/test/AST/pragma-multiple-attributes-declspec.cpp
M clang/test/AST/pragma-multiple-attributes.cpp
M clang/test/AST/spurious-regparm.c
M clang/test/AST/template-implicit-vars.cpp
M clang/test/C/drs/dr290.c
M clang/test/CXX/class/class.friend/p7-cxx20.cpp
M clang/test/CXX/class/class.mfct/p1-cxx20.cpp
M clang/test/CodeGen/PowerPC/ibm128-cast.c
M clang/test/CodeGen/X86/amx_errors.c
M clang/test/CodeGen/X86/amxcomplex-errors.c
M clang/test/CodeGen/X86/cmp-avx-builtins-error.c
M clang/test/CodeGen/X86/cmpccxadd-builtins-error-32.c
M clang/test/CodeGen/X86/cmpccxadd-builtins-error.c
M clang/test/CodeGen/X86/sm3-error.c
M clang/test/CodeGen/X86/usermsr-builtins-error-32.c
M clang/test/CodeGen/aarch64-ABI-align-packed.c
M clang/test/CodeGen/aarch64-bf16-reinterpret-intrinsics.c
M clang/test/CodeGen/aarch64-neon-intrinsics-constrained.c
M clang/test/CodeGen/aarch64-neon-sha3.c
M clang/test/CodeGen/aarch64-neon-shifts.c
M clang/test/CodeGen/aarch64-neon-sm4-sm3.c
M clang/test/CodeGen/aarch64-neon-vcadd.c
M clang/test/CodeGen/aarch64-neon-vsqadd-float-conversion.c
M clang/test/CodeGen/aarch64-neon-vuqadd-float-conversion-warning.c
M clang/test/CodeGen/aarch64-sme-intrinsics/aarch64-sme-attrs.cpp
M clang/test/CodeGen/aarch64-sme2-intrinsics/aarch64-sme2-attrs.cpp
M clang/test/CodeGen/aarch64-sme2-intrinsics/acle_sme2_clamp.c
M clang/test/CodeGen/aarch64-sve-inline-asm-datatypes.c
M clang/test/CodeGen/aarch64-sve2-intrinsics/acle_sve2_revd.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_ld1_single.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_sclamp.c
M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_st1_single.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_uzpq1.c
M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_uzpq2.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-sysregs-target.c
M clang/test/CodeGen/aarch64-v8.1a-neon-intrinsics.c
M clang/test/CodeGen/aarch64-v8.2a-fp16-intrinsics.c
M clang/test/CodeGen/aarch64-v8.2a-neon-intrinsics-constrained.c
M clang/test/CodeGen/aarch64-v8.2a-neon-intrinsics-generic.c
M clang/test/CodeGen/aarch64-v8.2a-neon-intrinsics.c
M clang/test/CodeGen/aarch64-v8.5a-neon-frint3264-intrinsic.c
M clang/test/CodeGen/aarch64-v8.5a-scalar-frint3264-intrinsic.c
M clang/test/CodeGen/aarch64-v8.6a-neon-intrinsics.c
M clang/test/CodeGen/arm-bf16-dotprod-intrinsics.c
M clang/test/CodeGen/arm-bf16-reinterpret-intrinsics.c
M clang/test/CodeGen/arm-cde-gpr.c
M clang/test/CodeGen/arm-cde-reinterpret.c
M clang/test/CodeGen/arm-cde-vec.c
M clang/test/CodeGen/arm-cde-vfp.c
M clang/test/CodeGen/arm-neon-vcadd.c
M clang/test/CodeGen/arm-neon-vld.c
M clang/test/CodeGen/arm-neon-vst.c
M clang/test/CodeGen/arm-v8.1a-neon-intrinsics.c
M clang/test/CodeGen/arm-v8.2a-neon-intrinsics-generic.c
M clang/test/CodeGen/arm-v8.2a-neon-intrinsics.c
M clang/test/CodeGen/arm-v8.6a-neon-intrinsics.c
M clang/test/CodeGen/arm64-crc32.c
M clang/test/CodeGen/attr-ifunc.c
M clang/test/CodeGen/attr-ifunc.cpp
M clang/test/CodeGen/builtins-nvptx-mma.cu
M clang/test/CodeGen/builtins-nvptx-native-half-type.c
M clang/test/CodeGen/builtins-nvptx-ptx50.cu
M clang/test/CodeGen/builtins-nvptx-ptx60.cu
M clang/test/CodeGen/builtins-nvptx-sm_70.cu
M clang/test/CodeGen/builtins-nvptx.c
M clang/test/CodeGen/cmse-clear-arg.c
M clang/test/CodeGen/code_align.c
M clang/test/CodeGen/complex-math-mixed.c
M clang/test/CodeGen/debug-info-macro.c
M clang/test/CodeGen/debug-label.c
M clang/test/CodeGenCXX/annotate-type.cpp
M clang/test/CodeGenCXX/debug-info-cxx1y.cpp
M clang/test/CodeGenCXX/duplicate-mangled-name.cpp
M clang/test/CodeGenCXX/header-unit-friend-within-class-linkage.cpp
M clang/test/CodeGenCXX/header-unit-member-func-linkage.cpp
M clang/test/CodeGenCXX/module-funcs-from-imports.cppm
M clang/test/CodeGenCXX/module-intializer-pmf.cpp
M clang/test/CodeGenCXX/module-intializer.cpp
M clang/test/CodeGenCXX/partial-init.cpp
M clang/test/CodeGenCXX/visibility-dllstorageclass.cpp
M clang/test/CodeGenCoroutines/coro-aligned-alloc-2.cpp
M clang/test/CodeGenCoroutines/coro-aligned-alloc.cpp
M clang/test/CodeGenCoroutines/coro-dealloc.cpp
M clang/test/CodeGenCoroutines/coro-destructor-of-final_suspend.cpp
M clang/test/CodeGenObjC/null-check-bool-ret.m
M clang/test/CodeGenOpenCL/atomics-cas-remarks-gfx90a.cl
M clang/test/CodeGenOpenCL/atomics-unsafe-hw-remarks-gfx90a.cl
M clang/test/CodeGenOpenCL/builtins-amdgcn-global-load-tr-gfx11-err.cl
M clang/test/CodeGenOpenCL/builtins-amdgcn-global-load-tr-gfx12-w32-err.cl
M clang/test/CodeGenOpenCL/builtins-amdgcn-global-load-tr-gfx12-w64-err.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/CodeGenSYCL/functionptr-addrspace.cpp
M clang/test/FixIt/dereference-addressof.c
M clang/test/FixIt/fixit-format-darwin.m
M clang/test/FixIt/fixit-format-ios-nopedantic.m
M clang/test/FixIt/fixit-format-ios.m
M clang/test/FixIt/fixit-include.c
M clang/test/FixIt/fixit-unused-lambda-capture.cpp
M clang/test/FixIt/objc-literals.m
M clang/test/FixIt/typo-location-bugs.cpp
M clang/test/FixIt/typo-using.cpp
M clang/test/FixIt/typo.c
M clang/test/FixIt/typo.cpp
M clang/test/FixIt/typo.m
M clang/test/Frontend/gnu-inline.c
M clang/test/Frontend/objc-bool-is-bool.m
M clang/test/Headers/ms-arm64-intrin.cpp
M clang/test/Layout/ms-aligned-array.c
M clang/test/Layout/ms-vtordisp-local.cpp
M clang/test/Layout/ms-x86-alias-avoidance-padding.cpp
M clang/test/Layout/ms-x86-aligned-tail-padding.cpp
M clang/test/Layout/ms-x86-basic-layout.cpp
M clang/test/Layout/ms-x86-bitfields-vbases.cpp
M clang/test/Layout/ms-x86-declspec-empty_bases.cpp
M clang/test/Layout/ms-x86-empty-layout.c
M clang/test/Layout/ms-x86-empty-nonvirtual-bases.cpp
M clang/test/Layout/ms-x86-empty-virtual-base.cpp
M clang/test/Layout/ms-x86-lazy-empty-nonvirtual-base.cpp
M clang/test/Layout/ms-x86-member-pointers.cpp
M clang/test/Layout/ms-x86-misalignedarray.cpp
M clang/test/Layout/ms-x86-pack-and-align.cpp
M clang/test/Layout/ms-x86-primary-bases.cpp
M clang/test/Layout/ms-x86-vfvb-alignment.cpp
M clang/test/Layout/ms-x86-vfvb-sharing.cpp
M clang/test/Layout/ms-x86-vtordisp.cpp
M clang/test/Lexer/ms-compatibility.c
M clang/test/Lexer/wchar-signedness.c
M clang/test/Misc/pragma-attribute-cxx.cpp
M clang/test/Misc/pragma-attribute-objc.m
M clang/test/Misc/pragma-attribute-strict-subjects.c
M clang/test/Modules/DebugInfo-fmodule-name.c
M clang/test/Modules/cxx20-importing-function-bodies.cppm
M clang/test/Modules/module-init-duplicated-import.cppm
M clang/test/Modules/modules-reduced-bmi.cppm
M clang/test/Modules/pr59999.cppm
M clang/test/Modules/pr60085.cppm
M clang/test/Modules/pr61067.cppm
M clang/test/Modules/pr61783.cppm
M clang/test/Modules/pr64091.cpp
M clang/test/Modules/pr67893.cppm
M clang/test/Modules/pr72828.cppm
M clang/test/Modules/reduced-bmi-generating-codes.cppm
M clang/test/Modules/stress1.cpp
M clang/test/OpenMP/allocate_allocator_ast_print.cpp
M clang/test/OpenMP/allocate_ast_print.cpp
M clang/test/OpenMP/assumes_print.cpp
M clang/test/OpenMP/assumes_template_print.cpp
M clang/test/OpenMP/atomic_ast_print.cpp
M clang/test/OpenMP/barrier_ast_print.cpp
M clang/test/OpenMP/cancel_ast_print.cpp
M clang/test/OpenMP/cancel_codegen.cpp
M clang/test/OpenMP/cancellation_point_ast_print.cpp
M clang/test/OpenMP/cancellation_point_codegen.cpp
M clang/test/OpenMP/critical_ast_print.cpp
M clang/test/OpenMP/declare_mapper_ast_print.c
M clang/test/OpenMP/declare_mapper_ast_print.cpp
M clang/test/OpenMP/declare_reduction_ast_print.c
M clang/test/OpenMP/declare_reduction_ast_print.cpp
M clang/test/OpenMP/declare_simd_ast_print.c
M clang/test/OpenMP/declare_simd_ast_print.cpp
M clang/test/OpenMP/declare_target_ast_print.cpp
M clang/test/OpenMP/declare_target_codegen.cpp
M clang/test/OpenMP/declare_target_link_codegen.cpp
M clang/test/OpenMP/declare_variant_device_kind_codegen.cpp
M clang/test/OpenMP/declare_variant_mixed_codegen.c
M clang/test/OpenMP/depobj_ast_print.cpp
M clang/test/OpenMP/distribute_ast_print.cpp
M clang/test/OpenMP/distribute_dist_schedule_ast_print.cpp
M clang/test/OpenMP/distribute_parallel_for_ast_print.cpp
M clang/test/OpenMP/distribute_parallel_for_simd_ast_print.cpp
M clang/test/OpenMP/distribute_simd_ast_print.cpp
M clang/test/OpenMP/error_ast_print.cpp
M clang/test/OpenMP/flush_ast_print.cpp
M clang/test/OpenMP/for_ast_print.cpp
M clang/test/OpenMP/for_ast_print_cxx20.cpp
M clang/test/OpenMP/for_loop_auto.cpp
M clang/test/OpenMP/for_simd_ast_print.cpp
M clang/test/OpenMP/masked_ast_print.cpp
M clang/test/OpenMP/masked_taskloop_ast_print.cpp
M clang/test/OpenMP/masked_taskloop_simd_ast_print.cpp
M clang/test/OpenMP/master_ast_print.cpp
M clang/test/OpenMP/master_taskloop_ast_print.cpp
M clang/test/OpenMP/master_taskloop_simd_ast_print.cpp
M clang/test/OpenMP/nvptx_declare_target_var_ctor_dtor_codegen.cpp
M clang/test/OpenMP/nvptx_declare_variant_device_kind_codegen.cpp
M clang/test/OpenMP/nvptx_declare_variant_implementation_vendor_codegen.cpp
M clang/test/OpenMP/nvptx_declare_variant_name_mangling.cpp
M clang/test/OpenMP/nvptx_lambda_capturing.cpp
M clang/test/OpenMP/openmp-read-only-feature.c
M clang/test/OpenMP/openmp_capture_const_var_ast_print.cpp
M clang/test/OpenMP/ordered_ast_print.cpp
M clang/test/OpenMP/parallel_ast_print.cpp
M clang/test/OpenMP/parallel_for_ast_print.cpp
M clang/test/OpenMP/parallel_for_simd_ast_print.cpp
M clang/test/OpenMP/parallel_masked_ast_print.cpp
M clang/test/OpenMP/parallel_masked_taskloop_ast_print.cpp
M clang/test/OpenMP/parallel_masked_taskloop_simd_ast_print.cpp
M clang/test/OpenMP/parallel_master_ast_print.cpp
M clang/test/OpenMP/parallel_master_taskloop_ast_print.cpp
M clang/test/OpenMP/parallel_master_taskloop_simd_ast_print.cpp
M clang/test/OpenMP/parallel_sections_ast_print.cpp
M clang/test/OpenMP/parallel_sections_codegen.cpp
M clang/test/OpenMP/requires_acq_rel_codegen.cpp
M clang/test/OpenMP/requires_acq_rel_print.cpp
M clang/test/OpenMP/requires_ast_print.cpp
M clang/test/OpenMP/requires_relaxed_codegen.cpp
M clang/test/OpenMP/requires_relaxed_print.cpp
M clang/test/OpenMP/requires_seq_cst_codegen.cpp
M clang/test/OpenMP/scan_ast_print.cpp
M clang/test/OpenMP/sections_ast_print.cpp
M clang/test/OpenMP/sections_codegen.cpp
M clang/test/OpenMP/simd_ast_print.cpp
M clang/test/OpenMP/single_ast_print.cpp
M clang/test/OpenMP/target_ast_print.cpp
M clang/test/OpenMP/target_data_ast_print.cpp
M clang/test/OpenMP/target_data_use_device_ptr_addr_ast_print.cpp
M clang/test/OpenMP/target_enter_data_ast_print.cpp
M clang/test/OpenMP/target_enter_data_ast_print_openmp52.cpp
M clang/test/OpenMP/target_exit_data_ast_print.cpp
M clang/test/OpenMP/target_exit_data_ast_print_openmp52.cpp
M clang/test/OpenMP/target_has_device_addr_ast_print.cpp
M clang/test/OpenMP/target_indirect_codegen.cpp
M clang/test/OpenMP/target_is_device_ptr_ast_print.cpp
M clang/test/OpenMP/target_parallel_ast_print.cpp
M clang/test/OpenMP/target_parallel_for_ast_print.cpp
M clang/test/OpenMP/target_parallel_for_is_device_ptr_ast_print.cpp
M clang/test/OpenMP/target_parallel_for_simd_ast_print.cpp
M clang/test/OpenMP/target_parallel_for_simd_is_device_ptr_ast_print.cpp
M clang/test/OpenMP/target_parallel_is_device_ptr_ast_print.cpp
M clang/test/OpenMP/target_simd_ast_print.cpp
M clang/test/OpenMP/target_teams_ast_print.cpp
M clang/test/OpenMP/target_teams_distribute_ast_print.cpp
M clang/test/OpenMP/target_teams_distribute_parallel_for_ast_print.cpp
M clang/test/OpenMP/target_teams_distribute_parallel_for_is_device_ptr_ast_print.cpp
M clang/test/OpenMP/target_teams_distribute_parallel_for_simd_ast_print.cpp
M clang/test/OpenMP/target_teams_distribute_parallel_for_simd_is_device_ptr_ast_print.cpp
M clang/test/OpenMP/target_teams_distribute_simd_ast_print.cpp
M clang/test/OpenMP/target_teams_distribute_simd_is_device_ptr_ast_print.cpp
M clang/test/OpenMP/target_teams_is_device_ptr_ast_print.cpp
M clang/test/OpenMP/target_update_ast_print.cpp
M clang/test/OpenMP/task_ast_print.cpp
M clang/test/OpenMP/task_depend_template_call_ast_print.cpp
M clang/test/OpenMP/taskgroup_ast_print.cpp
M clang/test/OpenMP/taskloop_ast_print.cpp
M clang/test/OpenMP/taskloop_simd_ast_print.cpp
M clang/test/OpenMP/taskloop_strict_modifier_ast_print.cpp
M clang/test/OpenMP/taskwait_ast_print.cpp
M clang/test/OpenMP/taskyield_ast_print.cpp
M clang/test/OpenMP/teams_ast_print.cpp
M clang/test/OpenMP/teams_distribute_ast_print.cpp
M clang/test/OpenMP/teams_distribute_parallel_for_ast_print.cpp
M clang/test/OpenMP/teams_distribute_parallel_for_simd_ast_print.cpp
M clang/test/OpenMP/teams_distribute_simd_ast_print.cpp
M clang/test/OpenMP/threadprivate_ast_print.cpp
M clang/test/PCH/arc.m
M clang/test/PCH/blocks.c
M clang/test/PCH/cxx-alias-decl.cpp
M clang/test/PCH/cxx-for-range.cpp
M clang/test/PCH/cxx-member-init.cpp
M clang/test/PCH/cxx-namespaces.cpp
M clang/test/PCH/cxx-reference.cpp
M clang/test/PCH/cxx1z-init-statement.cpp
M clang/test/PCH/cxx_exprs.cpp
M clang/test/PCH/fixed-point-literal.c
M clang/test/PCH/local_static.cpp
M clang/test/PCH/multiple_decls.c
M clang/test/PCH/ocl_types.cl
M clang/test/PCH/rdar10830559.cpp
M clang/test/PCH/stmt-openmp_structured_block-bit.cpp
M clang/test/PCH/stmts.c
M clang/test/PCH/types.c
M clang/test/PCH/uuidof.cpp
M clang/test/Parser/extra-semi.cpp
M clang/test/Preprocessor/print-pragma-microsoft.c
M clang/test/Profile/cxx-missing-bodies.cpp
M clang/test/Sema/aarch64-fp16-target.c
M clang/test/Sema/aarch64-neon-target.c
M clang/test/Sema/aarch64-sme-intrinsics/acle_sme_target.c
M clang/test/Sema/aarch64-sve-intrinsics/acle_sve_bfloat.cpp
M clang/test/Sema/aarch64-sve-intrinsics/acle_sve_target.cpp
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/arm-neon-target.c
M clang/test/Sema/attr-alias-elf.c
M clang/test/Sema/attr-availability-swift.c
M clang/test/Sema/attr-self-alias.c
M clang/test/Sema/bpf-attr-preserve-static-offset.c
M clang/test/Sema/builtin-setjmp.c
M clang/test/Sema/code_align_ast.c
M clang/test/Sema/format-strings-no-fixit.c
M clang/test/Sema/ppc-attr-target-inline.c
M clang/test/Sema/sizeof-struct-non-zero-as-member.cl
M clang/test/Sema/uninit-variables-riscv-vector.c
M clang/test/Sema/uninit-variables-vectors.c
M clang/test/Sema/uninit-variables.c
M clang/test/Sema/warn-documentation-almost-trailing.c
M clang/test/Sema/warn-strncat-size.c
M clang/test/SemaCUDA/fp16-arg-return.cu
M clang/test/SemaCUDA/qualifiers.cu
M clang/test/SemaCUDA/static-device-var.cu
M clang/test/SemaCXX/co_await-ast.cpp
M clang/test/SemaCXX/compound-literal.cpp
M clang/test/SemaCXX/cxx1y-generic-lambdas-capturing.cpp
M clang/test/SemaCXX/cxx1y-generic-lambdas.cpp
M clang/test/SemaCXX/cxx1z-lambda-star-this.cpp
M clang/test/SemaCXX/cxx20-lambda-decltype-this.cpp
M clang/test/SemaCXX/cxx2b-ast-print.cpp
M clang/test/SemaCXX/delete-and-function-templates.cpp
M clang/test/SemaCXX/delete.cpp
M clang/test/SemaCXX/lambda-conversion-op-cc.cpp
M clang/test/SemaCXX/ms_wide_bitfield.cpp
M clang/test/SemaCXX/uninit-variables-conditional.cpp
M clang/test/SemaCXX/uninit-variables.cpp
M clang/test/SemaCXX/warn-redundant-move.cpp
M clang/test/SemaObjC/uninit-variables.m
M clang/test/SemaOpenCL/as_type.cl
M clang/test/SemaOpenCL/multistep-explicit-cast.cl
M clang/test/SemaTemplate/default-arguments-ast-print.cpp
M clang/test/SemaTemplate/make_integer_seq.cpp
M clang/test/SemaTemplate/pr47676.cpp
M clang/test/SemaTemplate/temp_arg_enum_printing.cpp
M clang/test/SemaTemplate/temp_arg_enum_printing_more.cpp
M clang/test/SemaTemplate/temp_arg_string_printing.cpp
M clang/test/SemaTemplate/template-id-printing.cpp
M clang/test/SemaTemplate/type_pack_element.cpp
M clang/test/VFS/directory.c
M clang/test/VFS/external-names-multi-overlay.c
M clang/test/VFS/fallback.c
Log Message:
-----------
[test] %clang_cc1: remove redundant actions
Commit: a415b4dfcc02e3e82b8c8a7836f7c04b9d65dc9b
https://github.com/llvm/llvm-project/commit/a415b4dfcc02e3e82b8c8a7836f7c04b9d65dc9b
Author: Vitaly Buka <vitalybuka at google.com>
Date: 2024-05-04 (Sat, 04 May 2024)
Changed paths:
M llvm/lib/Target/SystemZ/SystemZInstrInfo.cpp
M llvm/lib/Target/SystemZ/SystemZInstrInfo.h
R llvm/test/CodeGen/SystemZ/fold-copy-vector-immediate.mir
Log Message:
-----------
Revert "SystemZ: Fold copy of vector immediate to gr128" (#91099)
Fails here:
https://lab.llvm.org/buildbot/#/builders/239/builds/6893
https://lab.llvm.org/buildbot/#/builders/5/builds/43113
https://lab.llvm.org/buildbot/#/builders/168/builds/20228
Reverts llvm/llvm-project#90706
Commit: 9154a324bfce5dee27cb04708bd250b030d6cdd2
https://github.com/llvm/llvm-project/commit/9154a324bfce5dee27cb04708bd250b030d6cdd2
Author: Owen Pan <owenpiano at gmail.com>
Date: 2024-05-05 (Sun, 05 May 2024)
Changed paths:
M clang/docs/ClangFormatStyleOptions.rst
M clang/include/clang/Format/Format.h
Log Message:
-----------
[clang-format][doc] Fix typos
Commit: 7d913c5ea9fd0dd455fe60364a8075aa0924d6b7
https://github.com/llvm/llvm-project/commit/7d913c5ea9fd0dd455fe60364a8075aa0924d6b7
Author: David Stone <davidfromonline at gmail.com>
Date: 2024-05-05 (Sun, 05 May 2024)
Changed paths:
M clang/include/clang/Basic/Module.h
M clang/lib/Basic/Module.cpp
M clang/lib/Lex/PPDirectives.cpp
M clang/lib/Serialization/ASTWriter.cpp
Log Message:
-----------
[clang][Modules] Make `Module::Requirement` a struct (NFC) (#67900)
`Module::Requirement` was defined as a `std::pair<std::string, bool>`.
This required a comment to explain what the data members mean and makes
the usage harder to understand. Replace this with a struct with two
members, `FeatureName` and `RequiredState`.
---------
Co-authored-by: cor3ntin <corentinjabot at gmail.com>
Commit: 78a28b3ef7de2a07c8d01cace58019068a17a0bf
https://github.com/llvm/llvm-project/commit/78a28b3ef7de2a07c8d01cace58019068a17a0bf
Author: Simon Pilgrim <llvm-dev at redking.me.uk>
Date: 2024-05-05 (Sun, 05 May 2024)
Changed paths:
M llvm/lib/Target/X86/X86ISelLowering.cpp
M llvm/test/CodeGen/X86/cmp-shiftX-maskX.ll
M llvm/test/CodeGen/X86/vector-shift-by-select-loop.ll
Log Message:
-----------
[X86] Support icmp_i64(i64 X, i64 Y) --> icmp_i32(trunc(X), trunc(Y)) for non-constant Y (#91085)
Relax the constraint on the fold to allow any value for X and Y iff all upper 32-bits are known zero
Minor code-size saving by moving to i32 bit instructions
Commit: d5ca2e46ca97758de6edb9f071f2114205380d87
https://github.com/llvm/llvm-project/commit/d5ca2e46ca97758de6edb9f071f2114205380d87
Author: Jay Foad <jay.foad at amd.com>
Date: 2024-05-05 (Sun, 05 May 2024)
Changed paths:
M llvm/lib/Target/AMDGPU/AMDGPUCombine.td
M llvm/lib/Target/AMDGPU/AMDGPUPostLegalizerCombiner.cpp
Log Message:
-----------
[AMDGPU] Improve MIR pattern for FMinFMaxLegacy combine. NFC. (#90968)
Commit: d145f40963f15e94c4aefcc406a365fbe779e934
https://github.com/llvm/llvm-project/commit/d145f40963f15e94c4aefcc406a365fbe779e934
Author: David Green <david.green at arm.com>
Date: 2024-05-05 (Sun, 05 May 2024)
Changed paths:
M llvm/lib/Transforms/Vectorize/VectorCombine.cpp
M llvm/test/Transforms/VectorCombine/AArch64/shuffletoidentity.ll
Log Message:
-----------
[VectorCombine] shuffleToIdentity - guard against call instructions.
The shuffleToIdentity fold needs to be a bit more careful about the difference
between call instructions and intrinsics. The second can be handled, but the
first should result in bailing out. This patch also adds some extra intrinsic
tests from #91000.
Fixes #91078
Commit: 7963d9a2b3c20561278a85b19e156e013231342c
https://github.com/llvm/llvm-project/commit/7963d9a2b3c20561278a85b19e156e013231342c
Author: Phoebe Wang <phoebe.wang at intel.com>
Date: 2024-05-05 (Sun, 05 May 2024)
Changed paths:
M llvm/lib/Target/X86/X86ISelLowering.cpp
M llvm/lib/Target/X86/X86InstrAVX512.td
A llvm/test/CodeGen/X86/pr90844.ll
Log Message:
-----------
[X86][EVEX512] Add `HasEVEX512` when `NoVLX` used for 512-bit patterns (#91106)
With KNL/KNC being deprecated, we don't need to care about such no VLX
cases anymore. We may remove such patterns in the future.
Fixes #90844
Commit: 72eaa0ed9934bfaa2449091bbc6e45648d1396d6
https://github.com/llvm/llvm-project/commit/72eaa0ed9934bfaa2449091bbc6e45648d1396d6
Author: Weihang Fan <134108011+weihangf-apple at users.noreply.github.com>
Date: 2024-05-05 (Sun, 05 May 2024)
Changed paths:
M llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
M llvm/test/CodeGen/AArch64/and-mask-removal.ll
Log Message:
-----------
[AArch64][SelectionDAG] Mask for SUBS with multiple users cannot be elided (#90911)
In DAGCombiner, the `performCONDCombine` function attempts to remove AND
instructions in front of SUBS (cmp) instructions for which the AND is
transparent. The rules for that are correct, but it fails to take into
account the case where the SUBS instruction has multiple users with
different condition codes for comparison and simply removes the AND for
all of them. This causes a miscompilation in the attached test case.
Commit: 983333234bd1b9c3d2b05f010a293fee6dc9c069
https://github.com/llvm/llvm-project/commit/983333234bd1b9c3d2b05f010a293fee6dc9c069
Author: Simon Pilgrim <llvm-dev at redking.me.uk>
Date: 2024-05-05 (Sun, 05 May 2024)
Changed paths:
M llvm/test/CodeGen/X86/bypass-slow-division-64.ll
Log Message:
-----------
[X86] bypass-slow-division-64.ll - extend cpu test coverage
Ensure we test with/without the idivq-to-divl attribute, and test the x86-64-v* cpu levels and some common Intel/AMD cpus
Commit: de9b386f84b58ad0ffc12e221bc6d9161ca5b62d
https://github.com/llvm/llvm-project/commit/de9b386f84b58ad0ffc12e221bc6d9161ca5b62d
Author: Simon Pilgrim <llvm-dev at redking.me.uk>
Date: 2024-05-05 (Sun, 05 May 2024)
Changed paths:
M llvm/test/CodeGen/X86/bypass-slow-division-64.ll
Log Message:
-----------
[X86] bypass-slow-division-64.ll - add optsize/minsize tests
Make sure we're not expanding div32-div64 codegen when we're focussed on codesize
Commit: 882814edd33cab853859f07b1dd4c4fa1393e0ea
https://github.com/llvm/llvm-project/commit/882814edd33cab853859f07b1dd4c4fa1393e0ea
Author: Quentin Dian <dianqk at dianqk.net>
Date: 2024-05-05 (Sun, 05 May 2024)
Changed paths:
M llvm/lib/Analysis/InlineCost.cpp
A llvm/test/Transforms/Inline/inline-cost-switch-default.ll
M llvm/test/Transforms/Inline/inline-switch-default-2.ll
M llvm/test/Transforms/Inline/inline-switch-default.ll
Log Message:
-----------
[InlineCost] Correct the default branch cost for the switch statement (#85160)
Fixes #81723.
The earliest commit of the related code is:
https://github.com/llvm/llvm-project/commit/919f9e8d65ada6552b8b8a5ec12ea49db91c922a.
I tried to understand the following code with
https://github.com/llvm/llvm-project/pull/77856#issuecomment-1993499085.
https://github.com/llvm/llvm-project/blob/5932fcc47855fdd209784f38820422d2369b84b2/llvm/lib/Analysis/InlineCost.cpp#L709-L720
I think only scenarios where there is a default branch were considered.
Commit: c6e4f6309184814dfc4bb855ddbdb5375cc971e0
https://github.com/llvm/llvm-project/commit/c6e4f6309184814dfc4bb855ddbdb5375cc971e0
Author: DianQK <dianqk at dianqk.net>
Date: 2024-05-05 (Sun, 05 May 2024)
Changed paths:
M llvm/lib/Analysis/InlineCost.cpp
R llvm/test/Transforms/Inline/inline-cost-switch-default.ll
M llvm/test/Transforms/Inline/inline-switch-default-2.ll
M llvm/test/Transforms/Inline/inline-switch-default.ll
Log Message:
-----------
Revert "[InlineCost] Correct the default branch cost for the switch statement (#85160)"
This reverts commit 882814edd33cab853859f07b1dd4c4fa1393e0ea.
Commit: 176be3ee8c3c7569355b7452af61b76aa9574095
https://github.com/llvm/llvm-project/commit/176be3ee8c3c7569355b7452af61b76aa9574095
Author: Simon Pilgrim <llvm-dev at redking.me.uk>
Date: 2024-05-05 (Sun, 05 May 2024)
Changed paths:
M llvm/test/CodeGen/X86/bypass-slow-division-64.ll
Log Message:
-----------
[X86] bypass-slow-division-64.ll - add udiv+urem test coverage
Commit: 7e4d16d73c22079997dd59d8e7d8f41bdbac5a50
https://github.com/llvm/llvm-project/commit/7e4d16d73c22079997dd59d8e7d8f41bdbac5a50
Author: Mike Crowe <mac at mcrowe.com>
Date: 2024-05-05 (Sun, 05 May 2024)
Changed paths:
M clang-tools-extra/clang-tidy/modernize/UseStdPrintCheck.cpp
Log Message:
-----------
[clang-tidy] Improve modernize-use-std-print diagnostic (#91071)
Include the source range of the printf function in the diagnostic so it
gets underlined in the output.
Commit: 77d8c3878a274c97981e0aca2249960f6619f828
https://github.com/llvm/llvm-project/commit/77d8c3878a274c97981e0aca2249960f6619f828
Author: Simon Pilgrim <llvm-dev at redking.me.uk>
Date: 2024-05-05 (Sun, 05 May 2024)
Changed paths:
M llvm/test/CodeGen/X86/2008-08-31-EH_RETURN32.ll
Log Message:
-----------
[X86] 2008-08-31-EH_RETURN32.ll - regenerate with update_llc_test_checks.py
Commit: 9aad38b61586cab8b125c3f522789267f9b749a9
https://github.com/llvm/llvm-project/commit/9aad38b61586cab8b125c3f522789267f9b749a9
Author: Julian Schmidt <git.julian.schmidt at gmail.com>
Date: 2024-05-05 (Sun, 05 May 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] fix false-positives for templates in `bugprone-return-const-ref-from-parameter` (#90273)
In the AST for function templates, the return will be a DeclRefExpr,
even if the return type differs from that of the returned variable.
Protect against false-positives by constraining the canonical return
type to be that of the parameter.
Also streams the source range of the returned expression into the
diagnostic.
Commit: 716eab783713cc99046c89478c126b1a2e000940
https://github.com/llvm/llvm-project/commit/716eab783713cc99046c89478c126b1a2e000940
Author: Mike Crowe <mac at mcrowe.com>
Date: 2024-05-05 (Sun, 05 May 2024)
Changed paths:
M clang-tools-extra/docs/clang-tidy/checks/modernize/use-std-print.rst
Log Message:
-----------
[clang-tidy][docs] Fix modernize-use-std-print docs (#91069)
The set of functions for the PrintfLikeFunctions and
FprintfLikeFunctions options replaces the default, so remove the word
"extra" from the description which implies that they are in addition to
the default.
Commit: 624c9fc87fb23c6eb89a28e95fa0cf72f5c39d94
https://github.com/llvm/llvm-project/commit/624c9fc87fb23c6eb89a28e95fa0cf72f5c39d94
Author: Jeremy Kun <jkun at google.com>
Date: 2024-05-05 (Sun, 05 May 2024)
Changed paths:
M mlir/include/mlir/Dialect/Polynomial/IR/Polynomial.td
M mlir/lib/Dialect/Polynomial/IR/PolynomialAttributes.cpp
M mlir/lib/Dialect/Polynomial/IR/PolynomialOps.cpp
M mlir/test/Dialect/Polynomial/ops.mlir
M mlir/test/Dialect/Polynomial/ops_errors.mlir
Log Message:
-----------
Upstream polynomial.ntt and polynomial.intt (#90992)
These two ops represent a number-theoretic transform of a polynomial to
a tensor of evaluations of the polynomial at a list of powers of
primitive roots of the polynomial.
To support this, a new optional attribute is added to the ring attribute
to specify the primitive root of unity used for the NTT. A verifier for
the op is added to ensure the chosen root is a primitive nth root of
unity.
---------
Co-authored-by: Jeremy Kun <j2kun at users.noreply.github.com>
Co-authored-by: Oleksandr "Alex" Zinenko <ftynse at gmail.com>
Commit: 7e59223ac4b045178c287a56154113d5989572f4
https://github.com/llvm/llvm-project/commit/7e59223ac4b045178c287a56154113d5989572f4
Author: Fangrui Song <i at maskray.me>
Date: 2024-05-05 (Sun, 05 May 2024)
Changed paths:
M clang/test/AST/arithmetic-fence-builtin.c
M clang/test/ASTMerge/codegen-exprs/test.c
M clang/test/CXX/module/module.private.frag/p1.cpp
M clang/test/CodeGen/PowerPC/builtins-ppc-fpconstrained.c
M clang/test/CodeGen/PowerPC/builtins-ppc-vec-ins-error.c
M clang/test/CodeGen/PowerPC/vector-bool-pixel-altivec-init-no-parentheses.c
M clang/test/CodeGen/PowerPC/vector-bool-pixel-altivec-init.c
M clang/test/CodeGen/PowerPC/vector-compat-pixel-bool-ternary.c
M clang/test/CodeGen/PowerPC/vector-compat-pixel-bool.c
M clang/test/CodeGen/PowerPC/vector-compat-ternary.c
M clang/test/CodeGen/PowerPC/vector-compat.c
M clang/test/CodeGen/aarch64-ABI-align-packed-assembly.c
M clang/test/CodeGen/aarch64-neon-intrinsics.c
M clang/test/CodeGen/aarch64-v8.2a-fp16-intrinsics-constrained.c
M clang/test/CodeGen/builtins-nvptx-native-half-type-err.c
M clang/test/CodeGen/builtins-nvptx-native-half-type.c
M clang/test/CodeGen/math-builtins-long.c
M clang/test/CodeGen/pch-dllexport.cpp
M clang/test/CodeGen/thinlto-loop-vectorize-pm.c
M clang/test/CodeGenCXX/module-intializer.cpp
M clang/test/CodeGenOpenCL/builtins-amdgcn-raytracing.cl
M clang/test/CodeGenSYCL/function-attrs.cpp
M clang/test/CoverageMapping/pr32679.cpp
M clang/test/Frontend/output-paths.c
M clang/test/Headers/ms-arm64-intrin.cpp
M clang/test/Modules/cxx20-10-5-ex1.cpp
M clang/test/Modules/cxx20-importing-function-bodies.cppm
M clang/test/Modules/cxx20-include-translation.cpp
M clang/test/Modules/eagerly-load-cxx-named-modules.cppm
M clang/test/Modules/load-module-with-errors.m
M clang/test/Modules/no-import-func-body.cppm
M clang/test/Modules/odr_using_dependent_name.cppm
M clang/test/Modules/pr59780.cppm
M clang/test/Modules/pr61067.cppm
M clang/test/SemaCUDA/call-kernel-from-kernel.cu
M clang/test/SemaCUDA/constexpr-variables.cu
Log Message:
-----------
[test] %clang_cc1: remove redundant actions
ParseFrontendArgs takes the last OPT_Action_Group option. The other
actions are overridden.
Commit: 41574f5a6e2d961f398d3c671c34ac3c8e417464
https://github.com/llvm/llvm-project/commit/41574f5a6e2d961f398d3c671c34ac3c8e417464
Author: David Blaikie <dblaikie at gmail.com>
Date: 2024-05-05 (Sun, 05 May 2024)
Changed paths:
M lldb/source/Plugins/TypeSystem/Clang/TypeSystemClang.cpp
Log Message:
-----------
Add new BuiltinType introduced in 7a484d3a1f630ba9ce7b22e744818be974971470
I don't think this is one lldb would encounter when building ASTs from
DWARF.
Commit: d33937b6236767137a1ec3393d0933f10eed4ffe
https://github.com/llvm/llvm-project/commit/d33937b6236767137a1ec3393d0933f10eed4ffe
Author: Fangrui Song <i at maskray.me>
Date: 2024-05-05 (Sun, 05 May 2024)
Changed paths:
M clang/test/CodeGen/SystemZ/align-systemz-02.c
M clang/test/CodeGen/thinlto-distributed-cfi-devirt.ll
M clang/test/CodeGen/thinlto-distributed-cfi.ll
M clang/test/CodeGenCXX/module-intializer.cpp
M clang/test/Lexer/raw-string-dlim-invalid.cpp
M clang/test/Modules/prune-non-affecting-module-map-files-textual.c
M clang/test/PCH/empty-with-headers.c
M clang/test/PCH/ms-if-exists.cpp
Log Message:
-----------
[test] %clang_cc1: remove redundant actions
ParseFrontendArgs takes the last OPT_Action_Group option. The other
actions are overridden.
Commit: 57f13b51bdb373534ba5e507868b353a015107de
https://github.com/llvm/llvm-project/commit/57f13b51bdb373534ba5e507868b353a015107de
Author: Fangrui Song <i at maskray.me>
Date: 2024-05-05 (Sun, 05 May 2024)
Changed paths:
M clang/lib/Driver/ToolChains/HLSL.cpp
M clang/test/Driver/dxc_fcgl.hlsl
Log Message:
-----------
[HLSL] Remove overridden -S
The cc1 option -S (https://reviews.llvm.org/D124983) is overridden by
the latter -emit-llvm.
Commit: 3219c0edb2a4e18774227c8b35278df0e89c85fe
https://github.com/llvm/llvm-project/commit/3219c0edb2a4e18774227c8b35278df0e89c85fe
Author: Florian Hahn <flo at fhahn.com>
Date: 2024-05-05 (Sun, 05 May 2024)
Changed paths:
M llvm/include/llvm/Analysis/LoopAccessAnalysis.h
M llvm/include/llvm/Analysis/VectorUtils.h
M llvm/lib/Analysis/LoopAccessAnalysis.cpp
M llvm/lib/Transforms/Scalar/LoopLoadElimination.cpp
Log Message:
-----------
[LAA] Directly pass DepChecker to getSource/getDestination (NFC).
Instead of passing LoopAccessInfo only to fetch the MemoryDepChecker,
directly pass MemoryDepChecker. This simplifies the code and also allows
new uses in places where no LAI is available.
Commit: c18bcd0a5702a85adb4063ee94689a88e05686ea
https://github.com/llvm/llvm-project/commit/c18bcd0a5702a85adb4063ee94689a88e05686ea
Author: Kazu Hirata <kazu at google.com>
Date: 2024-05-05 (Sun, 05 May 2024)
Changed paths:
M llvm/lib/Target/AArch64/AArch64MachineFunctionInfo.cpp
M llvm/lib/Target/AMDGPU/AMDGPUAsmPrinter.cpp
M llvm/lib/Target/AMDGPU/AMDGPUAttributor.cpp
M llvm/lib/Target/AMDGPU/AMDGPUISelLowering.cpp
M llvm/lib/Target/AMDGPU/AMDGPULegalizerInfo.cpp
M llvm/lib/Target/ARM/ARMMachineFunctionInfo.cpp
M llvm/lib/Target/BPF/BTFDebug.cpp
M llvm/lib/Target/Hexagon/HexagonTargetObjectFile.cpp
M llvm/lib/Target/Hexagon/MCTargetDesc/HexagonMCTargetDesc.cpp
M llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
M llvm/lib/Target/PowerPC/PPCISelDAGToDAG.cpp
M llvm/lib/Target/PowerPC/PPCPreEmitPeephole.cpp
M llvm/lib/Target/SPIRV/SPIRVBuiltins.cpp
M llvm/lib/Target/Sparc/AsmParser/SparcAsmParser.cpp
M llvm/lib/Target/X86/AsmParser/X86AsmParser.cpp
M llvm/lib/Target/X86/X86InstrInfo.cpp
Log Message:
-----------
[Target] Use StringRef::operator== instead of StringRef::equals (NFC) (#91072) (#91138)
I'm planning to remove StringRef::equals in favor of
StringRef::operator==.
- StringRef::operator==/!= outnumber StringRef::equals by a factor of
38 under llvm/ in terms of their usage.
- The elimination of StringRef::equals brings StringRef closer to
std::string_view, which has operator== but not equals.
- S == "foo" is more readable than S.equals("foo"), especially for
!Long.Expression.equals("str") vs Long.Expression != "str".
Commit: 2574cabdc2090a19a15332b2c00a912b36df6ab8
https://github.com/llvm/llvm-project/commit/2574cabdc2090a19a15332b2c00a912b36df6ab8
Author: Eric <eric at efcs.ca>
Date: 2024-05-05 (Sun, 05 May 2024)
Changed paths:
M libcxx/test/libcxx/clang_modules_include.gen.py
M libcxx/test/libcxx/clang_tidy.gen.py
M libcxx/test/libcxx/double_include.gen.py
M libcxx/test/libcxx/transitive_includes.gen.py
Log Message:
-----------
[NFC] Remove BLOCKLIT workaround. (#91001)
Lit already has support for stopping LIT from parsing further test
directives. It is
// END.
After that directive, LIT will stop parsing.
This change removes the BLOCKLIT hack and replaces it with END.
Commit: 2aaec48d883b2550f053dc5c07b2400d725e77b5
https://github.com/llvm/llvm-project/commit/2aaec48d883b2550f053dc5c07b2400d725e77b5
Author: Fangrui Song <i at maskray.me>
Date: 2024-05-05 (Sun, 05 May 2024)
Changed paths:
M llvm/lib/Target/X86/X86FixupBWInsts.cpp
Log Message:
-----------
X86FixupBWInsts: Remove redundant code. NFC
Commit: e12364301e3370456e610c3f23ca18050f61f77e
https://github.com/llvm/llvm-project/commit/e12364301e3370456e610c3f23ca18050f61f77e
Author: Allen <zhongyunde at huawei.com>
Date: 2024-05-06 (Mon, 06 May 2024)
Changed paths:
M llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
M llvm/test/CodeGen/AArch64/mul_pow2.ll
Log Message:
-----------
[AArch64][SelectionDAG] Lower multiplication by a constant to shl+sub+shl+sub (#90199)
Change the costmodel to lower a = b * C where C = 1 - (1 - 2^m) * 2^n to
sub w8, w0, w0, lsl #m
sub w0, w0, w8, lsl #n
Fix https://github.com/llvm/llvm-project/issues/89430
Commit: ddecadabebdd4b301bd65534b58009e57ac1bbe5
https://github.com/llvm/llvm-project/commit/ddecadabebdd4b301bd65534b58009e57ac1bbe5
Author: Doug Wyatt <doug at sonosphere.com>
Date: 2024-05-05 (Sun, 05 May 2024)
Changed paths:
M clang/lib/Basic/Targets/AArch64.cpp
M clang/test/CodeGen/aarch64-type-sizes.c
M clang/test/CodeGen/coff-aarch64-type-sizes.c
M clang/test/CodeGen/target-data.c
M clang/test/CodeGenCXX/member-alignment.cpp
M clang/test/OpenMP/distribute_parallel_for_num_threads_codegen.cpp
M clang/test/OpenMP/distribute_parallel_for_simd_num_threads_codegen.cpp
M llvm/lib/IR/AutoUpgrade.cpp
M llvm/lib/Target/AArch64/AArch64TargetMachine.cpp
M llvm/unittests/Bitcode/DataLayoutUpgradeTest.cpp
Log Message:
-----------
[clang backend] In AArch64's DataLayout, specify a minimum function alignment of 4. (#90702)
This addresses an issue where the explicit alignment of 2 (for C++ ABI
reasons) was being propagated to the back end and causing under-aligned
functions (in special sections).
This is an alternate approach suggested by @efriedma-quic in PR #90415.
Fixes #90358
Commit: 3d6cf533cb258371177ee4912b3b09b62d328d29
https://github.com/llvm/llvm-project/commit/3d6cf533cb258371177ee4912b3b09b62d328d29
Author: Jeremy Kun <jkun at google.com>
Date: 2024-05-05 (Sun, 05 May 2024)
Changed paths:
M mlir/docs/DefiningDialects/Operations.md
Log Message:
-----------
fix formatting issues with ODS docs around assembly format directives (#91149)
- Some sentences are incorrectly split across list items.
- Some pre-formatted syntax is left in plaintext
- Some lines end in spaces
Co-authored-by: Jeremy Kun <j2kun at users.noreply.github.com>
Commit: f7bfb078cf037205a812dc4eece777130cfa88f5
https://github.com/llvm/llvm-project/commit/f7bfb078cf037205a812dc4eece777130cfa88f5
Author: Phoebe Wang <phoebe.wang at intel.com>
Date: 2024-05-06 (Mon, 06 May 2024)
Changed paths:
M llvm/lib/Target/X86/X86ISelLowering.cpp
A llvm/test/CodeGen/X86/pr91005.ll
Log Message:
-----------
[X86][FP16] Do not create VBROADCAST_LOAD for f16 without AVX2 (#91125)
AVX doesn't provide 16-bit BROADCAST instruction.
Fixes #91005
Commit: 774b7eb7bacceaca3986fc73a236c3cd44f28599
https://github.com/llvm/llvm-project/commit/774b7eb7bacceaca3986fc73a236c3cd44f28599
Author: Kazu Hirata <kazu at google.com>
Date: 2024-05-05 (Sun, 05 May 2024)
Changed paths:
M llvm/include/llvm/ADT/StringRef.h
Log Message:
-----------
[ADT] Reimplement operator==(StringRef, StringRef) (NFC) (#91139)
I'm planning to deprecate and eventually remove StringRef::equals in
favor of operator==. This patch reimplements operator== without using
StringRef::equals.
I'm not sure if there is a good way to make StringRef::compareMemory
available to operator==, which is not a member function. "friend"
works to some extent but breaks corner cases, which is why I've chosen
to "inline" compareMemory.
Commit: c609043dd00955bf177ff57b0bad2a87c1e61a36
https://github.com/llvm/llvm-project/commit/c609043dd00955bf177ff57b0bad2a87c1e61a36
Author: Emilia Kond <emilia at rymiel.space>
Date: 2024-05-06 (Mon, 06 May 2024)
Changed paths:
M clang/lib/Format/UnwrappedLineParser.cpp
M clang/unittests/Format/TokenAnnotatorTest.cpp
Log Message:
-----------
[clang-format] Don't allow comma in front of structural enum (#91056)
Assume that a comma in front of `enum` means it is actually a part of an
elaborated type in a template parameter list.
Fixes https://github.com/llvm/llvm-project/issues/47782
Commit: db0ed5533368414b1c4e1c884eef651c66359da2
https://github.com/llvm/llvm-project/commit/db0ed5533368414b1c4e1c884eef651c66359da2
Author: Owen Pan <owenpiano at gmail.com>
Date: 2024-05-05 (Sun, 05 May 2024)
Changed paths:
M clang/lib/Format/UnwrappedLineParser.cpp
M clang/unittests/Format/FormatTest.cpp
Log Message:
-----------
[clang-format] Don't remove parentheses of fold expressions (#91045)
Fixes #90966.
Commit: b944b543d60c73995a0760f7c53a0a645d3e56df
https://github.com/llvm/llvm-project/commit/b944b543d60c73995a0760f7c53a0a645d3e56df
Author: Luke Lau <luke at igalia.com>
Date: 2024-05-06 (Mon, 06 May 2024)
Changed paths:
A llvm/test/CodeGen/RISCV/rvv/coalesce-vsetvli.mir
Log Message:
-----------
[RISCV] Add RISCVCoalesceVSETVLI tests for removing dead AVLs. NFC
Commit: 947b06282324db8fe2784c4054af9de493a876af
https://github.com/llvm/llvm-project/commit/947b06282324db8fe2784c4054af9de493a876af
Author: Chuanqi Xu <yedeng.yd at linux.alibaba.com>
Date: 2024-05-06 (Mon, 06 May 2024)
Changed paths:
M clang/include/clang/Basic/SourceLocation.h
M clang/include/clang/Serialization/ASTBitCodes.h
M clang/include/clang/Serialization/ASTReader.h
M clang/include/clang/Serialization/ASTWriter.h
M clang/include/clang/Serialization/ModuleFile.h
M clang/include/clang/Serialization/SourceLocationEncoding.h
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/lib/Serialization/ModuleFile.cpp
A clang/test/Modules/no-transitive-source-location-change.cppm
M clang/unittests/Serialization/SourceLocationEncodingTest.cpp
Log Message:
-----------
Reland "[Modules] No transitive source location change (#86912)"
This relands 6c31104.
The patch was reverted due to incorrectly introduced alignment. And the
patch was re-commited after fixing the alignment issue.
Following off are the original message:
This is part of "no transitive change" patch series, "no transitive
source location change". I talked this with @Bigcheese in the tokyo's
WG21 meeting.
The idea comes from @jyknight posted on LLVM discourse. That for:
```
// A.cppm
export module A;
...
// B.cppm
export module B;
import A;
...
//--- C.cppm
export module C;
import C;
```
Almost every time A.cppm changes, we need to recompile `B`. Due to we
think the source location is significant to the semantics. But it may be
good if we can avoid recompiling `C` if the change from `A` wouldn't
change the BMI of B.
This patch only cares source locations. So let's focus on source
location's example. We can see the full example from the attached test.
```
//--- A.cppm
export module A;
export template <class T>
struct C {
T func() {
return T(43);
}
};
export int funcA() {
return 43;
}
//--- A.v1.cppm
export module A;
export template <class T>
struct C {
T func() {
return T(43);
}
};
export int funcA() {
return 43;
}
//--- B.cppm
export module B;
import A;
export int funcB() {
return funcA();
}
//--- C.cppm
export module C;
import A;
export void testD() {
C<int> c;
c.func();
}
```
Here the only difference between `A.cppm` and `A.v1.cppm` is that
`A.v1.cppm` has an additional blank line. Then the test shows that two
BMI of `B.cppm`, one specified `-fmodule-file=A=A.pcm` and the other
specified `-fmodule-file=A=A.v1.pcm`, should have the bit-wise same
contents.
However, it is a different story for C, since C instantiates templates
from A, and the instantiation records the source information from module
A, which is different from `A` and `A.v1`, so it is expected that the
BMI `C.pcm` and `C.v1.pcm` can and should differ.
To fully understand the patch, we need to understand how we encodes
source locations and how we serialize and deserialize them.
For source locations, we encoded them as:
```
|
|
| _____ base offset of an imported module
|
|
|
|_____ base offset of another imported module
|
|
|
|
| ___ 0
```
As the diagram shows, we encode the local (unloaded) source location
from 0 to higher bits. And we allocate the space for source locations
from the loaded modules from high bits to 0. Then the source locations
from the loaded modules will be mapped to our source location space
according to the allocated offset.
For example, for,
```
// a.cppm
export module a;
...
// b.cppm
export module b;
import a;
...
```
Assuming the offset of a source location (let's name the location as
`S`) in a.cppm is 45 and we will record the value `45` into the BMI
`a.pcm`. Then in b.cppm, when we import a, the source manager will
allocate a space for module 'a' (according to the recorded number of
source locations) as the base offset of module 'a' in the current source
location spaces. Let's assume the allocated base offset as 90 in this
example. Then when we want to get the location in the current source
location space for `S`, we can get it simply by adding `45` to `90` to
`135`. Finally we can get the source location for `S` in module B as
`135`.
And when we want to write module `b`, we would also write the source
location of `S` as `135` directly in the BMI. And to clarify the
location `S` comes from module `a`, we also need to record the base
offset of module `a`, 90 in the BMI of `b`.
Then the problem comes. Since the base offset of module 'a' is computed
by the number source locations in module 'a'. In module 'b', the
recorded base offset of module 'a' will change every time the number of
source locations in module 'a' increase or decrease. In other words, the
contents of BMI of B will change every time the number of locations in
module 'a' changes. This is pretty sensitive. Almost every change will
change the number of locations. So this is the problem this patch want
to solve.
Let's continue with the existing design to understand what's going on.
Another interesting case is:
```
// c.cppm
export module c;
import whatever;
import a;
import b;
...
```
In `c.cppm`, when we import `a`, we still need to allocate a base
location offset for it, let's say the value becomes to `200` somehow.
Then when we reach the location `S` recorded in module `b`, we need to
translate it into the current source location space. The solution is
quite simple, we can get it by `135 + (200 - 90) = 245`. In another
word, the offset of a source location in current module can be computed
as `Recorded Offset + Base Offset of the its module file - Recorded Base
Offset`.
Then we're almost done about how we handle the offset of source
locations in serializers.
>From the abstract level, what we want to do is to remove the hardcoded
base offset of imported modules and remain the ability to calculate the
source location in a new module unit. To achieve this, we need to be
able to find the module file owning a source location from the encoding
of the source location.
So in this patch, for each source location, we will store the local
offset of the location and the module file index. For the above example,
in `b.pcm`, the source location of `S` will be recorded as `135`
directly. And in the new design, the source location of `S` will be
recorded as `<1, 45>`. Here `1` stands for the module file index of `a`
in module `b`. And `45` means the offset of `S` to the base offset of
module `a`.
So the trade-off here is that, to make the BMI more independent, we need
to record more abstract information. And I feel it is worthy. The
recompilation problem of modules is really annoying and there are still
people complaining this. But if we can make this (including stopping
other changes transitively), I think this may be a killer feature for
modules. And from @Bigcheese , this should be helpful for clang explicit
modules too.
And the benchmarking side, I tested this patch against
https://github.com/alibaba/async_simple/tree/CXX20Modules. No
significant change on compilation time. The size of .pcm files becomes
to 204M from 200M. I think the trade-off is pretty fair.
I didn't use another slot to record the module file index. I tried to
use the higher 32 bits of the existing source location encodings to
store that information. This design may be safe. Since we use `unsigned`
to store source locations but we use uint64_t in serialization. And
generally `unsigned` is 32 bit width in most platforms. So it might not
be a safe problem. Since all the bits we used to store the module file
index is not used before. So the new encodings may be:
```
|-----------------------|-----------------------|
| A | B | C |
* A: 32 bit. The index of the module file in the module manager + 1.
* The +1
here is necessary since we wish 0 stands for the current
module file.
* B: 31 bit. The offset of the source location to the module file
* containing it.
* C: The macro bit. We rotate it to the lowest bit so that we can save
* some
space in case the index of the module file is 0.
```
(The B and C is the existing raw encoding for source locations)
Another reason to reuse the same slot of the source location is to
reduce the impact of the patch. Since there are a lot of places assuming
we can store and get a source location from a slot. And if I tried to
add another slot, a lot of codes breaks. I don't feel it is worhty.
Another impact of this decision is that, the existing small
optimizations for encoding source location may be invalided. The key of
the optimization is that we can turn large values into small values then
we can use VBR6 format to reduce the size. But if we decided to put the
module file index into the higher bits, then maybe it simply doesn't
work. An example may be the `SourceLocationSequence` optimization.
This will only affect the size of on-disk .pcm files. I don't expect
this impact the speed and memory use of compilations. And seeing my
small experiments above, I feel this trade off is worthy.
The mental model for handling source location offsets is not so complex
and I believe we can solve it by adding module file index to each stored
source location.
For the practical side, since the source location is pretty sensitive,
and the patch can pass all the in-tree tests and a small scale projects,
I feel it should be correct.
I'll continue to work on no transitive decl change and no transitive
identifier change (if matters) to achieve the goal to stop the
propagation of unnecessary changes. But all of this depends on this
patch. Since, clearly, the source locations are the most sensitive
thing.
---
The release nots and documentation will be added seperately.
Commit: d70267fbae228990c47b5bdbce7aa659e8b5146e
https://github.com/llvm/llvm-project/commit/d70267fbae228990c47b5bdbce7aa659e8b5146e
Author: Yeting Kuo <46629943+yetingk at users.noreply.github.com>
Date: 2024-05-06 (Mon, 06 May 2024)
Changed paths:
A clang/test/Driver/riscv-option-arch.c
A clang/test/Driver/riscv-option-arch.s
M llvm/lib/Target/RISCV/AsmParser/RISCVAsmParser.cpp
M llvm/test/MC/RISCV/option-arch.s
Log Message:
-----------
[RISCV] Teach .option arch to support experimental extensions. (#89727)
Previously `.option arch` denied extenions are not belongs to RISC-V
features. But experimental features have experimental- prefix, so
`.option arch` can not serve for experimental extension.
This patch uses the features of extensions to identify extension
existance.
Commit: 0348e71885ee8c07e1ae789059ff6d3c9ffce596
https://github.com/llvm/llvm-project/commit/0348e71885ee8c07e1ae789059ff6d3c9ffce596
Author: martinboehme <mboehme at google.com>
Date: 2024-05-06 (Mon, 06 May 2024)
Changed paths:
M clang/lib/Analysis/FlowSensitive/Transfer.cpp
M clang/unittests/Analysis/FlowSensitive/TransferTest.cpp
Log Message:
-----------
[clang][dataflow] Fix crash when `operator=` result type is not destination type. (#90898)
The existing code was full of comments about how we assume this is
always the
case, but it's not mandated by the standard, and there is code out there
that
returns a different type. So check that the result type is in fact the
same as
the destination type before attempting to copy to the result.
To make sure that we don't bail out in more cases than intended, I've
extended
existing tests to verify that in the common case, we do return the
destination
object (by reference or value, as the case may be).
Commit: 1500dc0af985db8997744cb103a4b23dd4a81b2d
https://github.com/llvm/llvm-project/commit/1500dc0af985db8997744cb103a4b23dd4a81b2d
Author: Luke Lau <luke at igalia.com>
Date: 2024-05-06 (Mon, 06 May 2024)
Changed paths:
M llvm/test/CodeGen/RISCV/rvv/coalesce-vsetvli.mir
Log Message:
-----------
[RISCV] Use virtual registers for AVL instrs in coalesce-vsetvli.mir. NFC
All GPR registers will still be virtual at this stage, so update the test
to reflect that.
Commit: db532ff9584a2fe4b375188400986e0dd17ad92b
https://github.com/llvm/llvm-project/commit/db532ff9584a2fe4b375188400986e0dd17ad92b
Author: xiaoleis-nv <99947620+xiaoleis-nv at users.noreply.github.com>
Date: 2024-05-06 (Mon, 06 May 2024)
Changed paths:
M llvm/include/llvm/ExecutionEngine/Orc/IndirectionUtils.h
M llvm/include/llvm/ExecutionEngine/Orc/LLJIT.h
Log Message:
-----------
Remove redundant move in return statement (#90546)
This pull request removes unnecessary move in the return statement to
suppress compilation warnings.
Co-authored-by: Xiaolei Shi <xiaoleis at nvidia.com>
Commit: d654278bde8cfc87b962249b6781f079e0384535
https://github.com/llvm/llvm-project/commit/d654278bde8cfc87b962249b6781f079e0384535
Author: Matt Arsenault <Matthew.Arsenault at amd.com>
Date: 2024-05-06 (Mon, 06 May 2024)
Changed paths:
M llvm/docs/AMDGPUUsage.rst
M llvm/docs/LangRef.rst
M llvm/docs/ReleaseNotes.rst
M llvm/lib/Target/AMDGPU/SIISelLowering.cpp
M llvm/lib/Target/AMDGPU/SIISelLowering.h
M llvm/lib/Target/AMDGPU/SIModeRegisterDefaults.cpp
M llvm/lib/Target/AMDGPU/SIModeRegisterDefaults.h
A llvm/test/CodeGen/AMDGPU/llvm.set.rounding.ll
Log Message:
-----------
Reapply "AMDGPU: Implement llvm.set.rounding (#88587)" series (#91113)
Revert "Revert 4 last AMDGPU commits to unbreak Windows bots"
This reverts commit 0d493ed2c6e664849a979b357a606dcd8273b03f.
MSVC does not like constexpr on the definition after an extern
declaration of a global.
Commit: 0140ba031c9b6a4028b36adb292fb37eb62f3dc0
https://github.com/llvm/llvm-project/commit/0140ba031c9b6a4028b36adb292fb37eb62f3dc0
Author: Serge Pavlov <sepavloff at gmail.com>
Date: 2024-05-06 (Mon, 06 May 2024)
Changed paths:
M clang/include/clang/Basic/LangOptions.h
M clang/test/AST/ast-dump-fpfeatures.cpp
M clang/test/AST/ast-dump-fpfeatures.m
M clang/test/AST/ast-dump-late-parsing.cpp
Log Message:
-----------
[clang] Enable FPContract with optnone (#91061)
Previously treatment of the attribute `optnone` was modified in
https://github.com/llvm/llvm-project/pull/85605 ([clang] Set correct
FPOptions if attribute 'optnone' presents). As a side effect FPContract
was disabled for optnone. It created unneeded divergence with the
behavior of -O0, which enables this optimization.
In the discussion
https://github.com/llvm/llvm-project/pull/85605#issuecomment-2089350379
it was pointed out that FP contraction should be enabled even if all
optimizations are turned off, otherwise results of calculations would be
different. This change enables FPContract at optnone.
Commit: ef8d8148b448f9bbeef7cee7bf4f82e3233111cd
https://github.com/llvm/llvm-project/commit/ef8d8148b448f9bbeef7cee7bf4f82e3233111cd
Author: Mehdi Amini <joker.eph at gmail.com>
Date: 2024-05-06 (Mon, 06 May 2024)
Changed paths:
M llvm/include/llvm/ExecutionEngine/Orc/IndirectionUtils.h
M llvm/include/llvm/ExecutionEngine/Orc/LLJIT.h
Log Message:
-----------
Revert "Remove redundant move in return statement" (#91169)
Reverts llvm/llvm-project#90546
This broke some bots, seems like some toolchain don’t consider the
implicit move here.
Commit: 181e82143e0069a03ad4d601185665f035b4cc4d
https://github.com/llvm/llvm-project/commit/181e82143e0069a03ad4d601185665f035b4cc4d
Author: Matt Arsenault <Matthew.Arsenault at amd.com>
Date: 2024-05-06 (Mon, 06 May 2024)
Changed paths:
M llvm/test/CodeGen/SystemZ/zos-ppa2.ll
Log Message:
-----------
SystemZ: Remove redundant REQUIRES systemz from test
Commit: 4b61d04645a5289354b8f0884a132a70bc8b4350
https://github.com/llvm/llvm-project/commit/4b61d04645a5289354b8f0884a132a70bc8b4350
Author: Matt Arsenault <Matthew.Arsenault at amd.com>
Date: 2024-05-06 (Mon, 06 May 2024)
Changed paths:
M llvm/test/CodeGen/SystemZ/frame-26.mir
M llvm/test/CodeGen/SystemZ/frame-28.mir
M llvm/test/CodeGen/SystemZ/memcmp-03.ll
Log Message:
-----------
SystemZ: Remove unnecessary REQUIRES asserts from tests
Commit: e2c89254e12e844214d02f1d12bf29ba2ca322c7
https://github.com/llvm/llvm-project/commit/e2c89254e12e844214d02f1d12bf29ba2ca322c7
Author: Jay Foad <jay.foad at amd.com>
Date: 2024-05-06 (Mon, 06 May 2024)
Changed paths:
M llvm/lib/Target/AMDGPU/AMDGPUCombine.td
M llvm/lib/Target/AMDGPU/AMDGPUPostLegalizerCombiner.cpp
Log Message:
-----------
[AMDGPU] Fix typo in function name
Commit: eb75af223fb07d83808bd40ffde942435e9779d6
https://github.com/llvm/llvm-project/commit/eb75af223fb07d83808bd40ffde942435e9779d6
Author: Matt Arsenault <Matthew.Arsenault at amd.com>
Date: 2024-05-06 (Mon, 06 May 2024)
Changed paths:
M llvm/lib/Target/SystemZ/SystemZInstrInfo.cpp
M llvm/lib/Target/SystemZ/SystemZInstrInfo.h
A llvm/test/CodeGen/SystemZ/fold-copy-vector-immediate.mir
Log Message:
-----------
Reapply "SystemZ: Fold copy of vector immediate to gr128" (#91099)
This reverts commit a415b4dfcc02e3e82b8c8a7836f7c04b9d65dc9b.
Modify the instruction in place to transform it into a REG_SEQUENCE,
which is what other implementations of foldImmediate do. Also start
erasing the def instruction if there are no other uses.
Fixes #91110.
Commit: 30367cb5982dfdab2655401f020711311e7d78b9
https://github.com/llvm/llvm-project/commit/30367cb5982dfdab2655401f020711311e7d78b9
Author: Pavel Labath <pavel at labath.sk>
Date: 2024-05-06 (Mon, 06 May 2024)
Changed paths:
M lldb/include/lldb/API/SBType.h
M lldb/source/API/SBType.cpp
M lldb/test/API/python_api/type/TestTypeList.py
M lldb/test/API/python_api/type/main.cpp
Log Message:
-----------
[lldb] Add SBType::GetByteAlign (#90960)
lldb already mostly(*) tracks this information. This just makes it
available to the SB users.
(*) It does not do that for typedefs right now see llvm.org/pr90958
Commit: d3dad7a74be50d90754bf5c072e1a2330e92712c
https://github.com/llvm/llvm-project/commit/d3dad7a74be50d90754bf5c072e1a2330e92712c
Author: Yingwei Zheng <dtcxzyw2333 at gmail.com>
Date: 2024-05-06 (Mon, 06 May 2024)
Changed paths:
M llvm/lib/Transforms/InstCombine/InstCombineCompares.cpp
M llvm/test/Transforms/InstCombine/icmp-of-trunc-ext.ll
Log Message:
-----------
[InstCombine] Fix miscompilation caused by #90436 (#91133)
Proof: https://alive2.llvm.org/ce/z/iRnJ4i
Fixes https://github.com/llvm/llvm-project/issues/91127.
Commit: 8a65ee8b2a05e276ab64682c3c9d3f93490cedcc
https://github.com/llvm/llvm-project/commit/8a65ee8b2a05e276ab64682c3c9d3f93490cedcc
Author: Sameer Sahasrabuddhe <sameer.sahasrabuddhe at amd.com>
Date: 2024-05-06 (Mon, 06 May 2024)
Changed paths:
M llvm/include/llvm/IR/IntrinsicsAMDGPU.td
M llvm/test/Analysis/UniformityAnalysis/AMDGPU/MIR/hidden-diverge-gmir.mir
M llvm/test/Analysis/UniformityAnalysis/AMDGPU/MIR/temporal-divergence.mir
M llvm/test/Analysis/UniformityAnalysis/AMDGPU/MIR/uses-value-from-cycle.mir
M llvm/test/CodeGen/AMDGPU/GlobalISel/divergence-divergent-i1-phis-no-lane-mask-merging.mir
M llvm/test/CodeGen/AMDGPU/GlobalISel/divergence-divergent-i1-used-outside-loop.mir
M llvm/test/CodeGen/AMDGPU/GlobalISel/divergence-structurizer.mir
M llvm/test/CodeGen/AMDGPU/GlobalISel/divergence-temporal-divergent-i1.mir
M llvm/test/CodeGen/AMDGPU/GlobalISel/divergence-temporal-divergent-reg.mir
M llvm/test/CodeGen/AMDGPU/GlobalISel/irtranslator-atomicrmw.ll
M llvm/test/CodeGen/AMDGPU/GlobalISel/irtranslator-function-args.ll
M llvm/test/CodeGen/AMDGPU/GlobalISel/legalize-amdgcn.if-invalid.mir
M llvm/test/CodeGen/AMDGPU/GlobalISel/legalize-amdgcn.if.xfail.mir
M llvm/test/CodeGen/AMDGPU/GlobalISel/legalize-brcond.mir
M llvm/test/CodeGen/AMDGPU/GlobalISel/regbankselect-amdgcn.else.32.mir
M llvm/test/CodeGen/AMDGPU/GlobalISel/regbankselect-amdgcn.else.64.mir
M llvm/test/CodeGen/AMDGPU/convergence-tokens.ll
Log Message:
-----------
[AMDGPU] don't mark control-flow intrinsics as convergent (#90026)
This is really a workaround to allow control flow lowering in the
presence of convergence control tokens. Control-flow intrinsics in LLVM
IR are convergent because they indirectly represent the wave CFG, i.e.,
sets of threads that are "converged" or "execute in lock-step". But they
exist during a small window in the lowering process, inserted after the
structurizer and then translated to equivalent MIR pseudos. So rather
than create convergence tokens for these builtins, we simply mark them
as not convergent.
The corresponding MIR pseudos are marked as having side effects, which
is sufficient to prevent optimizations without having to mark them as
convergent.
Commit: 9a521e274d0ad4a4a461952d23809320e080ffb4
https://github.com/llvm/llvm-project/commit/9a521e274d0ad4a4a461952d23809320e080ffb4
Author: Timm Bäder <tbaeder at redhat.com>
Date: 2024-05-06 (Mon, 06 May 2024)
Changed paths:
M clang/lib/AST/Interp/ByteCodeExprGen.cpp
M clang/test/AST/Interp/lambda.cpp
Log Message:
-----------
[clang][Interp] Fix primitive lambda capture defaults
We need to use InitField here, not SetField.
Commit: e9bcd2bf6775483a394e24772b66c2bbdf8f4c30
https://github.com/llvm/llvm-project/commit/e9bcd2bf6775483a394e24772b66c2bbdf8f4c30
Author: hev <wangrui at loongson.cn>
Date: 2024-05-06 (Mon, 06 May 2024)
Changed paths:
M llvm/lib/Target/LoongArch/CMakeLists.txt
M llvm/lib/Target/LoongArch/LoongArch.h
M llvm/lib/Target/LoongArch/LoongArch.td
M llvm/lib/Target/LoongArch/LoongArchISelLowering.cpp
M llvm/lib/Target/LoongArch/LoongArchInstrInfo.cpp
M llvm/lib/Target/LoongArch/LoongArchInstrInfo.h
M llvm/lib/Target/LoongArch/LoongArchMachineFunctionInfo.h
A llvm/lib/Target/LoongArch/LoongArchOptWInstrs.cpp
M llvm/lib/Target/LoongArch/LoongArchTargetMachine.cpp
M llvm/test/CodeGen/LoongArch/atomicrmw-uinc-udec-wrap.ll
M llvm/test/CodeGen/LoongArch/gep-imm.ll
M llvm/test/CodeGen/LoongArch/ir-instruction/add.ll
M llvm/test/CodeGen/LoongArch/ir-instruction/atomic-cmpxchg.ll
M llvm/test/CodeGen/LoongArch/ir-instruction/atomicrmw-fp.ll
M llvm/test/CodeGen/LoongArch/ir-instruction/atomicrmw-minmax.ll
M llvm/test/CodeGen/LoongArch/ir-instruction/atomicrmw.ll
M llvm/test/CodeGen/LoongArch/opt-pipeline.ll
A llvm/test/CodeGen/LoongArch/prefer-w-inst.ll
M llvm/test/CodeGen/LoongArch/preferred-alignments.ll
M llvm/test/CodeGen/LoongArch/sextw-removal.ll
M llvm/utils/gn/secondary/llvm/lib/Target/LoongArch/BUILD.gn
Log Message:
-----------
[LoongArch] Optimize *W Instructions at MI level (#90463)
Referring to RISC-V, adding an MI level pass to optimize *W instructions
for LoongArch.
First it removes unneeded sext(addi.w rd, rs, 0) instructions. Either
because the sign extended bits aren't consumed or because the input was
already sign extended by an earlier instruction.
Then:
1. Unless explicit disabled or the target prefers instructions with W
suffix, it removes the -w suffix from opw instructions whenever all
users are dependent only on the lower word of the result of the
instruction. The cases handled are:
* addi.w because it helps reduce test differences between LA32 and LA64
w/o being a pessimization.
2. Or if explicit enabled or the target prefers instructions with W
suffix, it adds the W suffix to the instruction whenever all users are
dependent only on the lower word of the result of the instruction. The
cases handled are:
* add.d/addi.d/sub.d/mul.d.
* slli.d with imm < 32.
* ld.d/ld.wu.
Commit: d98a78590f4f9e43fdfb69fde7d154a985e4560f
https://github.com/llvm/llvm-project/commit/d98a78590f4f9e43fdfb69fde7d154a985e4560f
Author: WANG Rui <wangrui at loongson.cn>
Date: 2024-05-06 (Mon, 06 May 2024)
Changed paths:
M llvm/test/CodeGen/LoongArch/rotl-rotr.ll
Log Message:
-----------
[LoongArch] Mark data type i32 are sign-extended. NFC
Commit: 69d740e5d64257524914aabd6dfead7565185d4f
https://github.com/llvm/llvm-project/commit/69d740e5d64257524914aabd6dfead7565185d4f
Author: Timm Bäder <tbaeder at redhat.com>
Date: 2024-05-06 (Mon, 06 May 2024)
Changed paths:
M clang/lib/AST/Interp/ByteCodeEmitter.cpp
M clang/test/AST/Interp/cxx23.cpp
M clang/test/SemaCXX/cxx2b-deducing-this-constexpr.cpp
Log Message:
-----------
[clang][Interp] Fix creating functions with explicit instance parameters
Commit: 0933a7a12508901f1c99c3a23f2841740a1cf845
https://github.com/llvm/llvm-project/commit/0933a7a12508901f1c99c3a23f2841740a1cf845
Author: WANG Rui <wangrui at loongson.cn>
Date: 2024-05-06 (Mon, 06 May 2024)
Changed paths:
M llvm/lib/Target/LoongArch/LoongArchOptWInstrs.cpp
M llvm/test/CodeGen/LoongArch/prefer-w-inst.ll
Log Message:
-----------
[LoongArch] Rename some OptWInstrs functions. NFC
Commit: 522b4bfe5b140068a7f9b3d899740a460aa0e715
https://github.com/llvm/llvm-project/commit/522b4bfe5b140068a7f9b3d899740a460aa0e715
Author: Simon Pilgrim <llvm-dev at redking.me.uk>
Date: 2024-05-06 (Mon, 06 May 2024)
Changed paths:
M llvm/include/llvm/CodeGen/SDPatternMatch.h
M llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
M llvm/test/CodeGen/RISCV/bitreverse-shift.ll
M llvm/test/CodeGen/X86/combine-bitreverse.ll
Log Message:
-----------
[DAG] Fold bitreverse(shl/srl(bitreverse(x),y)) -> srl/shl(x,y) (#89897)
Noticed while investigating GFNI per-element vector shifts (we can form SHL but not SRL/SRA)
Alive2: https://alive2.llvm.org/ce/z/fSH-rf
Commit: 0a0cac6dbd0ef67eb473f85a968bbf4ebea5220d
https://github.com/llvm/llvm-project/commit/0a0cac6dbd0ef67eb473f85a968bbf4ebea5220d
Author: Ulrich Weigand <ulrich.weigand at de.ibm.com>
Date: 2024-05-06 (Mon, 06 May 2024)
Changed paths:
M llvm/lib/Target/SystemZ/SystemZISelLowering.cpp
M llvm/test/CodeGen/SystemZ/atomic-load-08.ll
M llvm/test/CodeGen/SystemZ/atomic-store-08.ll
M llvm/test/CodeGen/SystemZ/atomicrmw-fmax-03.ll
M llvm/test/CodeGen/SystemZ/atomicrmw-fmin-03.ll
Log Message:
-----------
[SystemZ] Simplify f128 atomic load/store (#90977)
Change definition of expandBitCastI128ToF128 and expandBitCastF128ToI128
to allow for simplified use in atomic load/store.
Update logic to split 128-bit loads and stores in DAGCombine to also
handle the f128 case where appropriate. This fixes the regressions
introduced by recent atomic load/store patches.
Commit: 8e7618aa21652132f930b6576b92291c5f1d46b6
https://github.com/llvm/llvm-project/commit/8e7618aa21652132f930b6576b92291c5f1d46b6
Author: Simon Pilgrim <llvm-dev at redking.me.uk>
Date: 2024-05-06 (Mon, 06 May 2024)
Changed paths:
M llvm/lib/Target/X86/X86ISelLowering.cpp
M llvm/test/CodeGen/X86/horizontal-sum.ll
M llvm/test/CodeGen/X86/oddshuffles.ll
M llvm/test/CodeGen/X86/pr34592.ll
M llvm/test/CodeGen/X86/vector-interleaved-load-i16-stride-3.ll
M llvm/test/CodeGen/X86/vector-interleaved-load-i16-stride-6.ll
M llvm/test/CodeGen/X86/vector-interleaved-load-i16-stride-7.ll
M llvm/test/CodeGen/X86/vector-interleaved-load-i32-stride-3.ll
M llvm/test/CodeGen/X86/vector-interleaved-load-i32-stride-5.ll
M llvm/test/CodeGen/X86/vector-interleaved-load-i32-stride-6.ll
M llvm/test/CodeGen/X86/vector-interleaved-load-i32-stride-7.ll
M llvm/test/CodeGen/X86/vector-interleaved-store-i16-stride-7.ll
M llvm/test/CodeGen/X86/vector-interleaved-store-i16-stride-8.ll
M llvm/test/CodeGen/X86/vector-interleaved-store-i32-stride-6.ll
M llvm/test/CodeGen/X86/vector-interleaved-store-i32-stride-7.ll
M llvm/test/CodeGen/X86/vector-interleaved-store-i8-stride-8.ll
M llvm/test/CodeGen/X86/vector-shuffle-combining-avx.ll
M llvm/test/CodeGen/X86/vector-shuffle-combining-sse41.ll
Log Message:
-----------
[X86] Fold BLEND(PERMUTE(X),PERMUTE(Y)) -> PERMUTE(BLEND(X,Y)) (#90219)
If we don't demand the same element from both single source shuffles (permutes), then attempt to blend the sources together first and then perform a merged permute.
For vXi16 blends we have to be careful as these are much more likely to involve byte/word vector shuffles that will result in the creation of additional shuffle instructions.
This fold might be worth it for VSELECT with constant masks on AVX512 targets, but I haven't investigated this yet, but I've tried to write combineBlendOfPermutes so to be prepared for this.
The PR34592 -O0 regression is an unfortunate failure to cleanup with a later pass that calls SimplifyDemandedElts like the -O3 does - I'm not sure how worried we should be tbh.
Commit: 6217abce86b55778cf39f7db7f591a16b9fd4d28
https://github.com/llvm/llvm-project/commit/6217abce86b55778cf39f7db7f591a16b9fd4d28
Author: Hans Wennborg <hans at chromium.org>
Date: 2024-05-06 (Mon, 06 May 2024)
Changed paths:
M clang/test/Driver/riscv-option-arch.c
M clang/test/Driver/riscv-option-arch.s
Log Message:
-----------
Add requires clause to risc-v clang driver tests
Followup to #89727
Commit: 47214903b1c6d0590780c7e69a2e3e612f43e4a2
https://github.com/llvm/llvm-project/commit/47214903b1c6d0590780c7e69a2e3e612f43e4a2
Author: Xing Xue <xingxue at outlook.com>
Date: 2024-05-06 (Mon, 06 May 2024)
Changed paths:
M libcxxabi/src/aix_state_tab_eh.inc
Log Message:
-----------
[libc++abi][AIX] Use different function pointer types for destructors with 1 or 2 args (#89624)
The destructors generated by the legacy IBM `xlclang++` compiler can
take 1 or 2 arguments and the differences were handled by type `cast`
where it is needed. Clang now treats the `cast` here as an error after
https://github.com/llvm/llvm-project/commit/999d4f840777bf8de26d45947192aa0728edc0fb
landed with `-Xextra -Werror`. The issue had been worked around by using
`#pragma GCC diagnostic push/pop`. This patch defines 2 separate
destructor types for 1 argument and 2 arguments respectively so `cast`
is not needed.
Commit: a9241998fcded780b9c6473dc4e5f8b732027f99
https://github.com/llvm/llvm-project/commit/a9241998fcded780b9c6473dc4e5f8b732027f99
Author: Jie Fu <jiefu at tencent.com>
Date: 2024-05-06 (Mon, 06 May 2024)
Changed paths:
M llvm/lib/Target/X86/X86ISelLowering.cpp
Log Message:
-----------
[X86] Fix -Wsign-compare in X86ISelLowering.cpp (NFC)
llvm-project/llvm/lib/Target/X86/X86ISelLowering.cpp:40081:21:
error: comparison of integers of different signs: 'int' and 'unsigned int' [-Werror,-Wsign-compare]
for (int I = 0; I != NumElts; ++I) {
~ ^ ~~~~~~~
1 error generated.
Commit: b2c2fef5fa5a000629c22be4955641e1ab0ca491
https://github.com/llvm/llvm-project/commit/b2c2fef5fa5a000629c22be4955641e1ab0ca491
Author: Jie Fu <jiefu at tencent.com>
Date: 2024-05-06 (Mon, 06 May 2024)
Changed paths:
M llvm/lib/Target/X86/X86ISelLowering.cpp
Log Message:
-----------
[X86] Fix -Wunused-function in X86ISelLowering.cpp (NFC)
llvm-project/llvm/lib/Target/X86/X86ISelLowering.cpp:3582:13:
error: unused function 'isBlendOrUndef' [-Werror,-Wunused-function]
static bool isBlendOrUndef(ArrayRef<int> Mask) {
^
1 error generated.
Commit: 1e9625e59571042ad11039d11d7744c95c4da2f7
https://github.com/llvm/llvm-project/commit/1e9625e59571042ad11039d11d7744c95c4da2f7
Author: Leandro Lupori <leandro.lupori at linaro.org>
Date: 2024-05-06 (Mon, 06 May 2024)
Changed paths:
M flang/include/flang/Semantics/symbol.h
M flang/lib/Lower/OpenMP/DataSharingProcessor.cpp
M flang/lib/Lower/OpenMP/DataSharingProcessor.h
M flang/lib/Semantics/resolve-directives.cpp
M flang/test/Lower/OpenMP/default-clause-byref.f90
M flang/test/Lower/OpenMP/default-clause.f90
A flang/test/Lower/OpenMP/implicit-dsa.f90
A flang/test/Semantics/OpenMP/implicit-dsa.f90
M flang/test/Semantics/OpenMP/symbol08.f90
Log Message:
-----------
[flang][OpenMP] Support tasks' implicit firstprivate DSA (#85989)
Handle implicit firstprivate DSAs on task generating constructs.
Fixes https://github.com/llvm/llvm-project/issues/64480
Commit: e365ac809e1c01bbbcf70a20057f3dbbc7e14b49
https://github.com/llvm/llvm-project/commit/e365ac809e1c01bbbcf70a20057f3dbbc7e14b49
Author: Leandro Lupori <leandro.lupori at linaro.org>
Date: 2024-05-06 (Mon, 06 May 2024)
Changed paths:
M flang/lib/Semantics/resolve-directives.cpp
A flang/test/Semantics/OpenMP/parallel-critical-do.f90
A flang/test/Semantics/OpenMP/parallel-sections-do.f90
Log Message:
-----------
[flang][OpenMP] Fix symbol handling in critical/sections constructs (#90671)
Fixes https://github.com/llvm/llvm-project/issues/78936
Commit: 6e31a49931b8b057868a64e89838e3c9b40f9198
https://github.com/llvm/llvm-project/commit/6e31a49931b8b057868a64e89838e3c9b40f9198
Author: Michael Kruse <llvm-project at meinersbur.de>
Date: 2024-05-06 (Mon, 06 May 2024)
Changed paths:
M clang/include/clang/Driver/Options.td
M clang/test/Driver/plugin-driver-args.cpp
Log Message:
-----------
[driver] Do not warn about unused plugin flags. (#88948)
Plugins are not loaded without the -cc1 phase. Do not report them when
running on an assembly file or when linking. Many build tools add these
options to all driver invocations, including LLVM's build system.
Fixes #88173
Commit: 148b721772ca626cf42be2c24a23e4aa3c62a6e0
https://github.com/llvm/llvm-project/commit/148b721772ca626cf42be2c24a23e4aa3c62a6e0
Author: Florian Hahn <flo at fhahn.com>
Date: 2024-05-06 (Mon, 06 May 2024)
Changed paths:
M llvm/test/Analysis/LoopAccessAnalysis/multiple-strides-rt-memory-checks.ll
Log Message:
-----------
[LAA] Update check line in test to fully match message.
Commit: 10ec0d20892c170182a50129614675d3173a3f44
https://github.com/llvm/llvm-project/commit/10ec0d20892c170182a50129614675d3173a3f44
Author: Yuanqiang Liu <liuyuanqiang.yqliu at bytedance.com>
Date: 2024-05-06 (Mon, 06 May 2024)
Changed paths:
M mlir/python/mlir/ir.py
M mlir/test/python/dialects/python_test.py
Log Message:
-----------
[MLIR] fix _f64ElementsAttr in ir.py (#91176)
Commit: 09adb53118e50ad433b7df6d84a4e2937bfb97d5
https://github.com/llvm/llvm-project/commit/09adb53118e50ad433b7df6d84a4e2937bfb97d5
Author: Chris <cbate at nvidia.com>
Date: 2024-05-06 (Mon, 06 May 2024)
Changed paths:
M mlir/lib/Dialect/EmitC/Transforms/FormExpressions.cpp
M mlir/test/Dialect/EmitC/transforms.mlir
Log Message:
-----------
[MLIR][EmitC] Fix bug in EmitC form-expressions pass (#91084)
An `emitc.expression` can only yield a single result, but some
operations which have the `CExpression` trait can have multiple results,
which can result in a crash when applying the `fold-expressions` pass.
This change adds a check for the single-result condition and a simple
test.
Commit: 5f73d29cb74abf5b4eca113386b18110a53b1b6a
https://github.com/llvm/llvm-project/commit/5f73d29cb74abf5b4eca113386b18110a53b1b6a
Author: Florian Hahn <flo at fhahn.com>
Date: 2024-05-06 (Mon, 06 May 2024)
Changed paths:
A llvm/test/Analysis/LoopAccessAnalysis/unknown-dependence-retry-with-runtime-checks.ll
Log Message:
-----------
[LAA] Add tests showing extra unnecessary runtime checks.
Pre-commit tests for an upcoming patch.
Commit: 4d839d8f18e41bd97e1c5e82d53ad5687c07e586
https://github.com/llvm/llvm-project/commit/4d839d8f18e41bd97e1c5e82d53ad5687c07e586
Author: martinboehme <mboehme at google.com>
Date: 2024-05-06 (Mon, 06 May 2024)
Changed paths:
M clang/lib/Analysis/FlowSensitive/DataflowEnvironment.cpp
M clang/unittests/Analysis/FlowSensitive/TransferTest.cpp
Log Message:
-----------
[clang][dataflow] Don't propagate result objects in unevaluated contexts (reland #90438) (#91172)
This relands #90348 with a fix for a [buildbot
failure](https://lab.llvm.org/buildbot/#/builders/216/builds/38446)
caused by the test being run with `-fno-rtti`.
Commit: d751e407def4e1540ae0af12a179ce4f2a8f676c
https://github.com/llvm/llvm-project/commit/d751e407def4e1540ae0af12a179ce4f2a8f676c
Author: Danny Mösch <danny.moesch at icloud.com>
Date: 2024-05-06 (Mon, 06 May 2024)
Changed paths:
M clang/lib/Frontend/InterfaceStubFunctionsConsumer.cpp
Log Message:
-----------
[NFC] Use `const&` avoiding copies (#90334)
Fixes #90285.
Commit: ecfb5d9951554d8bdb6a499c958f48cc35f78a88
https://github.com/llvm/llvm-project/commit/ecfb5d9951554d8bdb6a499c958f48cc35f78a88
Author: Michael Flanders <flanders.michaelk at gmail.com>
Date: 2024-05-06 (Mon, 06 May 2024)
Changed paths:
M libc/test/UnitTest/FPMatcher.h
M libc/test/src/math/RoundToIntegerTest.h
M libc/test/src/math/atanf_test.cpp
M libc/test/src/math/atanhf_test.cpp
M libc/test/src/math/smoke/NextAfterTest.h
M libc/test/src/math/smoke/NextTowardTest.h
M libc/test/src/math/smoke/RoundToIntegerTest.h
M libc/test/src/math/smoke/atan2f_test.cpp
M libc/test/src/math/smoke/atanf_test.cpp
M libc/test/src/math/smoke/atanhf_test.cpp
Log Message:
-----------
[libc][math] fix loose except check in `{EXPECT,ASSERT}_FP_EXCEPTION` macros (#88816)
Adds more FP test macros for the upcoming test adds for #61092 and the
issues opened from it: #88768, #88769, #88770, #88771, #88772.
Fix bug in `{EXPECT,ASSERT}_FP_EXCEPTION`. `EXPECT_FP_EXCEPTION(0)`
seems to be used to test that an exception did not happen, but it always
does `EXPECT_GE(... & 0, 0)` which never fails.
Update and refactor tests that break after the above bug fix. An
interesting way things broke after the above change is that
`ForceRoundingMode` and `quick_get_round()` were raising the inexact
exception, breaking a lot of the `atan*` tests.
The changes for all files other than `FPMatcher.h` and
`libc/test/src/math/smoke/RoundToIntegerTest.h` should have the same
semantics as before. For `RoundToIntegerTest.h`, lines 56-58 before the
changes do not always hold since this test is used for functions with
different exception and errno behavior like `lrint` and `lround`. I've
deleted those lines for now, but tests for those cases should be added
for the different nearest int functions to account for this.
Adding @nickdesaulniers for review.
Commit: d71771dd2748057532603813139d8fd61e83ea79
https://github.com/llvm/llvm-project/commit/d71771dd2748057532603813139d8fd61e83ea79
Author: Jan Voung <jvoung at gmail.com>
Date: 2024-05-06 (Mon, 06 May 2024)
Changed paths:
M lld/test/COFF/thinlto-index-only.ll
M lld/test/ELF/lto/thinlto-emit-index.ll
M lld/test/ELF/lto/thinlto-index-only.ll
M lld/test/MachO/thinlto-emit-index.ll
M lld/test/MachO/thinlto-index-only.ll
M llvm/include/llvm/IR/ModuleSummaryIndex.h
M llvm/lib/Bitcode/Reader/BitcodeReader.cpp
M llvm/lib/Bitcode/Writer/BitcodeWriter.cpp
M llvm/test/Assembler/thinlto-summary.ll
M llvm/test/Bitcode/summary_version.ll
M llvm/test/Bitcode/thinlto-alias.ll
M llvm/test/Bitcode/thinlto-func-summary-vtableref-pgo.ll
M llvm/test/Bitcode/thinlto-function-summary-callgraph-partial-sample-profile-summary.ll
M llvm/test/Bitcode/thinlto-function-summary-callgraph-pgo.ll
M llvm/test/Bitcode/thinlto-function-summary-callgraph-profile-summary.ll
M llvm/test/Bitcode/thinlto-function-summary-callgraph-sample-profile-summary.ll
M llvm/test/Bitcode/thinlto-function-summary-callgraph.ll
M llvm/test/Bitcode/thinlto-function-summary-originalnames.ll
M llvm/test/Bitcode/thinlto-function-summary-paramaccess.ll
M llvm/test/ThinLTO/X86/distributed_indexes.ll
M llvm/test/tools/gold/X86/thinlto.ll
M llvm/test/tools/llvm-lto/thinlto.ll
Log Message:
-----------
Revert "Reapply "Use an abbrev to reduce size of VALUE_GUID records in ThinLTO summaries" (#90610)" (#91194)
Reverts llvm/llvm-project#90692
Breaking PPC buildbots. The bots are not meant to test LLD, but are
running a test that is using an old version of LLD without the change
(so is incompatible). Revert until a fix is found.
Commit: 7b040d01c59505d62d4700c75b0438269a0f7bb4
https://github.com/llvm/llvm-project/commit/7b040d01c59505d62d4700c75b0438269a0f7bb4
Author: Zequan Wu <zequanwu at google.com>
Date: 2024-05-06 (Mon, 06 May 2024)
Changed paths:
M lldb/tools/lldb-dap/lldb-dap.cpp
Log Message:
-----------
[lldb-dap] Don't fail when SBProcess::GetMemoryRegionInfo returns error. (#87649)
`SBProcess::GetMemoryRegionInfo` uses `qMemoryRegionInfo` packet to get
memory region info, but this is not supported in gdb-server and causing
downstream lldb test failures. This change ignores the the error from
`SBProcess::GetMemoryRegionInfo` .
Reported by @tedwoodward @jerinphilip.
Commit: 1b22ecae1f53af48f4c0e6438ae6fb4d73a8769d
https://github.com/llvm/llvm-project/commit/1b22ecae1f53af48f4c0e6438ae6fb4d73a8769d
Author: David Tenty <daltenty at ibm.com>
Date: 2024-05-06 (Mon, 06 May 2024)
Changed paths:
M llvm/cmake/modules/LLVMExternalProjectUtils.cmake
Log Message:
-----------
Revert "[AIX][CMake] Use top-level tools in llvm_ExternalProject_Add" (#91019)
This reverts commit 11066449d49e20f18f46757df07455c6abcedcf1.
As noted in the original patch, this was designed to reverted once
https://reviews.llvm.org/D142479 and https://reviews.llvm.org/D142660
landed, which has long since happened.
Commit: 1241e7692a466ceb420be2780f1c3e8bbab7d469
https://github.com/llvm/llvm-project/commit/1241e7692a466ceb420be2780f1c3e8bbab7d469
Author: Franklin Zhang <zhangfenglei at huawei.com>
Date: 2024-05-06 (Mon, 06 May 2024)
Changed paths:
M llvm/lib/Transforms/AggressiveInstCombine/AggressiveInstCombine.cpp
M llvm/test/Transforms/AggressiveInstCombine/strncmp-1.ll
Log Message:
-----------
[AggressiveInstCombine] Fix strncmp inlining (#91204)
Fix the issue that `char` constants are converted to `uint64_t` in the
wrong way when doing the inlining.
Commit: d584df6c8fd4f1a517fa7373d43e9ba2cb10f47f
https://github.com/llvm/llvm-project/commit/d584df6c8fd4f1a517fa7373d43e9ba2cb10f47f
Author: Alexey Bataev <a.bataev at outlook.com>
Date: 2024-05-06 (Mon, 06 May 2024)
Changed paths:
A llvm/test/Transforms/SLPVectorizer/RISCV/smin-signed-zextended.ll
Log Message:
-----------
[SLP][NFC]Add a test with incorrect smin analysis for minimal bitwidth, NFC.
Commit: a4760321017bd55f51ea0961231ca48ce9e14624
https://github.com/llvm/llvm-project/commit/a4760321017bd55f51ea0961231ca48ce9e14624
Author: Alexey Bataev <a.bataev at outlook.com>
Date: 2024-05-06 (Mon, 06 May 2024)
Changed paths:
M llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
M llvm/test/Transforms/SLPVectorizer/RISCV/smin-signed-zextended.ll
Log Message:
-----------
[SLP]Fix PR91025: correctly handle smin/smax of signed operands.
Need to check that the signed operand has an extra sign bit to be sure
that we do not skip signedness, when trying to minimize bitwidth for
smin/smax intrinsics.
Commit: 5cb13bfd897f5d69439058d3cd7b1af8a37c7e42
https://github.com/llvm/llvm-project/commit/5cb13bfd897f5d69439058d3cd7b1af8a37c7e42
Author: Congcong Cai <congcongcai0907 at 163.com>
Date: 2024-05-06 (Mon, 06 May 2024)
Changed paths:
M clang-tools-extra/clang-tidy/bugprone/ReturnConstRefFromParameterCheck.cpp
Log Message:
-----------
[NFC][clang-tidy]increase stability for bugprone-return-const-ref-from-parameter (#91160)
Commit: 9d9bd76458ebc7c842c200982cfa0a490ccbe8cf
https://github.com/llvm/llvm-project/commit/9d9bd76458ebc7c842c200982cfa0a490ccbe8cf
Author: Luke Lau <luke at igalia.com>
Date: 2024-05-07 (Tue, 07 May 2024)
Changed paths:
M llvm/lib/Target/RISCV/RISCVInsertVSETVLI.cpp
Log Message:
-----------
[RISCV] Check dead flag on VL def op in RISCVCoalesceVSETVLI. NFC (#91168)
Because LiveVariables has been run, we no longer need to lookup the
users in MachineRegisterInfo anymore and can instead just check for the
dead flag.
Commit: 6542e5663d1e599d5ed7c961842ce2fcdc9f5090
https://github.com/llvm/llvm-project/commit/6542e5663d1e599d5ed7c961842ce2fcdc9f5090
Author: Leandro Lupori <leandro.lupori at linaro.org>
Date: 2024-05-06 (Mon, 06 May 2024)
Changed paths:
M flang/lib/Lower/OpenMP/DataSharingProcessor.cpp
M flang/lib/Lower/OpenMP/OpenMP.cpp
M flang/test/Lower/OpenMP/sections.f90
Log Message:
-----------
[flang][OpenMP] Move privatizations out of sections (#88191)
Besides duplicating code, privatizing variables in every section
causes problems when synchronization barriers are used. This
happens because each section is executed by a given thread, which
will cause the program to hang if not all running threads execute
the barrier operation.
Fixes https://github.com/llvm/llvm-project/issues/72824
Commit: e50060fc6fc9ca41fe4b266f3b68005247327247
https://github.com/llvm/llvm-project/commit/e50060fc6fc9ca41fe4b266f3b68005247327247
Author: David Green <david.green at arm.com>
Date: 2024-05-06 (Mon, 06 May 2024)
Changed paths:
M llvm/test/CodeGen/AArch64/arm64-uzp.ll
M llvm/test/CodeGen/AArch64/arm64-zip.ll
M llvm/test/CodeGen/AArch64/neon-perm.ll
Log Message:
-----------
[AArch64][GlobalISel] Addition GISel test coverage for shuffles. NFC
Commit: 48c8a5791ae71c96661479f684459b7b9427a22d
https://github.com/llvm/llvm-project/commit/48c8a5791ae71c96661479f684459b7b9427a22d
Author: erichkeane <ekeane at nvidia.com>
Date: 2024-05-06 (Mon, 06 May 2024)
Changed paths:
M clang/include/clang/AST/OpenACCClause.h
M clang/include/clang/Basic/DiagnosticSemaKinds.td
M clang/include/clang/Basic/OpenACCClauses.def
M clang/include/clang/Sema/SemaOpenACC.h
M clang/lib/AST/OpenACCClause.cpp
M clang/lib/AST/StmtProfile.cpp
M clang/lib/AST/TextNodeDumper.cpp
M clang/lib/Parse/ParseOpenACC.cpp
M clang/lib/Sema/SemaOpenACC.cpp
M clang/lib/Sema/TreeTransform.h
M clang/lib/Serialization/ASTReader.cpp
M clang/lib/Serialization/ASTWriter.cpp
M clang/test/AST/ast-print-openacc-compute-construct.cpp
M clang/test/ParserOpenACC/parse-clauses.c
A clang/test/SemaOpenACC/compute-construct-attach-clause.c
A clang/test/SemaOpenACC/compute-construct-attach-clause.cpp
A clang/test/SemaOpenACC/compute-construct-deviceptr-clause.c
A clang/test/SemaOpenACC/compute-construct-deviceptr-clause.cpp
M clang/test/SemaOpenACC/compute-construct-varlist-ast.cpp
M clang/tools/libclang/CIndex.cpp
Log Message:
-----------
[OpenACC] Implement 'deviceptr' and 'attach' sema for compute constructs
These two are very similar to the other 'var-list' variants, except they
require that the type of the variable be a pointer. This patch
implements that restriction.
Commit: b9541f9879b7c43d796e78e32ac896dd05550d71
https://github.com/llvm/llvm-project/commit/b9541f9879b7c43d796e78e32ac896dd05550d71
Author: Leandro Lupori <leandro.lupori at linaro.org>
Date: 2024-05-06 (Mon, 06 May 2024)
Changed paths:
M flang/test/Semantics/cuf13.cuf
Log Message:
-----------
[flang][cuda][NFC] Fix Semantics/cuf13.cuf test on Darwin
Commit: 52187b9f2e7ef0997269bcf64b3d2512a52467ed
https://github.com/llvm/llvm-project/commit/52187b9f2e7ef0997269bcf64b3d2512a52467ed
Author: Luke Lau <luke at igalia.com>
Date: 2024-05-07 (Tue, 07 May 2024)
Changed paths:
M llvm/lib/Target/RISCV/RISCVDeadRegisterDefinitions.cpp
M llvm/lib/Target/RISCV/RISCVTargetMachine.cpp
M llvm/test/CodeGen/RISCV/O3-pipeline.ll
M llvm/test/CodeGen/RISCV/rvv/vsetvli-insert-crossbb.ll
Log Message:
-----------
[RISCV] Move RISCVDeadRegisterDefinitions to post vector regalloc (#90636)
Currently RISCVDeadRegisterDefinitions runs after vsetvli insertion, but
in #70549 vsetvli insertion runs after vector regalloc and as a result
we no longer convert some vsetvli a0, a0s to vsetvli x0, a0. This patch
moves it to after vector regalloc, but before scalar regalloc so we
still get the benefits of reducing register pressure.
Commit: 5fa24ac277172045a81603bb56e66b5f4a27f99e
https://github.com/llvm/llvm-project/commit/5fa24ac277172045a81603bb56e66b5f4a27f99e
Author: alx32 <103613512+alx32 at users.noreply.github.com>
Date: 2024-05-06 (Mon, 06 May 2024)
Changed paths:
M lld/MachO/ObjC.cpp
M lld/test/MachO/objc-category-merging-extern-class-minimal.s
Log Message:
-----------
[lld-macho] Category Merger: add support for addrsig references (#90903)
When generating categories, clang sometimes will generate references in
the `.addrsig` section to the various category data items. Since we may
erase such items after merging them, we also need to remove them from
the `.addrsig` section - otherwise this will cause runtime asserts with
the `.addrsig` section trying to access invalid data.
Implementation wise, we use a hashset to keep track of all erased
`InputSection`'s and then go through all `.addrsig` sections and remove
references to any erased `InputSection`.
Commit: 9fc0b1824bfec0a65f4e2b840b23eedd9c2de4cf
https://github.com/llvm/llvm-project/commit/9fc0b1824bfec0a65f4e2b840b23eedd9c2de4cf
Author: alx32 <103613512+alx32 at users.noreply.github.com>
Date: 2024-05-06 (Mon, 06 May 2024)
Changed paths:
M lld/MachO/ObjC.cpp
M lld/test/MachO/objc-category-merging-extern-class-minimal.s
Log Message:
-----------
[lld-macho] Add support for category names in ConcatInputSection's (#90850)
In some cases we see strings from categories being part of "data"
sections (Ex:`__objc_const`), not part of of sections marked as
`cstring_literals`. Since lld treats these sections differently we need
to explicitly implement support for reading strings from the
non-`cstring_literals` sections.
Adding a test that previously would result in an assert.
Commit: cf6d79711d8a423cade5a555db650cb46a74e565
https://github.com/llvm/llvm-project/commit/cf6d79711d8a423cade5a555db650cb46a74e565
Author: Alex Langford <alangford at apple.com>
Date: 2024-05-06 (Mon, 06 May 2024)
Changed paths:
M lldb/source/Plugins/SymbolFile/DWARF/DWARFDefines.cpp
M lldb/source/Plugins/SymbolFile/DWARF/DWARFDefines.h
Log Message:
-----------
[lldb][NFCI] Remove unused DWARF value-to-name functions (#91010)
I was cleaning up this portion of the code and realized these are
completely unused.
Commit: f0f02b9c3eb1834f4c38d0c95bf19559869788ea
https://github.com/llvm/llvm-project/commit/f0f02b9c3eb1834f4c38d0c95bf19559869788ea
Author: Andy Kaylor <andrew.kaylor at intel.com>
Date: 2024-05-06 (Mon, 06 May 2024)
Changed paths:
M clang/lib/Driver/ToolChains/Clang.cpp
Log Message:
-----------
[NFC][Driver] Clean up RenderFloatingPointOptions() (#91017)
This change refactors RenderFloatingPointOptions() to eliminate some
excessively complicated logic and a redundant switch statement. The
logic being simplified is an artifact of the original -ffp-model
implementation, and over time it has become unnecessary.
The handling of diagnostics related to the -ffp-contract option is
still a bit convoluted after this change. I will address that in a
subsequent patch because I think it will make sense to make some minor
changes to the driver behavior when that is cleaned up. The current
patch should not make any change to observable behavior of the driver.
Commit: c144157f3df0dc5cd147cd1c531d75193fd6a22f
https://github.com/llvm/llvm-project/commit/c144157f3df0dc5cd147cd1c531d75193fd6a22f
Author: Alexey Bataev <a.bataev at outlook.com>
Date: 2024-05-06 (Mon, 06 May 2024)
Changed paths:
M llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
M llvm/test/Transforms/SLPVectorizer/RISCV/strided-stores-vectorized.ll
Log Message:
-----------
[SLP]Use last pointer instead of first for reversed strided stores.
Need to use the last address of the vectorized stores for the strided
stores, not the first one, to correctly store the data.
Commit: d0be944aa51194145cd15c987af67489f735059d
https://github.com/llvm/llvm-project/commit/d0be944aa51194145cd15c987af67489f735059d
Author: Simon Pilgrim <llvm-dev at redking.me.uk>
Date: 2024-05-06 (Mon, 06 May 2024)
Changed paths:
M llvm/lib/Target/X86/X86.td
M llvm/test/CodeGen/X86/bypass-slow-division-64.ll
Log Message:
-----------
[X86] Add slow div64 tuning flag to Nehalem target (#91129)
This appears to have been missed because later cpus don't inherit from Nehalem tuning much.
Noticed while cleaning up for #90985
Commit: e4d242768aefabc0091dd01fabecaffbc2b6984b
https://github.com/llvm/llvm-project/commit/e4d242768aefabc0091dd01fabecaffbc2b6984b
Author: Fangrui Song <i at maskray.me>
Date: 2024-05-06 (Mon, 06 May 2024)
Changed paths:
M clang/test/Analysis/addrspace-null.c
M clang/test/Analysis/ctu-cxxdefaultinitexpr.cpp
M clang/test/Analysis/ctu-lookup-name-with-space.cpp
M clang/test/Analysis/ctu-main.c
M clang/test/Analysis/ctu-on-demand-parsing.c
M clang/test/Analysis/handle_constructors_for_default_arguments.cpp
M clang/test/Analysis/handle_constructors_with_new_array.cpp
M clang/test/Analysis/html_diagnostics/relevant_lines/goto.c
M clang/test/Analysis/html_diagnostics/relevant_lines/macros_same_file.c
M clang/test/Analysis/html_diagnostics/relevant_lines/multifile.c
M clang/test/Analysis/html_diagnostics/relevant_lines/multiline_func_def.c
M clang/test/Analysis/html_diagnostics/relevant_lines/notexecutedlines.c
M clang/test/Analysis/html_diagnostics/relevant_lines/objcmethods.m
M clang/test/Analysis/html_diagnostics/relevant_lines/simple_conditional.c
M clang/test/Analysis/html_diagnostics/relevant_lines/switch.c
M clang/test/Analysis/html_diagnostics/relevant_lines/switch_default.c
M clang/test/Analysis/html_diagnostics/relevant_lines/synthesized_body.cpp
M clang/test/Analysis/html_diagnostics/relevant_lines/unused_header.c
M clang/test/Analysis/inlining/temp-dtors-path-notes.cpp
M clang/test/Analysis/new-aligned.cpp
M clang/test/Analysis/osobject-retain-release.cpp
M clang/test/Analysis/ptr-cmp-const-trunc.cl
M clang/test/Analysis/region_store_overflow.c
M clang/test/Analysis/solver-sym-simplification-bool.cpp
M clang/test/Analysis/solver-sym-simplification-ptr-bool.cl
M clang/test/Analysis/transparent_union_bug.c
M clang/test/Analysis/trustnonnullchecker_test.m
M clang/test/Analysis/trustnonnullchecker_test.mm
M clang/test/Analysis/undef-call.c
M clang/test/OpenMP/amdgpu_exceptions.cpp
M clang/test/OpenMP/amdgpu_throw.cpp
M clang/test/OpenMP/amdgpu_try_catch.cpp
M clang/test/OpenMP/nvptx_exceptions.cpp
M clang/test/OpenMP/nvptx_throw.cpp
M clang/test/OpenMP/nvptx_try_catch.cpp
M clang/test/OpenMP/x86_target_exceptions.cpp
M clang/test/OpenMP/x86_target_throw.cpp
M clang/test/OpenMP/x86_target_try_catch.cpp
M clang/test/Rewriter/rewrite-super-message.mm
Log Message:
-----------
[test] %clang_cc1 -analyze: remove redundant actions
Commit: 363ec6f6911afe5b2ab640d6a7d778908c58b3bd
https://github.com/llvm/llvm-project/commit/363ec6f6911afe5b2ab640d6a7d778908c58b3bd
Author: David Green <david.green at arm.com>
Date: 2024-05-06 (Mon, 06 May 2024)
Changed paths:
M llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
M llvm/lib/Target/AArch64/AArch64PerfectShuffle.h
M llvm/lib/Target/AArch64/AArch64TargetTransformInfo.cpp
M llvm/lib/Target/AArch64/GISel/AArch64PostLegalizerLowering.cpp
M llvm/test/CodeGen/AArch64/GlobalISel/postlegalizer-lowering-ext.mir
M llvm/test/CodeGen/AArch64/arm64-uzp.ll
M llvm/test/CodeGen/AArch64/arm64-zip.ll
Log Message:
-----------
[AArch64][GlobalISel] Common some shuffle mask functions.
This removes the GISel versions of isREVMask, isTRNMask, isUZPMask and
isZipMask. They are combined with the existing versions from SDAG into
AArch64PerfectShuffle.h.
Commit: 657eda36728824b14c3c08d261c93daf2d4664bf
https://github.com/llvm/llvm-project/commit/657eda36728824b14c3c08d261c93daf2d4664bf
Author: Chris <cbate at nvidia.com>
Date: 2024-05-06 (Mon, 06 May 2024)
Changed paths:
M mlir/lib/Target/Cpp/TranslateToCpp.cpp
M mlir/test/Target/Cpp/expressions.mlir
Log Message:
-----------
[MLIR][EmitC] Don't translate expressions inline if user is `emitc.subscript` (#91087)
This change updates the logic that determines whether an `emitc.expression`
result is translated into a dedicated variable assignment. Due to how
the translation of `emitc.subscript` currently works, a previously
inline-able `emitc.expression` would produce incorrect C++ if its single user
was a `emitc.subscript` operation.
Commit: d3e77f5408fded2b4bb70f51d6d9e52684badc92
https://github.com/llvm/llvm-project/commit/d3e77f5408fded2b4bb70f51d6d9e52684badc92
Author: Brandt Bucher <brandtbucher at gmail.com>
Date: 2024-05-06 (Mon, 06 May 2024)
Changed paths:
M clang/include/clang/Basic/AttrDocs.td
M llvm/lib/Target/X86/X86CallingConv.td
M llvm/test/CodeGen/X86/preserve_nonecc_call.ll
A llvm/test/CodeGen/X86/preserve_nonecc_call_win.ll
Log Message:
-----------
Try to use non-volatile registers for `preserve_none` parameters (#88333)
This uses non-volatile registers for the first four (six on Windows)
registers used for `preserve_none` argument passing. This allows these
registers to stay "pinned", even if the body of the `preserve_none`
function contains calls to other "normal" functions.
Example:
```c
void boring(void);
__attribute__((preserve_none)) void (continuation)(void *, void *, void *, void *);
__attribute__((preserve_none)) void entry(void *a, void *b, void *c, void *d)
{
boring();
__attribute__((musttail)) return continuation(a, b, c, d);
}
```
Before:
```asm
pushq %rax
movq %rcx, %rbx
movq %rdx, %r14
movq %rsi, %r15
movq %rdi, %r12
callq boring at PLT
movq %r12, %rdi
movq %r15, %rsi
movq %r14, %rdx
movq %rbx, %rcx
popq %rax
jmp continuation at PLT
```
After:
```asm
pushq %rax
callq boring at PLT
popq %rax
jmp continuation at PLT
```
Commit: e68d505008d878c6303032631fcfd5918b62f3d6
https://github.com/llvm/llvm-project/commit/e68d505008d878c6303032631fcfd5918b62f3d6
Author: Alexander Yermolovich <43973793+ayermolo at users.noreply.github.com>
Date: 2024-05-06 (Mon, 06 May 2024)
Changed paths:
M bolt/include/bolt/Rewrite/DWARFRewriter.h
M bolt/lib/Rewrite/DWARFRewriter.cpp
Log Message:
-----------
[BOLT][DWARF] Refactor helper functions that update DW_AT_comp_dir/DW_AT_dwo_name (#91237)
We need to update DW_AT_comp_dir/DW_AT_dwo_name TU in the
.debug_info.dwo section so that the path is correct. Refactored helper
functions to make it easier for next step.
Commit: 94204f59e92473bb19333f40a2250b64a398191a
https://github.com/llvm/llvm-project/commit/94204f59e92473bb19333f40a2250b64a398191a
Author: Krzysztof Parzyszek <Krzysztof.Parzyszek at amd.com>
Date: 2024-05-06 (Mon, 06 May 2024)
Changed paths:
M flang/lib/Lower/OpenMP/ClauseProcessor.cpp
A flang/test/Lower/OpenMP/copyin-order.f90
Log Message:
-----------
[flang][OpenMP] Fix location of `barrier` in `copyin` clause (#91214)
Insert the barrier after the last _executed_ copy, not the most recently
inserted copy.
This fixes https://github.com/llvm/llvm-project/issues/91205.
Commit: fcf341d3ddfe2289ac88aa3c122b25df8732cc8e
https://github.com/llvm/llvm-project/commit/fcf341d3ddfe2289ac88aa3c122b25df8732cc8e
Author: Alan Zhao <ayzhao at google.com>
Date: 2024-05-06 (Mon, 06 May 2024)
Changed paths:
M llvm/include/llvm/Analysis/CFG.h
M llvm/lib/Analysis/CFG.cpp
M llvm/lib/Transforms/Coroutines/CoroFrame.cpp
A llvm/test/Transforms/Coroutines/coro-lifetime-end.ll
Log Message:
-----------
[coro][CoroSplit] Use `llvm.lifetime.end` to compute putting objects on the frame vs the stack (#90265)
The current logic for using lifetime intrinsics to determine whether a
coroutine alloca should live on the coroutine frame or stack doesn't
consider `llvm.lifetime.end`. As a result, some allocas are incorrectly
placed on the stack even though their lifetimes may outlive the stack.
For example, SimplifyCFG may generate code that drops the corresponding
`llvm.lifetime.end` of an `llvm.lifetime.start`, and that code is
incorrectly handled by the existing logic.
To fix this, new logic is introduced where if an alloca's address is
escaped, and there is a path from an `llvm.lifetime.start` to a
coroutine suspend point (e.g. `llvm.coro.suspend`) without an
`llvm.lifetime.end`, then we know the object lives beyond the suspension
point and therefore must go on the coroutine frame.
Fixes https://github.com/llvm/llvm-project/issues/86580
Commit: ee36dd20e7a15dd5d66223592650655c8cf743fe
https://github.com/llvm/llvm-project/commit/ee36dd20e7a15dd5d66223592650655c8cf743fe
Author: Keith Smiley <keithbsmiley at gmail.com>
Date: 2024-05-06 (Mon, 06 May 2024)
Changed paths:
M utils/bazel/llvm-project-overlay/lldb/BUILD.bazel
M utils/bazel/llvm-project-overlay/lldb/source/Plugins/BUILD.bazel
Log Message:
-----------
[bazel] Fix layering_check with macOS targets (#91260)
Commit: 144091b361c6419ea37ae96341980481e90c4122
https://github.com/llvm/llvm-project/commit/144091b361c6419ea37ae96341980481e90c4122
Author: David Tenty <daltenty at ibm.com>
Date: 2024-05-06 (Mon, 06 May 2024)
Changed paths:
M openmp/CMakeLists.txt
Log Message:
-----------
[OpenMP][CMake] Revert standalone build LIBOMP_HEADERS_INSTALL_PATH (#91243)
Revert the portion of https://github.com/llvm/llvm-project/pull/75125
which modified the LIBOMP_HEADERS_INSTALL_PATH in standalone build.
This change is harmful for real standalone builds (i.e. builds where we
build openmp by itself), since it tries to overwrite the `omp.h` inside
the build compiler. For all-in-one builds with clang, testing shows this
change is unnecessary as https://github.com/llvm/llvm-project/pull/88007
already set up that build configuration so that omp.h will be put into
the project build's `clang` resource directory.
Commit: afeedd9c3d4c0fc1f8022a970137dd3ea410f865
https://github.com/llvm/llvm-project/commit/afeedd9c3d4c0fc1f8022a970137dd3ea410f865
Author: Chris B <chris.bieneman at me.com>
Date: 2024-05-06 (Mon, 06 May 2024)
Changed paths:
A llvm/docs/DirectX/DXContainer.rst
M llvm/docs/DirectXUsage.rst
Log Message:
-----------
[DirectX][docs] Document DXContainer format (#90908)
This adds a document to describe the DXContainer format and the
structures of data inside the file.
Resolves #88775
Commit: b21d2de661994f37ffb9c79fede3154d96f89db2
https://github.com/llvm/llvm-project/commit/b21d2de661994f37ffb9c79fede3154d96f89db2
Author: Chris B <chris.bieneman at me.com>
Date: 2024-05-06 (Mon, 06 May 2024)
Changed paths:
M clang/lib/Sema/SemaExpr.cpp
M clang/test/AST/HLSL/vector-constructors.hlsl
M clang/test/CodeGenHLSL/builtins/ScalarSwizzles.hlsl
A clang/test/SemaHLSL/Types/Arithmetic/literal_suffixes.hlsl
A clang/test/SemaHLSL/Types/Arithmetic/literal_suffixes_202x.hlsl
A clang/test/SemaHLSL/Types/Arithmetic/literal_suffixes_no_16bit.hlsl
M clang/test/SemaHLSL/Types/BuiltinVector/ScalarSwizzles.hlsl
R clang/test/SemaHLSL/literal_suffixes.hlsl
R clang/test/SemaHLSL/literal_suffixes_no_16bit.hlsl
Log Message:
-----------
[HLSL] Implement 202x conforming literals (#91015)
This implements the HLSL 202x conforming literals feature.
The feature proposal is available here:
https://github.com/microsoft/hlsl-specs/blob/main/proposals/0017-conforming-literals.md
The language specification for this behavior is available in (poorly
rendered) HTML or PDF:
https://microsoft.github.io/hlsl-specs/specs/hlsl.html#Lex.Literal.Float
https://microsoft.github.io/hlsl-specs/specs/hlsl.pdf
The main implementation details are:
1) Unsuffixed floating literals are `float`.
2) The integer `ll` suffix specifies `int64_t (aka long)` which is
64-bit because HLSL has no defined `long` keyword or `long long` type.
Resolves #85714
Commit: 3809e20afc68d7d03821f0ec59b928dcf9befbf4
https://github.com/llvm/llvm-project/commit/3809e20afc68d7d03821f0ec59b928dcf9befbf4
Author: Jonas Devlieghere <jonas at devlieghere.com>
Date: 2024-05-06 (Mon, 06 May 2024)
Changed paths:
M lldb/source/API/CMakeLists.txt
Log Message:
-----------
[lldb] Use add_custom_command for SBLanguages.h (#91254)
Use add_custom_command instead of add_custom_target to generate
SBLanguages.h.
Commit: 89e0557e48155d7eaab2a25426f6dfc9493f2474
https://github.com/llvm/llvm-project/commit/89e0557e48155d7eaab2a25426f6dfc9493f2474
Author: Krzysztof Parzyszek <Krzysztof.Parzyszek at amd.com>
Date: 2024-05-06 (Mon, 06 May 2024)
Changed paths:
M flang/test/Lower/OpenMP/copyin-order.f90
Log Message:
-----------
[flang][OpenMP] Fix comments in test file, NFC
Address review comments for PR91214.
Commit: 080978dd2067d0c9ea7e229aa7696c2480d89ef1
https://github.com/llvm/llvm-project/commit/080978dd2067d0c9ea7e229aa7696c2480d89ef1
Author: S. Bharadwaj Yadavalli <Bharadwaj.Yadavalli at microsoft.com>
Date: 2024-05-06 (Mon, 06 May 2024)
Changed paths:
M clang/lib/Basic/Targets.cpp
M clang/lib/Driver/ToolChains/HLSL.cpp
M clang/test/CodeGenHLSL/basic-target.c
M clang/test/Driver/dxc_dxv_path.hlsl
M clang/test/Options/enable_16bit_types_validation.hlsl
M clang/unittests/Driver/DXCModeTest.cpp
M llvm/include/llvm/TargetParser/Triple.h
M llvm/lib/IR/Verifier.cpp
M llvm/lib/TargetParser/Triple.cpp
M llvm/unittests/TargetParser/TripleTest.cpp
Log Message:
-----------
[DirectX][DXIL] Set DXIL Version in DXIL target triple based on shader model version (#90809)
An earlier commit provided a way to decouple DXIL version from Shader
Model version by representing the DXIL version as `SubArch` in the DXIL
Target Triple and adding corresponding valid DXIL Arch types.
This change constructs DXIL target triple with DXIL version that is
deduced from Shader Model version specified in the following scenarios:
1. When compilation target profile is specified:
For e.g., DXIL target triple `dxilv1.8-unknown-shader6.8-library` is
constructed when `-T lib_6_8` is specified.
2. When DXIL target triple without DXIL version is specified:
For e.g., DXIL target triple `dxilv1.8-pc-shadermodel6.8-library` is
constructed when `-mtriple=dxil-pc-shadermodel6.8-library` is specified.
Updated relevant HLSL tests that check for target triple.
Validated that Clang (`check-clang`) and LLVM (`check-llvm`) regression
tests pass.
Commit: ee9ca120e037b668c5d26853719368490a71fd40
https://github.com/llvm/llvm-project/commit/ee9ca120e037b668c5d26853719368490a71fd40
Author: Valentin Clement (バレンタイン クレメン) <clementval at gmail.com>
Date: 2024-05-06 (Mon, 06 May 2024)
Changed paths:
M flang/include/flang/Semantics/tools.h
M flang/test/Lower/CUDA/cuda-data-attribute.cuf
Log Message:
-----------
[flang][cuda] Avoid generating wrong fir.cuda_free op (#91255)
fir.cuda_free operation was wrongly generated for dummy argument.
Commit: 096f85e827b6fdf52ff1f8d99aa8335a885b46a1
https://github.com/llvm/llvm-project/commit/096f85e827b6fdf52ff1f8d99aa8335a885b46a1
Author: Schrodinger ZHU Yifan <yifanzhu at rochester.edu>
Date: 2024-05-06 (Mon, 06 May 2024)
Changed paths:
M libc/src/__support/CPP/atomic.h
Log Message:
-----------
[libc] add more APIs of cmgxchg variants (#91208)
Such APIs are useful in lock implementations
Commit: 29d447a6e446e7fd78bd28af28bbf7dd377ade10
https://github.com/llvm/llvm-project/commit/29d447a6e446e7fd78bd28af28bbf7dd377ade10
Author: Ian Anderson <iana at apple.com>
Date: 2024-05-06 (Mon, 06 May 2024)
Changed paths:
M clang-tools-extra/clang-include-fixer/find-all-symbols/STLPostfixHeaderMap.cpp
M clang-tools-extra/clangd/index/CanonicalIncludes.cpp
M clang/lib/Headers/CMakeLists.txt
A clang/lib/Headers/__stdarg_header_macro.h
A clang/lib/Headers/__stddef_header_macro.h
M clang/lib/Headers/module.modulemap
M clang/lib/Headers/stdarg.h
M clang/lib/Headers/stddef.h
M llvm/utils/gn/secondary/clang/lib/Headers/BUILD.gn
Log Message:
-----------
[clang][modules] stdarg.h and stddef.h shouldn't directly declare anything (#90676)
stdarg.h and especially stddef.h are textual and so everything they
declare gets precompiled into all of their clients' pcm files. They
shouldn't directly declare anything though, their purpose is to select
what submodules get imported, and not to add duplicate declarations to
all of their clients. Make it so that they always ignore their header
guards, even without modules, and declare them in separate header files
so that they only go into the stdarg/stddef pcms. Still declare them in
case clients rely on them.
Commit: b86accceee0c7c5d36ecdc1629d00e6303f29955
https://github.com/llvm/llvm-project/commit/b86accceee0c7c5d36ecdc1629d00e6303f29955
Author: Ryosuke Niwa <rniwa at webkit.org>
Date: 2024-05-06 (Mon, 06 May 2024)
Changed paths:
M clang/lib/StaticAnalyzer/Checkers/WebKit/ASTUtils.cpp
M clang/test/Analysis/Checkers/WebKit/call-args.cpp
Log Message:
-----------
[alpha.webkit.UncountedCallArgsChecker] Treat (foo())->bar() like foo()->bar(). (#91052)
Commit: 6d6693e9f5376ac8c809a36e1ba4a8c47f311a70
https://github.com/llvm/llvm-project/commit/6d6693e9f5376ac8c809a36e1ba4a8c47f311a70
Author: Ryosuke Niwa <rniwa at webkit.org>
Date: 2024-05-06 (Mon, 06 May 2024)
Changed paths:
M clang/lib/StaticAnalyzer/Checkers/WebKit/RefCntblBaseVirtualDtorChecker.cpp
M clang/test/Analysis/Checkers/WebKit/ref-cntbl-base-virtual-dtor-templates.cpp
Log Message:
-----------
[webkit.RefCntblBaseVirtualDtor] Ignore WTF::RefCounted<T> and its variants missing virtual destructor (#91009)
Commit: 2287f8d2353dadcbe210e07776c927c9fabca57c
https://github.com/llvm/llvm-project/commit/2287f8d2353dadcbe210e07776c927c9fabca57c
Author: antangelo <contact at antangelo.com>
Date: 2024-05-06 (Mon, 06 May 2024)
Changed paths:
M llvm/test/CodeGen/X86/dynamic-regmask-preserve-none.ll
Log Message:
-----------
[NFC][X86] Fix check directive typo in preserve_none dynamic regmask test (#91048)
Fixes an inactive check line and updates the check to match output and
other cases.
Commit: 6e5ed351be68017e46120b8ad1aa89d75b0ca204
https://github.com/llvm/llvm-project/commit/6e5ed351be68017e46120b8ad1aa89d75b0ca204
Author: alx32 <103613512+alx32 at users.noreply.github.com>
Date: 2024-05-06 (Mon, 06 May 2024)
Changed paths:
M lld/MachO/ObjC.cpp
Log Message:
-----------
[lld-macho] Fix category merging category map non-determinism (#91159)
Currently in `ObjcCategoryMerger::doMerge` and
`generateCatListForNonErasedCategories` we use maps of pointers which
leads to non-determinism. Switch instead to using `MapVector` which
preserves determinism.
Commit: 924384161ffceda08099536dd07a953299a69b53
https://github.com/llvm/llvm-project/commit/924384161ffceda08099536dd07a953299a69b53
Author: Nikita Popov <npopov at redhat.com>
Date: 2024-05-07 (Tue, 07 May 2024)
Changed paths:
M llvm/include/llvm/Analysis/CFG.h
M llvm/lib/Analysis/CFG.cpp
M llvm/lib/Transforms/Coroutines/CoroFrame.cpp
R llvm/test/Transforms/Coroutines/coro-lifetime-end.ll
Log Message:
-----------
Revert "[coro][CoroSplit] Use `llvm.lifetime.end` to compute putting objects on the frame vs the stack (#90265)"
This reverts commit fcf341d3ddfe2289ac88aa3c122b25df8732cc8e.
Causes major compile-time regressions when not using coroutines.
Commit: de8cf69abf4f8b16d5c5ecb77a6dfb1f5c09e45a
https://github.com/llvm/llvm-project/commit/de8cf69abf4f8b16d5c5ecb77a6dfb1f5c09e45a
Author: Nikita Popov <npopov at redhat.com>
Date: 2024-05-07 (Tue, 07 May 2024)
Changed paths:
M llvm/docs/LangRef.rst
Log Message:
-----------
[LangRef] callbr result can be used in all successors (#91167)
Originally, the callbr result could only be used on the fallthrough
destination. This limitation has been lifted, and the result is now also
available on the indirect destinations. However, LangRef was not updated
to reflect this.
Commit: f34d30cdae0f59698f660d5cc8fb993fb3441064
https://github.com/llvm/llvm-project/commit/f34d30cdae0f59698f660d5cc8fb993fb3441064
Author: Nikita Popov <npopov at redhat.com>
Date: 2024-05-07 (Tue, 07 May 2024)
Changed paths:
M llvm/lib/Transforms/IPO/FunctionAttrs.cpp
M llvm/test/Transforms/FunctionAttrs/nocapture.ll
M llvm/test/Transforms/FunctionAttrs/nonnull.ll
Log Message:
-----------
[FunctionAttrs] Fix incorrect nonnull inference for non-inbounds GEP (#91180)
For inbounds GEPs, if the source pointer is non-null, the result must
also be non-null. However, this does not hold for non-inbounds GEPs.
Fixes https://github.com/llvm/llvm-project/issues/91177.
Commit: fd0ffb74389d6bf52c5c2afc8cd0a4e26cfa6c2f
https://github.com/llvm/llvm-project/commit/fd0ffb74389d6bf52c5c2afc8cd0a4e26cfa6c2f
Author: Monad <yanwqmonad at gmail.com>
Date: 2024-05-07 (Tue, 07 May 2024)
Changed paths:
M llvm/lib/Analysis/ValueTracking.cpp
M llvm/test/Analysis/ValueTracking/known-power-of-two-urem.ll
Log Message:
-----------
[ValueTracking] Recognize `LShr(UINT_MAX, Y) + 1` as a power-of-two (#91171)
There is a missed optimization in
``` llvm
define i8 @known_power_of_two_rust_next_power_of_two(i8 %x, i8 %y) {
%2 = add i8 %x, -1
%3 = tail call i8 @llvm.ctlz.i8(i8 %2, i1 true)
%4 = lshr i8 -1, %3
%5 = add i8 %4, 1
%6 = icmp ugt i8 %x, 1
%p = select i1 %6, i8 %5, i8 1
%r = urem i8 %y, %p
ret i8 %r
}
```
which is extracted from the Rust code
``` rust
fn func(x: usize, y: usize) -> usize {
let z = x.next_power_of_two();
y % z
}
```
Here `%p` (a.k.a `z`) is semantically a power-of-two, so `y urem p` can
be optimized to `y & (p - 1)`. (Alive2 proof:
https://alive2.llvm.org/ce/z/H3zooY)
---
It could be generalized to recognizing `LShr(UINT_MAX, Y) + 1` as a
power-of-two, which is what this PR does.
Alive2 proof: https://alive2.llvm.org/ce/z/zUPTbc
Commit: 0ab4458df0688955620b72cc2c72a32dffad3615
https://github.com/llvm/llvm-project/commit/0ab4458df0688955620b72cc2c72a32dffad3615
Author: Monad <yanwqmonad at gmail.com>
Date: 2024-05-07 (Tue, 07 May 2024)
Changed paths:
M llvm/lib/Transforms/InstCombine/InstCombineCalls.cpp
M llvm/test/Transforms/InstCombine/cttz.ll
Log Message:
-----------
[InstCombine] Fold `cttz(lshr(-1, x) + 1)` to `width - x` (#91244)
Fold
``` llvm
define i64 @src(i64 %50) {
%52 = lshr i64 -1, %50
%53 = add i64 %52, 1
%54 = call i64 @llvm.cttz.i64(i64 %53, i1 false)
ret i64 %54
}
```
to
``` llvm
define i64 @tgt(i64 %50) {
%52 = sub i64 64, %50
ret i64 %52
}
```
as
https://github.com/llvm/llvm-project/pull/91171#pullrequestreview-2040663002
pointed out.
Alive2 proof: https://alive2.llvm.org/ce/z/2aHfYa
Note: the `ctlz` version of this pattern seems not exist in dtcxzyw's
benchmark, so put it aside for now.
Commit: 178ff395006f204265b4f6fe72a3dbb2b9a79b47
https://github.com/llvm/llvm-project/commit/178ff395006f204265b4f6fe72a3dbb2b9a79b47
Author: S. Bharadwaj Yadavalli <Bharadwaj.Yadavalli at microsoft.com>
Date: 2024-05-06 (Mon, 06 May 2024)
Changed paths:
M clang/lib/Basic/Targets.cpp
M clang/lib/Driver/ToolChains/HLSL.cpp
M clang/test/CodeGenHLSL/basic-target.c
M clang/test/Driver/dxc_dxv_path.hlsl
M clang/test/Options/enable_16bit_types_validation.hlsl
M clang/unittests/Driver/DXCModeTest.cpp
M llvm/include/llvm/TargetParser/Triple.h
M llvm/lib/IR/Verifier.cpp
M llvm/lib/TargetParser/Triple.cpp
M llvm/unittests/TargetParser/TripleTest.cpp
Log Message:
-----------
Revert "[DirectX][DXIL] Set DXIL Version in DXIL target triple based on shader model version" (#91290)
Reverts llvm/llvm-project#90809
Need to investigate ASAN failures.
Commit: 3e54768d7a0e1cfa65e892b6602993192ecad91e
https://github.com/llvm/llvm-project/commit/3e54768d7a0e1cfa65e892b6602993192ecad91e
Author: Joseph Huber <huberjn at outlook.com>
Date: 2024-05-06 (Mon, 06 May 2024)
Changed paths:
M offload/plugins-nextgen/host/CMakeLists.txt
M offload/plugins-nextgen/host/src/rtl.cpp
Log Message:
-----------
[Offload] Detect target triple from preprocessor instead of CMake (#91283)
Summary:
This patch removes the special-case handling for the target triple
inside of the CMake. I moved it into the implementation so it's easier
to see and modify.
Commit: 37fcb323f61efb8dfb74548a1b472fa20e829170
https://github.com/llvm/llvm-project/commit/37fcb323f61efb8dfb74548a1b472fa20e829170
Author: Jianjian Guan <jacquesguan at me.com>
Date: 2024-05-07 (Tue, 07 May 2024)
Changed paths:
M llvm/lib/Target/RISCV/RISCVISelLowering.cpp
M llvm/lib/Target/RISCV/RISCVInstrInfoVPseudos.td
M llvm/lib/Target/RISCV/RISCVInstrInfoVSDPatterns.td
M llvm/lib/Target/RISCV/RISCVInstrInfoVVLPatterns.td
M llvm/test/CodeGen/RISCV/rvv/extract-subvector.ll
M llvm/test/CodeGen/RISCV/rvv/fixed-vectors-fpext-vp.ll
M llvm/test/CodeGen/RISCV/rvv/fixed-vectors-fptrunc-vp.ll
M llvm/test/CodeGen/RISCV/rvv/fixed-vectors-load-store.ll
M llvm/test/CodeGen/RISCV/rvv/fixed-vectors-load.ll
M llvm/test/CodeGen/RISCV/rvv/fixed-vectors-store.ll
M llvm/test/CodeGen/RISCV/rvv/fixed-vectors-vfpext-constrained-sdnode.ll
M llvm/test/CodeGen/RISCV/rvv/fixed-vectors-vfptrunc-constrained-sdnode.ll
M llvm/test/CodeGen/RISCV/rvv/insert-subvector.ll
M llvm/test/CodeGen/RISCV/rvv/vfpext-constrained-sdnode.ll
M llvm/test/CodeGen/RISCV/rvv/vfpext-sdnode.ll
M llvm/test/CodeGen/RISCV/rvv/vfpext-vp.ll
M llvm/test/CodeGen/RISCV/rvv/vfptrunc-constrained-sdnode.ll
M llvm/test/CodeGen/RISCV/rvv/vfptrunc-sdnode.ll
M llvm/test/CodeGen/RISCV/rvv/vfptrunc-vp.ll
Log Message:
-----------
[RISCV] Add codegen support for Zvfbfmin (#87911)
This patch adds basic codegen support for Zvfbfmin extension.
Commit: aac83fcf3ec6bbe5e0d83b76d2d236b1b4bfbe89
https://github.com/llvm/llvm-project/commit/aac83fcf3ec6bbe5e0d83b76d2d236b1b4bfbe89
Author: SahilPatidar <patidarsahil2001 at gmail.com>
Date: 2024-05-07 (Tue, 07 May 2024)
Changed paths:
A llvm/test/Transforms/Reassociate/reassoc_bool.ll
A llvm/test/Transforms/Reassociate/reassoc_bool_vec.ll
Log Message:
-----------
[Reassociate] Adds test coverage for reassociation of scalar & vector boolean types (#89899)
First step for #64840.
Commit: 236b3e1aad45e2bab8ede0da6397b7b01f9cc9d8
https://github.com/llvm/llvm-project/commit/236b3e1aad45e2bab8ede0da6397b7b01f9cc9d8
Author: Owen Pan <owenpiano at gmail.com>
Date: 2024-05-06 (Mon, 06 May 2024)
Changed paths:
M clang/docs/ClangFormatStyleOptions.rst
M clang/docs/ReleaseNotes.rst
M clang/include/clang/Format/Format.h
M clang/lib/Format/Format.cpp
M clang/lib/Format/FormatToken.h
M clang/lib/Format/TokenAnnotator.cpp
M clang/lib/Format/UnwrappedLineFormatter.cpp
M clang/lib/Format/UnwrappedLineParser.cpp
M clang/lib/Format/UnwrappedLineParser.h
M clang/lib/Format/WhitespaceManager.cpp
M clang/lib/Format/WhitespaceManager.h
M clang/unittests/Format/ConfigParseTest.cpp
M clang/unittests/Format/FormatTestJava.cpp
M clang/unittests/Format/TokenAnnotatorTest.cpp
Log Message:
-----------
[clang-format] Handle Java switch expressions (#91112)
Also adds AllowShortCaseExpressionOnASingleLine option and
AlignCaseArrows suboption of AlignConsecutiveShortCaseStatements.
Fixes #55903.
Commit: f9d76197ff0099502cf001abe3f5310c5bc4532d
https://github.com/llvm/llvm-project/commit/f9d76197ff0099502cf001abe3f5310c5bc4532d
Author: Chuanqi Xu <yedeng.yd at linux.alibaba.com>
Date: 2024-05-07 (Tue, 07 May 2024)
Changed paths:
M clang/lib/AST/ASTContext.cpp
M clang/lib/AST/Type.cpp
A clang/test/Modules/pr91105.cppm
Log Message:
-----------
[ASTContext] Profile Dependently-sized array types that do not have a specified number
of elements
Close https://github.com/llvm/llvm-project/issues/91105
The root reason for the issue is that we always generate the
dependently-sized array types which don't specify a number of elements.
The original comment says:
> We do no canonicalization here at all, which is okay
> because they can't be used in most locations.
But now we find the locations.
Commit: 4cce9fbb4e086170f69bfc8766f9613673b441c9
https://github.com/llvm/llvm-project/commit/4cce9fbb4e086170f69bfc8766f9613673b441c9
Author: Eli Friedman <efriedma at quicinc.com>
Date: 2024-05-06 (Mon, 06 May 2024)
Changed paths:
M clang/lib/Headers/arm_acle.h
M clang/test/Headers/arm-acle-header.c
Log Message:
-----------
[Arm64EC] Fix compilation of arm_acle.h (#91281)
Commit: dfa7ff97b24dc5a3dd714b45af288812c13d0110
https://github.com/llvm/llvm-project/commit/dfa7ff97b24dc5a3dd714b45af288812c13d0110
Author: Chuanqi Xu <yedeng.yd at linux.alibaba.com>
Date: 2024-05-07 (Tue, 07 May 2024)
Changed paths:
M clang/include/clang/Serialization/ASTWriter.h
M clang/lib/Serialization/ASTWriter.cpp
A clang/test/Modules/function-transitive-change.cppm
M clang/test/Modules/no-transitive-source-location-change.cppm
Log Message:
-----------
[C++20] [Modules] [Reduced BMI] Combine the signature of used modules
into the current module
Following of https://github.com/llvm/llvm-project/pull/86912. After
https://github.com/llvm/llvm-project/pull/86912, with reduced BMI, the
BMI can keep unchange if the dependent modules only changes the
implementation (without introduing new decls). However, this is not
strictly correct.
For example:
```
// a.cppm
export module a;
export inline int a() { ... }
// b.cppm
export module b;
import a;
export inline int b() { return a(); }
```
Since both `a()` and `b()` are inline, we need to make sure the BMI of
`b.pcm` will change after the implementation of `a()` changes.
We can't get that naturally since we won't record the body of `a()`
during the writing process. We can't reuse ODRHash here since ODRHash
won't calculate the called function recursively. So ODRHash will be
problematic if `a()` calls other inline functions.
Probably we can solve this by a new hash mechanism. But the safety and
efficiency may a problem too. Here we just combine the hash value of the
used modules conservatively.
Commit: 02ce8227ac28e0b83cf780716ae8f912d076eebe
https://github.com/llvm/llvm-project/commit/02ce8227ac28e0b83cf780716ae8f912d076eebe
Author: Shilei Tian <i at tianshilei.me>
Date: 2024-05-06 (Mon, 06 May 2024)
Changed paths:
M openmp/runtime/src/include/ompx.h.var
Log Message:
-----------
[NFC][OpenMP][OMPX] Move `declare variant` up
Commit: 879245e2b5d48b629e8b085afacf69cc1fd6a6ec
https://github.com/llvm/llvm-project/commit/879245e2b5d48b629e8b085afacf69cc1fd6a6ec
Author: Mingming Liu <mingmingl at google.com>
Date: 2024-05-06 (Mon, 06 May 2024)
Changed paths:
M llvm/include/llvm/Analysis/IndirectCallVisitor.h
Log Message:
-----------
[NFC]Extract the heuristic to find vtable for an indirect call into a helper function (#81024)
* This way the helper function could be re-used by
indirect-call-promotion pass to find out the vtable for an indirect call
and extract the value profiles if any.
* The parent patch is https://github.com/llvm/llvm-project/pull/80762
Commit: b42f553af5179b26efe38bee2c1b7aa365b06517
https://github.com/llvm/llvm-project/commit/b42f553af5179b26efe38bee2c1b7aa365b06517
Author: Thorsten Schütt <schuett at gmail.com>
Date: 2024-05-07 (Tue, 07 May 2024)
Changed paths:
M llvm/include/llvm/CodeGen/GlobalISel/CombinerHelper.h
M llvm/include/llvm/CodeGen/GlobalISel/GenericMachineInstrs.h
M llvm/include/llvm/Target/GlobalISel/Combine.td
M llvm/lib/CodeGen/GlobalISel/CombinerHelperVectorOps.cpp
M llvm/test/CodeGen/AArch64/GlobalISel/combine-extract-vec-elt.mir
M llvm/test/CodeGen/AArch64/extract-vector-elt.ll
Log Message:
-----------
[GlobalIsel] Combine extract vector element (#90339)
look through shuffle vectors
Commit: ad9f38d0e3a5e7e06c39dbd7da88a921a49aa805
https://github.com/llvm/llvm-project/commit/ad9f38d0e3a5e7e06c39dbd7da88a921a49aa805
Author: Chuanqi Xu <yedeng.yd at linux.alibaba.com>
Date: 2024-05-07 (Tue, 07 May 2024)
Changed paths:
M clang/test/Modules/no-transitive-source-location-change.cppm
Log Message:
-----------
[NFC] Fix Modules/no-transitive-source-location-change.cppm after dfa7ff97b2
The test fails after dfa7ff97b2. I didn't find this locally due to
cache.
Commit: 05f4448d40f00b9fb2447e1c32cd18a7a9b8b011
https://github.com/llvm/llvm-project/commit/05f4448d40f00b9fb2447e1c32cd18a7a9b8b011
Author: Timm Bäder <tbaeder at redhat.com>
Date: 2024-05-07 (Tue, 07 May 2024)
Changed paths:
A clang/test/AST/Interp/eval-order.cpp
Log Message:
-----------
[clang][Interp][NFC] Add eval-order test
Demonstrate that this isn't yet working right.
Commit: 5f2f3900138cc519e1cb807e99920337eede2b6c
https://github.com/llvm/llvm-project/commit/5f2f3900138cc519e1cb807e99920337eede2b6c
Author: Timm Bäder <tbaeder at redhat.com>
Date: 2024-05-07 (Tue, 07 May 2024)
Changed paths:
M clang/lib/AST/Interp/Pointer.cpp
Log Message:
-----------
[clang][Interp][NFC] Allow Pointer assignment if both are zero
... even if the storage types are different.
Commit: 2b9210d1aa9ce9c204b3af0158636c71a5a72e17
https://github.com/llvm/llvm-project/commit/2b9210d1aa9ce9c204b3af0158636c71a5a72e17
Author: Abhishek Varma <abhvarma at amd.com>
Date: 2024-05-07 (Tue, 07 May 2024)
Changed paths:
M mlir/include/mlir/Dialect/SCF/IR/SCFOps.td
M mlir/lib/Dialect/SCF/IR/SCF.cpp
M mlir/test/Dialect/SCF/canonicalize.mlir
Log Message:
-----------
[MLIR][SCF] Add canonicalization pattern to fold away iter args of scf.forall (#90189)
-- This commit adds a canonicalization pattern to fold away iter args of
scf.forall if :-
a. The corresponding tied result has no use.
b. It is not being modified within the loop.
Signed-off-by: Abhishek Varma <avarma094 at gmail.com>
Commit: fc866fd2a2cfca6d62f48dcf83778959fd24f559
https://github.com/llvm/llvm-project/commit/fc866fd2a2cfca6d62f48dcf83778959fd24f559
Author: Haojian Wu <hokein.wu at gmail.com>
Date: 2024-05-07 (Tue, 07 May 2024)
Changed paths:
M clang-tools-extra/clangd/unittests/HoverTests.cpp
M clang/lib/Sema/SemaDecl.cpp
M clang/test/AST/ast-dump-recovery.cpp
Log Message:
-----------
[clang] Don't preserve the typo expr in the recovery expr for invalid VarDecls (#90948)
With the commit d5308949cf884d8e4b971d51a8b4f73584c4adec, we now
preserve the initializer for invalid decls with the recovery-expr.
However there is a chance that the original init expr is a typo-expr, we
should not preserve it in the final AST, as typo-expr is an internal AST
node. We should use the one after the typo correction.
This is spotted by a clangd hover crash on the testcase.
Commit: 6ad37a41b5489ce66ea890bf92fca66ea1ae41e0
https://github.com/llvm/llvm-project/commit/6ad37a41b5489ce66ea890bf92fca66ea1ae41e0
Author: Kiran Chandramohan <kiran.chandramohan at arm.com>
Date: 2024-05-07 (Tue, 07 May 2024)
Changed paths:
M flang/lib/Semantics/check-omp-structure.cpp
Log Message:
-----------
[Flang][OpenMP] NFC: Trivial changes in OmpCycleChecker (#91024)
Cycle is associated with construct-names and not labels. Change name of
a few variables to reflect this. Also add appropriate comment to
describe the else case of error checking.
Commit: a62a7024164c2977cd0e77f77807f957802d204a
https://github.com/llvm/llvm-project/commit/a62a7024164c2977cd0e77f77807f957802d204a
Author: jinchen <49575973+jinchen62 at users.noreply.github.com>
Date: 2024-05-07 (Tue, 07 May 2024)
Changed paths:
M mlir/include/mlir/Dialect/Math/Transforms/Passes.h
M mlir/lib/Dialect/Math/Transforms/ExpandPatterns.cpp
M mlir/test/lib/Dialect/Math/TestExpandMath.cpp
M mlir/test/mlir-cpu-runner/test-expand-math-approx.mlir
Log Message:
-----------
[mlir][math] Add expand patterns for acosh, asinh, atanh (#90718)
Commit: ebde770c3e6f0dd9d297659cbaeb486cef9471d6
https://github.com/llvm/llvm-project/commit/ebde770c3e6f0dd9d297659cbaeb486cef9471d6
Author: Luke Lau <luke at igalia.com>
Date: 2024-05-07 (Tue, 07 May 2024)
Changed paths:
M llvm/test/CodeGen/RISCV/rvv/vsetvli-insert-crossbb.mir
Log Message:
-----------
[RISCV] Use IMPLICIT_DEF for undef GPR reg in vsetvli test. NFC
Only VRs should use $noreg, this GPR was accidentally changed in d392520c6
Commit: ad59967336d2279eee77fff3a92e52ec87010aae
https://github.com/llvm/llvm-project/commit/ad59967336d2279eee77fff3a92e52ec87010aae
Author: hev <wangrui at loongson.cn>
Date: 2024-05-07 (Tue, 07 May 2024)
Changed paths:
M llvm/lib/Target/LoongArch/LoongArchISelLowering.cpp
M llvm/lib/Target/LoongArch/LoongArchInstrInfo.td
M llvm/test/CodeGen/LoongArch/rotl-rotr.ll
Log Message:
-----------
[LoongArch] Optimize codegen for ISD::{ROTL,ROTR} (#91174)
Commit: d9f2b9391887af95acdd91dfea2e72eb3a9d8d05
https://github.com/llvm/llvm-project/commit/d9f2b9391887af95acdd91dfea2e72eb3a9d8d05
Author: Luke Lau <luke at igalia.com>
Date: 2024-05-07 (Tue, 07 May 2024)
Changed paths:
M llvm/test/CodeGen/RISCV/rvv/addi-scalable-offset.mir
M llvm/test/CodeGen/RISCV/rvv/copyprop.mir
M llvm/test/CodeGen/RISCV/rvv/mask-reg-alloc.mir
M llvm/test/CodeGen/RISCV/rvv/vxrm.mir
Log Message:
-----------
[RISCV] Change more undef passthrus to $noreg in vector tests. NFC
Commit: f3fbd21fa4e25496725c22d987e4e47e4c39c8b0
https://github.com/llvm/llvm-project/commit/f3fbd21fa4e25496725c22d987e4e47e4c39c8b0
Author: martinboehme <mboehme at google.com>
Date: 2024-05-07 (Tue, 07 May 2024)
Changed paths:
M clang/lib/Analysis/FlowSensitive/Transfer.cpp
M clang/unittests/Analysis/FlowSensitive/TransferTest.cpp
Log Message:
-----------
[clang][dataflow] Strengthen pointer comparison. (#75170)
- Instead of comparing the identity of the `PointerValue`s, compare the
underlying `StorageLocation`s.
- If the `StorageLocation`s are the same, return a definite "true" as
the
result of the comparison. Before, if the `PointerValue`s were different,
we
would return an atom, even if the storage locations themselves were the
same.
- If the `StorageLocation`s are different, return an atom (as before).
Pointers
that have different storage locations may still alias, so we can't
return a
definite "false" in this case.
The application-level gains from this are relatively modest. For the
Crubit
nullability check running on an internal codebase, this change reduces
the
number of functions on which the SAT solver times out from 223 to 221;
the
number of "pointer expression not modeled" errors reduces from 3815 to
3778.
Still, it seems that the gain in precision is generally worthwhile.
@Xazax-hun inspired me to think about this with his
[comments](https://github.com/llvm/llvm-project/pull/73860#pullrequestreview-1761484615)
on a different PR.
Commit: 1de0535e84f03941badc8021bbc87a8c674a379f
https://github.com/llvm/llvm-project/commit/1de0535e84f03941badc8021bbc87a8c674a379f
Author: Peter Waller <peter.waller at arm.com>
Date: 2024-05-07 (Tue, 07 May 2024)
Changed paths:
M llvm/docs/CommandGuide/llvm-mca.rst
M llvm/docs/ReleaseNotes.rst
M llvm/test/tools/llvm-mca/AArch64/Exynos/float-divide-multiply.s
M llvm/test/tools/llvm-mca/AArch64/Exynos/float-integer.s
M llvm/test/tools/llvm-mca/ARM/cortex-a57-basic-instructions.s
M llvm/test/tools/llvm-mca/ARM/cortex-a57-thumb.s
M llvm/test/tools/llvm-mca/X86/BtVer2/simple-test.s
M llvm/test/tools/llvm-mca/X86/BtVer2/skip-unsupported-instructions-none-remain.s
M llvm/test/tools/llvm-mca/X86/BtVer2/unsupported-instruction.s
A llvm/test/tools/llvm-mca/bad-input.s
M llvm/tools/llvm-mca/CodeRegionGenerator.cpp
M llvm/tools/llvm-mca/CodeRegionGenerator.h
M llvm/tools/llvm-mca/llvm-mca.cpp
Log Message:
-----------
[llvm-mca] Abort on parse error without -skip-unsupported-instructions (#90474)
[llvm-mca] Abort on parse error without -skip-unsupported-instructions
Prior to this patch, llvm-mca would continue executing after parse
errors. These errors can lead to some confusion since some analysis
results are printed on the standard output, and they're printed after
the errors, which could otherwise be easy to miss.
However it is still useful to be able to continue analysis after errors;
so extend the recently added -skip-unsupported-instructions to support
this.
Two tests which have parse errors for some of the 'RUN' branches are
updated to use -skip-unsupported-instructions so they can remain as-is.
Add a description of -skip-unsupported-instructions to the llvm-mca
command guide, and add it to the llvm-mca --help output:
```
--skip-unsupported-instructions=<value> - Force analysis to continue in the presence of unsupported instructions
=none - Exit with an error when an instruction is unsupported for any reason (default)
=lack-sched - Skip instructions on input which lack scheduling information
=parse-failure - Skip lines on the input which fail to parse for any reason
=any - Skip instructions or lines on input which are unsupported for any reason
```
Tests within this patch are intended to cover each of the cases.
Reason | Flag | Comment
--------------|------|-------
none | none | Usual case, existing test suite
lack-sched | none | Advises user to use -skip-unsupported-instructions=lack-sched, tested in llvm/test/tools/llvm-mca/X86/BtVer2/unsupported-instruction.s
parse-failure | none | Advises user to use -skip-unsupported-instructions=parse-failure, tested in llvm/test/tools/llvm-mca/bad-input.s
any | none | (N/A, covered above)
lack-sched | any | Continues, prints warnings, tested in llvm/test/tools/llvm-mca/X86/BtVer2/unsupported-instruction.s
parse-failure | any | Continues, prints errors, tested in llvm/test/tools/llvm-mca/bad-input.s
lack-sched | parse-failure | Advises user to use -skip-unsupported-instructions=lack-sched, tested in llvm/test/tools/llvm-mca/X86/BtVer2/unsupported-instruction.s
parse-failure | lack-sched | Advises user to use -skip-unsupported-instructions=parse-failure, tested in llvm/test/tools/llvm-mca/bad-input.s
none | * | This would be any test case with skip-unsupported-instructions, coverage added in llvm/test/tools/llvm-mca/X86/BtVer2/simple-test.s
any | * | (Logically covered by the other cases)
Commit: 1530f319311908b06fe935c89fca692d3e53184f
https://github.com/llvm/llvm-project/commit/1530f319311908b06fe935c89fca692d3e53184f
Author: Orlando Cazalet-Hyams <orlando.hyams at sony.com>
Date: 2024-05-07 (Tue, 07 May 2024)
Changed paths:
M llvm/unittests/Analysis/IRSimilarityIdentifierTest.cpp
M llvm/unittests/Transforms/Utils/LocalTest.cpp
Log Message:
-----------
[RemoveDIs] Update some unittests to the new format (#90476)
This patch updates the unittests that can be changed to the new format
after #89799 (which changes the default format everywhere) to avoid a
loss in coverage for the (new) default debug info format.
Commit: 1fd196c8df8e9fa4e0eddddc92b012824d8d1b0b
https://github.com/llvm/llvm-project/commit/1fd196c8df8e9fa4e0eddddc92b012824d8d1b0b
Author: ostannard <oliver.stannard at arm.com>
Date: 2024-05-07 (Tue, 07 May 2024)
Changed paths:
M clang/lib/CodeGen/CGCall.cpp
M clang/lib/CodeGen/TargetInfo.h
M clang/lib/CodeGen/Targets/AArch64.cpp
M clang/lib/CodeGen/Targets/X86.cpp
M clang/test/CodeGen/aarch64-soft-float-abi-errors.c
Log Message:
-----------
[AArch64] Diagnose more functions when FP not enabled (#90832)
When using a hard-float ABI for a target without FP registers, it's not
possible to correctly generate code for functions with arguments which
must be passed in floating-point registers. This is diagnosed in CodeGen
instead of Sema, to more closely match GCC's behaviour around inline
functions, which is relied on by the Linux kernel.
Previously, this only checked function signatures as they were
code-generated, but this missed some cases:
* Calls to functions not defined in this translation unit.
* Calls through function pointers.
* Calls to variadic functions, where the variadic arguments have a
floating-point type.
This adds checks to function calls, as well as definitions, so that
these cases are correctly diagnosed.
Commit: 50da7680d882dac122fac442348649c9951011a0
https://github.com/llvm/llvm-project/commit/50da7680d882dac122fac442348649c9951011a0
Author: Ben Shi <2283975856 at qq.com>
Date: 2024-05-07 (Tue, 07 May 2024)
Changed paths:
M llvm/lib/Target/AVR/AVRInstrInfo.td
Log Message:
-----------
[AVR][NFC] Improve format of target description files (#91296)
Commit: 6aed0ab6547f577cceaccfc6d710f96b645c3af7
https://github.com/llvm/llvm-project/commit/6aed0ab6547f577cceaccfc6d710f96b645c3af7
Author: Anthony Ha <anthonyha96 at gmail.com>
Date: 2024-05-07 (Tue, 07 May 2024)
Changed paths:
M lldb/docs/use/qemu-testing.rst
M lldb/tools/lldb-server/lldb-platform.cpp
Log Message:
-----------
[lldb] Have lldb-server assign ports to children in platform mode (#88845)
Fixes #47549
`lldb-server`'s platform mode seems to have an issue with its
`--min-gdbserver-port` `--max-gdbserver-port` flags (and probably the
`--gdbserver-port` flag, but I didn't test it).
How the platform code seems to work is that it listens on a port, and
whenever there's an incoming connection, it forks the process to handle
the connection. To handle the port flags, the main process uses an
instance of the helper class
`GDBRemoteCommunicationServerPlatform::PortMap`, that can be configured
and track usages of ports. The child process handling the platform
connection, can then use the port map to allocate a port for the
gdb-server connection it will make (this is another process it spawns).
However, in the current code, this works only once. After the first
connection is handled by forking a child process, the main platform
listener code loops around, and then 'forgets' about the port map. This
is because this code:
```cpp
GDBRemoteCommunicationServerPlatform platform(
acceptor_up->GetSocketProtocol(), acceptor_up->GetSocketScheme());
if (!gdbserver_portmap.empty()) {
platform.SetPortMap(std::move(gdbserver_portmap));
}
```
is within the connection listening loop. This results in the
`gdbserver_portmap` being moved into the platform object at the
beginning of the first iteration of the loop, but on the second
iteration, after the first fork, the next instance of the platform
object will not have its platform port mapped.
The result of this bug is that subsequent connections to the platform,
when spawning the gdb-remote connection, will be supplied a random port
- which isn't bounded by the `--min-gdbserver-port` and
`--max-gdbserver--port` parameters passed in by the user.
This PR fixes this issue by having the port map be maintained by the
parent platform listener process. On connection, the listener allocates
a single available port from the port map, associates the child process
pid with the port, and lets the connection handling child use that
single port number.
Additionally, when cleaning up child processes, the main listener
process tracks the child that exited to deallocate the previously
associated port, so it can be reused for a new connection.
Commit: d838e5b3e86e7b3b4b2f75ee9c2854e23782888e
https://github.com/llvm/llvm-project/commit/d838e5b3e86e7b3b4b2f75ee9c2854e23782888e
Author: Simon Pilgrim <llvm-dev at redking.me.uk>
Date: 2024-05-07 (Tue, 07 May 2024)
Changed paths:
M llvm/lib/Target/X86/X86.td
M llvm/lib/Target/X86/X86ISelLowering.cpp
M llvm/test/CodeGen/X86/cmp16.ll
Log Message:
-----------
[X86] Add FastImm16 tuning flag to Intel Atom + AMD Bobcat/Ryzen Families (#90635)
This patch limits the icmp_i16(x,c) -> icmp_i32(ext(x),ext(c)) fold to CPUs that aren't known to have fast handling for length-changing prefixes for imm16 operands.
We are always assuming that 66/67h length-changing prefixes cause severe stalls and we should always extend imm16 operands and use a i32 icmp instead, the only exception being Intel Bonnell CPUs.
Agner makes this clear (see microarchitecture.pdf) that there are no stalls for any of the Intel Atom family (at least as far as Tremont - not sure about Gracemont or later). This is also true for AMD Bobcat/Jaguar and Ryzen families.
Recent performance Intel CPUs are trickier - Core2/Nehalem and earlier could have a 6-11cy stall, while SandyBridge onwards this is reduced to 3cy or less. I'm not sure if we should accept this as fast or not, we only use this flag for the icmp_i16 case, so that might be acceptable? If so, we should add this to x86-64-v3/v4 tuning as well.
Part of #90355 + #62952
Commit: 6ce04747cff524b4c5c8738e25144659a5cf6691
https://github.com/llvm/llvm-project/commit/6ce04747cff524b4c5c8738e25144659a5cf6691
Author: Quentin Colombet <quentin.colombet at gmail.com>
Date: 2024-05-07 (Tue, 07 May 2024)
Changed paths:
M llvm/lib/CodeGen/SelectionDAG/LegalizeTypes.h
M llvm/lib/CodeGen/SelectionDAG/LegalizeVectorTypes.cpp
M llvm/test/CodeGen/NVPTX/addrspacecast.ll
Log Message:
-----------
[SDISel] Teach the type legalizer about ADDRSPACECAST (#90969)
Vectorized ADDRSPACECASTs were not supported by the type legalizer.
This patch adds the support for:
- splitting the vector result: <2 x ptr> => 2 x <1 x ptr>
- scalarization: <1 x ptr> => ptr
- widening: <3 x ptr> => <4 x ptr>
This is all exercised by the added NVPTX tests.
Commit: abd314938dda1b117f289be5e630e43e68533929
https://github.com/llvm/llvm-project/commit/abd314938dda1b117f289be5e630e43e68533929
Author: Simon Pilgrim <llvm-dev at redking.me.uk>
Date: 2024-05-07 (Tue, 07 May 2024)
Changed paths:
M llvm/lib/Target/X86/X86ISelLowering.cpp
M llvm/lib/Target/X86/X86TargetTransformInfo.cpp
M llvm/test/Analysis/CostModel/X86/fshl-codesize.ll
M llvm/test/Analysis/CostModel/X86/fshl-latency.ll
M llvm/test/Analysis/CostModel/X86/fshl-sizelatency.ll
M llvm/test/Analysis/CostModel/X86/fshl.ll
M llvm/test/Analysis/CostModel/X86/fshr-codesize.ll
M llvm/test/Analysis/CostModel/X86/fshr-latency.ll
M llvm/test/Analysis/CostModel/X86/fshr-sizelatency.ll
M llvm/test/Analysis/CostModel/X86/fshr.ll
M llvm/test/Analysis/CostModel/X86/vshift-ashr-codesize.ll
M llvm/test/Analysis/CostModel/X86/vshift-ashr-latency.ll
M llvm/test/Analysis/CostModel/X86/vshift-ashr-sizelatency.ll
M llvm/test/Analysis/CostModel/X86/vshift-lshr-codesize.ll
M llvm/test/Analysis/CostModel/X86/vshift-lshr-latency.ll
M llvm/test/Analysis/CostModel/X86/vshift-lshr-sizelatency.ll
M llvm/test/Analysis/CostModel/X86/vshift-shl-codesize.ll
M llvm/test/Analysis/CostModel/X86/vshift-shl-latency.ll
M llvm/test/Analysis/CostModel/X86/vshift-shl-sizelatency.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/min-legal-vector-width.ll
Log Message:
-----------
[X86] Use GFNI for vXi8 shifts/rotates (#89115)
As detailed here: https://github.com/InstLatx64/InstLatX64_Demo/blob/master/GFNI_Demo.h
We can use the gf2p8affine instruction to lower byte shifts/rotates as well as the existing bitreverse case.
Based off the original patch here: https://reviews.llvm.org/D137026
Commit: e232659028365b51feb001565884b3b8e62cc2a9
https://github.com/llvm/llvm-project/commit/e232659028365b51feb001565884b3b8e62cc2a9
Author: Kristof Beyls <kristof.beyls at arm.com>
Date: 2024-05-07 (Tue, 07 May 2024)
Changed paths:
M bolt/lib/Core/ParallelUtilities.cpp
Log Message:
-----------
[NFC][BOLT] Call EnsureAllocatorExists instead of copy pasting code
Commit: 235cea720c0fa6dcf0bf5aff15001de88b6042f9
https://github.com/llvm/llvm-project/commit/235cea720c0fa6dcf0bf5aff15001de88b6042f9
Author: Paul Walker <paul.walker at arm.com>
Date: 2024-05-07 (Tue, 07 May 2024)
Changed paths:
M llvm/include/llvm/IR/IntrinsicInst.h
M llvm/include/llvm/IR/Intrinsics.h
M llvm/lib/CodeGen/GlobalISel/IRTranslator.cpp
M llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
M llvm/lib/IR/Function.cpp
M llvm/lib/IR/IRBuilder.cpp
M llvm/lib/IR/IntrinsicInst.cpp
M llvm/lib/IR/Verifier.cpp
M llvm/lib/Transforms/Utils/CloneFunction.cpp
Log Message:
-----------
[NFC][LLVM] Refactor rounding mode detection of constrained fp intrinsic IDs (#90854)
I've refactored the code to genericise the implementation to better
allow for target specific constrained fp intrinsics.
Commit: 651bdb96b16d4e522f4611b60103234b1f890b24
https://github.com/llvm/llvm-project/commit/651bdb96b16d4e522f4611b60103234b1f890b24
Author: Chris Copeland <chris at chrisnc.net>
Date: 2024-05-07 (Tue, 07 May 2024)
Changed paths:
M clang/test/Driver/arm-cortex-cpus-1.c
M clang/test/Driver/arm-features.c
M clang/test/Preprocessor/arm-target-features.c
M llvm/docs/ReleaseNotes.rst
M llvm/include/llvm/TargetParser/ARMTargetParser.def
M llvm/lib/Target/ARM/ARMArchitectures.td
M llvm/lib/Target/ARM/ARMProcessors.td
M llvm/test/Analysis/CostModel/ARM/arith.ll
M llvm/test/Analysis/CostModel/ARM/cast.ll
M llvm/test/Analysis/CostModel/ARM/cast_ldst.ll
M llvm/test/Analysis/CostModel/ARM/cmps.ll
M llvm/test/Analysis/CostModel/ARM/divrem.ll
M llvm/test/CodeGen/ARM/cortex-a57-misched-basic.ll
M llvm/test/CodeGen/ARM/fpconv.ll
M llvm/test/CodeGen/ARM/half.ll
M llvm/test/CodeGen/ARM/useaa.ll
M llvm/unittests/TargetParser/TargetParserTest.cpp
Log Message:
-----------
[ARM] Armv8-R does not require fp64 or neon. (#88287)
This was [addressed for AArch64
here](https://github.com/llvm/llvm-project/pull/79004), but the same
applies to ARM.
Move the enablement of neon+fp64 to `-mcpu=cortex-r52`, which optionally
supports these features.
Commit: 97dd8e3c4f38ef345b01fbbf0a2052c7875ff7e0
https://github.com/llvm/llvm-project/commit/97dd8e3c4f38ef345b01fbbf0a2052c7875ff7e0
Author: Donát Nagy <donat.nagy at ericsson.com>
Date: 2024-05-07 (Tue, 07 May 2024)
Changed paths:
M clang/include/clang/StaticAnalyzer/Checkers/Checkers.td
M clang/lib/StaticAnalyzer/Checkers/ReturnValueChecker.cpp
M clang/test/Analysis/return-value-guaranteed.cpp
Log Message:
-----------
[analyzer] Clean up apiModeling.llvm.ReturnValue (#91231)
This commit heavily refactors and simplifies the small and trivial
checker `apiModeling.llvm.ReturnValue`, which is responsible for
modeling the peculiar coding convention that in the LLVM/Clang codebase
certain Error() methods always return true.
Changes included in this commit:
- The call description mode is now specified explicitly (this is not the
most significant change, but it was the original reason for touching
this checker).
- Previously the code provided support for modeling functions that
always return `false`; but there was no need for that, so this commit
hardcodes that the return value is `true`.
- The overcomplicated constraint/state handling logic was simplified.
- The separate `checkEndFunction` callback was removed to simplify the
code. Admittedly this means that the note tag for the "<method> returns
false, breaking the convention" case is placed on the method call
instead of the `return` statement; but that case will _never_ appear in
practice, so this difference is mostly academical.
- The text of the note tags was clarified.
- The descriptions in the header comment and Checkers.td were clarified.
- Some minor cleanup was applied in the associated test file.
This change is very close to NFC because it only affects a hidden
`apiModeling.llvm` checker that's only relevant during the analysis of
the LLVM/Clang codebase, and even there it doesn't affect the normal
behavior of the checker.
Commit: dcc7ef3ce87d7ea1ed9e64bb91e3bb2026df9644
https://github.com/llvm/llvm-project/commit/dcc7ef3ce87d7ea1ed9e64bb91e3bb2026df9644
Author: Emma Pilkington <emma.pilkington95 at gmail.com>
Date: 2024-05-07 (Tue, 07 May 2024)
Changed paths:
M llvm/lib/Target/AMDGPU/AsmParser/AMDGPUAsmParser.cpp
M llvm/lib/Target/AMDGPU/SIDefines.h
M llvm/lib/Target/AMDGPU/Utils/AMDGPUAsmUtils.cpp
M llvm/lib/Target/AMDGPU/Utils/AMDGPUAsmUtils.h
M llvm/lib/Target/AMDGPU/Utils/AMDGPUBaseInfo.cpp
M llvm/lib/Target/AMDGPU/Utils/AMDGPUBaseInfo.h
M llvm/test/MC/AMDGPU/gfx9-asm-err.s
M llvm/test/MC/AMDGPU/sopp-err.s
M llvm/test/MC/AMDGPU/sopp-gfx9.s
Log Message:
-----------
[AMDGPU][MC] Disable sendmsg SYSMSG_OP_HOST_TRAP_ACK on gfx9+ (#90203)
This is no longer supported as of gfx9. Fixes #52903
This commit also includes some refactoring of sendmsg operand parsing:
- Use CustomOperand for sendmsg operations, this allows them to be
conditionally available based on a STI check (and automatically in
sync with SIDefines.h).
- Move CustomOperand table lookups from AMDGPUBaseInfo to
AMDGPUAsmUtils. This cleans up an awkward interface where
AMDGPUAsmUtils defined a table/size as globals that AMDGPUBaseInfo
had to loop over.
- Clean up a few of the operand lookup functions while moving them.
Commit: 6d64f8e1feee014e72730a78b62d9d415df112ff
https://github.com/llvm/llvm-project/commit/6d64f8e1feee014e72730a78b62d9d415df112ff
Author: Donát Nagy <donat.nagy at ericsson.com>
Date: 2024-05-07 (Tue, 07 May 2024)
Changed paths:
M clang/lib/StaticAnalyzer/Checkers/BlockInCriticalSectionChecker.cpp
M clang/lib/StaticAnalyzer/Checkers/CStringChecker.cpp
M clang/lib/StaticAnalyzer/Checkers/InnerPointerChecker.cpp
M clang/lib/StaticAnalyzer/Checkers/SmartPtrModeling.cpp
M clang/lib/StaticAnalyzer/Checkers/StreamChecker.cpp
Log Message:
-----------
[analyzer] Use explicit call description mode in more checkers (#90974)
This commit explicitly specifies the matching mode (C library function,
any non-method function, or C++ method) for the `CallDescription`s
constructed in various checkers.
Some code was simplified to use `CallDescriptionSet`s instead of
individual `CallDescription`s.
This change won't cause major functional changes, but isn't NFC because
it ensures that e.g. call descriptions for a non-method function won't
accidentally match a method that has the same name.
Separate commits have already performed this change in other checkers:
- easy cases: e2f1cbae45f81f3cd9a4d3c2bcf69a094eb060fa
- MallocChecker: d6d84b5d1448e4f2e24b467a0abcf42fe9d543e9
- iterator checkers: 06eedffe0d2782922e63cc25cb927f4acdaf7b30
- InvalidPtr checker: 024281d4d26344f9613b9115ea1fcbdbdba23235
... and follow-up commits will handle the remaining checkers.
My goal is to ensure that the call description mode is always explicitly
specified and eliminate (or strongly restrict) the vague "may be either
a method or a simple function" mode that's the current default.
Commit: afc10fc9b7ce3d23d9012f5a1496e849fe873ba2
https://github.com/llvm/llvm-project/commit/afc10fc9b7ce3d23d9012f5a1496e849fe873ba2
Author: Peter Waller <peter.waller at arm.com>
Date: 2024-05-07 (Tue, 07 May 2024)
Changed paths:
A llvm/test/tools/llvm-mca/AArch64/bad-input.s
A llvm/test/tools/llvm-mca/X86/bad-input.s
R llvm/test/tools/llvm-mca/bad-input.s
Log Message:
-----------
[llvm-mca] Move bad-input.s test to be target specific
... for now.
This is a follow up to #90474 in response to build bot failures.
This test is intended to check a case where invalid assembly is passed
to llvm-mca.
Unfortunately it appears that a cross-toolchain built with
-DTOOLCHAIN_TARGET_TRIPLE does not have an llvm-mca which works out of
the box if the host target is not enabled.
As a quick fix to make the build bots green, move the test into AArch64
and X86 so that there is reasonable coverage for this test; later I hope
mca can be fixed to work out of the box in this configuration.
Commit: 458d70674190c4d043d5dfd2e41aecddff5cdb69
https://github.com/llvm/llvm-project/commit/458d70674190c4d043d5dfd2e41aecddff5cdb69
Author: Peter Waller <peter.waller at arm.com>
Date: 2024-05-07 (Tue, 07 May 2024)
Changed paths:
A llvm/test/tools/llvm-mca/AArch64/Neoverse/bad-input.s
R llvm/test/tools/llvm-mca/AArch64/bad-input.s
M llvm/test/tools/llvm-mca/X86/bad-input.s
Log Message:
-----------
[llvm-mca] Make bad-input.s even more CPU specific
Note: This patch is distinct from the previous one titled
"[llvm-mca] Move bad-input.s test to be target specific"
This is a followup to #90474 and commit
afc10fc9b7ce3d23d9012f5a1496e849fe873ba2
Context: Builders failing because they're unable to run the failure
test.
This still doesn't work in various circumstances, it seems MCA doesn't
want to run on a wide variety of hosts in various configurations, so
stick to the tried and tested method and pass -mtriple and -mcpu.
Commit: 6f2997cefc1e32c11a891ede2e3a2d73310e6ce1
https://github.com/llvm/llvm-project/commit/6f2997cefc1e32c11a891ede2e3a2d73310e6ce1
Author: Nikolas Klauser <nikolasklauser at berlin.de>
Date: 2024-05-07 (Tue, 07 May 2024)
Changed paths:
M libcxx/include/__type_traits/is_equality_comparable.h
Log Message:
-----------
[libc++][NFC] Remove unused include from <__type_traits/is_equality_comparable.h> (#90950)
Commit: b22a6f1eba8e27b2a21bf6b96a3bd349230cb80a
https://github.com/llvm/llvm-project/commit/b22a6f1eba8e27b2a21bf6b96a3bd349230cb80a
Author: Vincent Belliard <81770341+v-bulle at users.noreply.github.com>
Date: 2024-05-07 (Tue, 07 May 2024)
Changed paths:
M lldb/source/Plugins/DynamicLoader/POSIX-DYLD/DynamicLoaderPOSIXDYLD.cpp
M lldb/source/Plugins/ObjectFile/ELF/ObjectFileELF.cpp
A lldb/test/Shell/ExecControl/StepIn/Inputs/aarch64_thunk.cc
A lldb/test/Shell/ExecControl/StepIn/step_through-aarch64-thunk.test
Log Message:
-----------
[lldb] fix step in AArch64 trampoline (#90783)
Detects AArch64 trampolines in order to be able to step in a function
through a trampoline on AArch64.
---------
Co-authored-by: Vincent Belliard <v-bulle at github.com>
Commit: 66364e65405d4964709e67574abf1b519a55296c
https://github.com/llvm/llvm-project/commit/66364e65405d4964709e67574abf1b519a55296c
Author: martinboehme <mboehme at google.com>
Date: 2024-05-07 (Tue, 07 May 2024)
Changed paths:
M clang/include/clang/Analysis/FlowSensitive/Solver.h
M clang/include/clang/Analysis/FlowSensitive/WatchedLiteralsSolver.h
Log Message:
-----------
[clang][dataflow] Add `reachedLimit()` to the `Solver` interface. (#91320)
We may want code to call this that doesn't know which specific solver
implementation it is dealing with.
Commit: fff2db2e426ebe3a349bd0f00555d4a3dc8a6de7
https://github.com/llvm/llvm-project/commit/fff2db2e426ebe3a349bd0f00555d4a3dc8a6de7
Author: Louis Dionne <ldionne.2 at gmail.com>
Date: 2024-05-07 (Tue, 07 May 2024)
Changed paths:
M libcxx/include/__availability
Log Message:
-----------
[libc++] Rename _LIBCPP_INTRODUCED_foo_MARKUP to _LIBCPP_INTRODUCED_foo_ATTRIBUTE (#91269)
This was discussed in #87563 and overlooked when I landed the patch.
Commit: 27becf0c3c1e7ac4a2f2e848b44d872f1aa1db9a
https://github.com/llvm/llvm-project/commit/27becf0c3c1e7ac4a2f2e848b44d872f1aa1db9a
Author: Haojian Wu <hokein.wu at gmail.com>
Date: 2024-05-07 (Tue, 07 May 2024)
Changed paths:
M clang/lib/Sema/SemaTemplate.cpp
M clang/test/SemaCXX/cxx20-ctad-type-alias.cpp
M clang/test/SemaTemplate/deduction-guide.cpp
Log Message:
-----------
[clang] CTAD: fix the aggregate deduction guide for alias templates. (#90894)
For alias templates, our current way of constructing their aggregate
deduction guides deviates from the standard approach. We should align it
with how we handle implicit deduction guides.
This patch has a refactoring change which pulls the construction logic
out from `DeclareImplicitDeductionGuidesForTypeAlia` and reusing it for
building aggregate deduction guides.
Commit: 227fe1c1995dea1850483449e8510db2726bcbee
https://github.com/llvm/llvm-project/commit/227fe1c1995dea1850483449e8510db2726bcbee
Author: David Truby <david.truby at arm.com>
Date: 2024-05-07 (Tue, 07 May 2024)
Changed paths:
M flang/runtime/extensions.cpp
Log Message:
-----------
[flang] Remove C++ runtime dependency from Sleep extension (#84911)
The Sleep extension currently has a potential dependency on the C++
runtime. I run into this dependency using libc++ on Linux. This patch
uses the POSIX `sleep` function or the Windows `Sleep` function
instead to avoid this dependency.
Commit: 1d87465a0a95cee9accc5dce7abdabbbc3f3c122
https://github.com/llvm/llvm-project/commit/1d87465a0a95cee9accc5dce7abdabbbc3f3c122
Author: Benjamin Kramer <benny.kra at googlemail.com>
Date: 2024-05-07 (Tue, 07 May 2024)
Changed paths:
M libc/test/src/math/FModTest.h
Log Message:
-----------
[libc][math] fmod: clear exceptions before the test instead of after
The test has no control over the CPU state before the test runs.
This test checks whether no exception flags are set, which may not be
true at the start of the test. This used to be not a problem because the
check was broken but that was fixed in ecfb5d9951554d8bdb6a499c958f48cc35f78a88
Commit: 41ca9104ac1e0bf248d4082f45c5ad03ddd55727
https://github.com/llvm/llvm-project/commit/41ca9104ac1e0bf248d4082f45c5ad03ddd55727
Author: Jonathan Peyton <jonathan.l.peyton at intel.com>
Date: 2024-05-07 (Tue, 07 May 2024)
Changed paths:
M openmp/runtime/src/kmp.h
M openmp/runtime/src/kmp_barrier.cpp
M openmp/runtime/src/kmp_csupport.cpp
M openmp/runtime/src/kmp_runtime.cpp
M openmp/runtime/src/kmp_tasking.cpp
A openmp/runtime/test/target/issue-81488.c
A openmp/runtime/test/tasking/issue-50602.c
A openmp/runtime/test/tasking/issue-69368.c
A openmp/runtime/test/tasking/issue-69733.c
A openmp/runtime/test/tasking/issue-79416.c
A openmp/runtime/test/tasking/task_teams_stress_test.cpp
Log Message:
-----------
[OpenMP] Fix task state and taskteams for serial teams (#86859)
* Serial teams now use a stack (similar to dispatch buffers)
* Serial teams always use `t_task_team[0]` as the task team and the
second pointer is a next pointer for the stack
`t_task_team[1]` is interpreted as a stack of task teams where each
level is a nested level
```
inner serial team outer serial team
[ t_task_team[0] ] -> (task_team) [ t_task_team[0] ] -> (task_team)
[ next ] ----------------> [ next ] -> ...
```
* Remove the task state memo stack from thread structure.
* Instead of a thread-private stack, use team structure to store
th_task_state of the primary thread. When coming out of a parallel,
restore the primary thread's task state. The new field in the team
structure doesn't cause sizeof(team) to change and is in the cache line
which is only read/written by the primary thread.
Fixes: #50602
Fixes: #69368
Fixes: #69733
Fixes: #79416
Commit: 5d9b549bb05ad31727cd019bcefeae7b94b2dbd2
https://github.com/llvm/llvm-project/commit/5d9b549bb05ad31727cd019bcefeae7b94b2dbd2
Author: Alexey Bataev <a.bataev at outlook.com>
Date: 2024-05-07 (Tue, 07 May 2024)
Changed paths:
A llvm/test/Transforms/SLPVectorizer/AArch64/unsigned-after-sext-node.ll
Log Message:
-----------
[SLP][NFC]Add a test showing incorrect signedness detection in sext nodes.
Commit: a775455cdca78445ccfe4adb2a7c9e390ae46e10
https://github.com/llvm/llvm-project/commit/a775455cdca78445ccfe4adb2a7c9e390ae46e10
Author: Benjamin Kramer <benny.kra at googlemail.com>
Date: 2024-05-07 (Tue, 07 May 2024)
Changed paths:
M utils/bazel/llvm-project-overlay/lldb/source/Plugins/BUILD.bazel
Log Message:
-----------
[bazel] Add `nobuildkite` tags for incompatible target
Commit: 9eb91f45fb34353942b8f8154f229150a0d01456
https://github.com/llvm/llvm-project/commit/9eb91f45fb34353942b8f8154f229150a0d01456
Author: Benjamin Kramer <benny.kra at googlemail.com>
Date: 2024-05-07 (Tue, 07 May 2024)
Changed paths:
M utils/bazel/llvm-project-overlay/lldb/source/Plugins/BUILD.bazel
Log Message:
-----------
[bazel] Add `nobuildkite` tags for incompatible targets
Commit: f548c4d83cdded0c19ca02ca9c071d8ced9ea4fd
https://github.com/llvm/llvm-project/commit/f548c4d83cdded0c19ca02ca9c071d8ced9ea4fd
Author: Matt Arsenault <Matthew.Arsenault at amd.com>
Date: 2024-05-07 (Tue, 07 May 2024)
Changed paths:
M llvm/lib/Target/AMDGPU/SOPInstructions.td
M llvm/test/CodeGen/AMDGPU/fdiv.ll
M llvm/test/CodeGen/AMDGPU/llvm.set.rounding.ll
Log Message:
-----------
AMDGPU: Add mode register use to s_getreg_b32
This should fix reading the wrong mode after setting the mode.
Ideally we would have separate pseudos for the case that we know
does not read mode.
Commit: 30cfe2b2ace51a8fa0eeb64f136e3999f87971ad
https://github.com/llvm/llvm-project/commit/30cfe2b2ace51a8fa0eeb64f136e3999f87971ad
Author: erichkeane <ekeane at nvidia.com>
Date: 2024-05-07 (Tue, 07 May 2024)
Changed paths:
M clang/include/clang/AST/OpenACCClause.h
M clang/include/clang/Basic/OpenACCClauses.def
M clang/include/clang/Parse/Parser.h
M clang/include/clang/Sema/SemaOpenACC.h
M clang/lib/AST/OpenACCClause.cpp
M clang/lib/AST/StmtProfile.cpp
M clang/lib/AST/TextNodeDumper.cpp
M clang/lib/Parse/ParseOpenACC.cpp
M clang/lib/Sema/SemaOpenACC.cpp
M clang/lib/Sema/TreeTransform.h
M clang/lib/Serialization/ASTReader.cpp
M clang/lib/Serialization/ASTWriter.cpp
M clang/test/AST/ast-print-openacc-compute-construct.cpp
M clang/test/ParserOpenACC/parse-clauses.c
M clang/test/ParserOpenACC/parse-clauses.cpp
M clang/test/ParserOpenACC/parse-wait-clause.c
M clang/test/ParserOpenACC/parse-wait-construct.c
A clang/test/SemaOpenACC/compute-construct-async-clause.c
A clang/test/SemaOpenACC/compute-construct-async-clause.cpp
M clang/test/SemaOpenACC/compute-construct-intexpr-clause-ast.cpp
M clang/tools/libclang/CIndex.cpp
Log Message:
-----------
[OpenACC] Implement 'async' clause sema for compute constructs
This is a pretty simple clause, it takes an 'async-argument', which
effectively needs to be just parsed as an 'int' argument, since it can
be an arbitrarly integer at runtime (and negative values are legal for
implementation defined values).
This patch also cleans up the async-argument parsing, so 'wait' got some
minor quality-of-life improvements for parsing (both clause and
construct).
Commit: 099417d617cf44711377d02eedc580a0c11297e9
https://github.com/llvm/llvm-project/commit/099417d617cf44711377d02eedc580a0c11297e9
Author: Matthias Springer <me at m-sp.org>
Date: 2024-05-07 (Tue, 07 May 2024)
Changed paths:
M mlir/docs/Bufferization.md
A mlir/docs/includes/img/bufferization_passes.svg
A mlir/docs/includes/img/bufferization_tensor_insert_dst.svg
Log Message:
-----------
[mlir][NFC] Improve bufferization documentation (#89495)
* Add example for `test-analysis-only` and `print-conflicts`.
* Mention other bufferization-related passes.
* Update outdated documentation.
Commit: ab3a9e724d87a4272782f76b90fb0872a6a86939
https://github.com/llvm/llvm-project/commit/ab3a9e724d87a4272782f76b90fb0872a6a86939
Author: Schrodinger ZHU Yifan <yifanzhu at rochester.edu>
Date: 2024-05-07 (Tue, 07 May 2024)
Changed paths:
M libc/src/__support/threads/linux/CMakeLists.txt
M libc/src/__support/threads/linux/callonce.cpp
A libc/src/__support/threads/linux/futex_utils.h
M libc/src/__support/threads/linux/futex_word.h
M libc/src/__support/threads/linux/mutex.h
M libc/src/__support/threads/linux/thread.cpp
M libc/src/__support/threads/mutex.h
M libc/src/__support/threads/thread.cpp
M libc/src/threads/linux/CMakeLists.txt
M libc/src/threads/linux/CndVar.h
Log Message:
-----------
[libc] clean up futex usage (#91163)
# Motivation
Futex syscalls are widely used in our codebase as synchronization
mechanism. Hence, it may be worthy to abstract out the most common
routines (wait and wake). On the other hand, C++20 also provides
`std::atomic_notify_one/std::atomic_wait/std::atomic_notify_all` which
align with such functionalities. This PR introduces `Futex` as a subtype
of `cpp::Atomic<FutexWordType>` with additional
`notify_one/notify_all/wait` operations.
Providing such wrappers also make future porting easier. For example,
FreeBSD's `_umtx_op` and Darwin's `ulock` can be wrapped in a similar
manner.
### Similar Examples
1. [bionic
futex](https://android.googlesource.com/platform/bionic/+/refs/heads/main/libc/bionic/bionic_futex.cpp)
2. [futex in Rust's
std](https://github.com/rust-lang/rust/blob/8cef37dbb67e9c80702925f19cf298c4203991e4/library/std/src/sys/pal/unix/futex.rs#L21)
Commit: 41dd07bf5cbfb800797821d1ad32226e5339bcfb
https://github.com/llvm/llvm-project/commit/41dd07bf5cbfb800797821d1ad32226e5339bcfb
Author: Simon Pilgrim <llvm-dev at redking.me.uk>
Date: 2024-05-07 (Tue, 07 May 2024)
Changed paths:
A llvm/test/CodeGen/AArch64/GlobalISel/combine-bitreverse-shift.ll
Log Message:
-----------
[AArch64] Add test coverage for bitreverse(logicalshift(bitreverse(x),y)) -> logicalshift(x,y) fold
DAG already performs this fold (#89897), GISel is currently missing it (patch incoming)
Commit: de117dd533547f8bc8d00ea989252021ec1e877e
https://github.com/llvm/llvm-project/commit/de117dd533547f8bc8d00ea989252021ec1e877e
Author: Ulrich Weigand <ulrich.weigand at de.ibm.com>
Date: 2024-05-07 (Tue, 07 May 2024)
Changed paths:
A llvm/test/CodeGen/SystemZ/atomic-load-09.ll
A llvm/test/CodeGen/SystemZ/atomic-store-09.ll
Log Message:
-----------
[SystemZ] Add some more atomic load/store tests
Verify atomic load/store of f128 on z14 where the type
lives in VRs.
Commit: 45fed80b15df85cee53d3d31a7a46ae0daa91a3f
https://github.com/llvm/llvm-project/commit/45fed80b15df85cee53d3d31a7a46ae0daa91a3f
Author: Jake Egan <Jake.egan at ibm.com>
Date: 2024-05-07 (Tue, 07 May 2024)
Changed paths:
M libcxx/test/libcxx/clang_modules_include.gen.py
Log Message:
-----------
[AIX][libc++] Enable clang_modules_include.gen.py tests (#90971)
Enable these tests on AIX since they're passing.
Commit: d5cabf8d89a5f5faa5255283821cb080bebbff86
https://github.com/llvm/llvm-project/commit/d5cabf8d89a5f5faa5255283821cb080bebbff86
Author: srcarroll <50210727+srcarroll at users.noreply.github.com>
Date: 2024-05-07 (Tue, 07 May 2024)
Changed paths:
M mlir/lib/Dialect/SCF/Transforms/BufferizableOpInterfaceImpl.cpp
M mlir/test/Dialect/SCF/one-shot-bufferize.mlir
Log Message:
-----------
Keep attribute when bufferizing `scf.forall` op (#91236)
Commit: f72454086af9d3f91a86e10dc1923849c5f670a8
https://github.com/llvm/llvm-project/commit/f72454086af9d3f91a86e10dc1923849c5f670a8
Author: Valentin Clement (バレンタイン クレメン) <clementval at gmail.com>
Date: 2024-05-07 (Tue, 07 May 2024)
Changed paths:
M flang/lib/Lower/Bridge.cpp
M flang/test/Lower/CUDA/cuda-kernel-loop-directive.cuf
Log Message:
-----------
[flang][cuda] Fix retrieval of nested evaluation in cuf kernel (#91298)
`loopEval` was declared inside the for loop to iterate over the nested
loops so the same loop control was redeclared for each level of the loop
nest. Make sure we are iterating over all the loops by putting
`loopEval` declaration ouside of the for loop.
Commit: 6a6fcbffbb31f83fab7425d43e28eb6aa39dbfe9
https://github.com/llvm/llvm-project/commit/6a6fcbffbb31f83fab7425d43e28eb6aa39dbfe9
Author: Sander de Smalen <sander.desmalen at arm.com>
Date: 2024-05-07 (Tue, 07 May 2024)
Changed paths:
M clang/include/clang/AST/Decl.h
M clang/lib/AST/Decl.cpp
M clang/lib/CodeGen/Targets/AArch64.cpp
M clang/lib/Sema/SemaDeclAttr.cpp
Log Message:
-----------
[Clang][AArch64] NFC: Add IsArmStreamingFunction.
Simple refactoring to make a single interface that checks if a
FunctionDecl is a __arm[_locally]_streaming function.
Commit: e84fae837c0b154153bd9b9a3255ec5a67b1ea61
https://github.com/llvm/llvm-project/commit/e84fae837c0b154153bd9b9a3255ec5a67b1ea61
Author: Andrew Sukach <134116196+soukatch at users.noreply.github.com>
Date: 2024-05-07 (Tue, 07 May 2024)
Changed paths:
M clang/lib/Frontend/InterfaceStubFunctionsConsumer.cpp
Log Message:
-----------
[clang] MangledSymbol: remove pointless copy of vector (#90012)
This pr addresses #87255 adds a std::move call to the names in
MangledSymbol's constructor.
Commit: 57175533da0f3ea2054550c2e4d3e831e93bb4df
https://github.com/llvm/llvm-project/commit/57175533da0f3ea2054550c2e4d3e831e93bb4df
Author: Scott Manley <rscottmanley at gmail.com>
Date: 2024-05-07 (Tue, 07 May 2024)
Changed paths:
M mlir/include/mlir/IR/OperationSupport.h
M mlir/lib/IR/AsmPrinter.cpp
A mlir/test/IR/print-unique-ssa-ids.mlir
Log Message:
-----------
[MLIR][IR] add -mlir-print-unique-ssa-ids to AsmPrinter (#91241)
Add an option to unique the numbers of values, block arguments and
naming conflicts when requested and/or printing generic op form. This is
helpful when debugging. For example, if you have:
scf.for
%0 =
%1 = opA %0
scf.for
%0 =
%1 = opB %0
And you get a verifier error which says opB's "operand #0 does not
dominate this use", it looks like %0 does dominate the use. This is not
intuitive. If these were numbered uniquely, it would look like:
scf.for
%0 =
%1 = opA %0
scf.for
%2 =
%3 = opB %0
And thus, much clearer as to why you are getting the error since %0 is
out of scope. Since generic op form should aim to give you the most
possible information, it seems like a good idea to use unique numbers in
this situation. Adding an option also gives those an option to use it
outside of generic op form.
Co-authored-by: Scott Manley <scmanley at nvidia.com>
Commit: b2477765dbf9bd28bd2d1813c41ae12613f87717
https://github.com/llvm/llvm-project/commit/b2477765dbf9bd28bd2d1813c41ae12613f87717
Author: Duo Wang <duow1 at uci.edu>
Date: 2024-05-07 (Tue, 07 May 2024)
Changed paths:
M clang/test/SemaTemplate/instantiation-depth-default.cpp
Log Message:
-----------
[clang][test] Fix instantiation-depth-default.cpp under ubsan config on Windows (#91021)
Clang test `instantiation-depth-default.cpp` fails on Windows when built
with `ubsan` due to extra warnings printed by the compiler:
```console
File instantiation-depth-default.cpp Line 11: stack nearly exhausted; compilation time may suffer, and crashes due to stack overflow are likely
```
Originally in https://github.com/llvm/llvm-project/pull/75254 this test
was enabled for `asan` as well but later started to cause failures in
Linux ASAN buildbots. I have excluded `asan` from this change.
Commit: f00f2941307e04d3b7320969ee3fec9af31246ba
https://github.com/llvm/llvm-project/commit/f00f2941307e04d3b7320969ee3fec9af31246ba
Author: Alexey Bataev <a.bataev at outlook.com>
Date: 2024-05-07 (Tue, 07 May 2024)
Changed paths:
M llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
M llvm/test/Transforms/SLPVectorizer/AArch64/unsigned-after-sext-node.ll
Log Message:
-----------
[SLP]Fix PR91309: Do not consider SExt as always producing signed result.
Still need to do the full analysis of the signedness of the values
rather than rely on Instruction opcode, if the opcode is SExt. Still may
produce unsigned result.
Commit: e74a7a9fd79a74073277471243a44527c71eb4a9
https://github.com/llvm/llvm-project/commit/e74a7a9fd79a74073277471243a44527c71eb4a9
Author: Fangrui Song <i at maskray.me>
Date: 2024-05-07 (Tue, 07 May 2024)
Changed paths:
M clang/include/clang/Basic/DiagnosticFrontendKinds.td
M clang/lib/Frontend/CompilerInvocation.cpp
A clang/test/Frontend/multiple-actions.c
Log Message:
-----------
cc1: Report an error for multiple actions unless separated by -main-file-name (#91140)
When multiple actions are specified, the last one is used and others are
overridden. This might lead to confusion if the user is used to driver's
`-S -emit-llvm` behavior.
```
%clang_cc1 -S -emit-llvm a.c # -S is overridden
%clang_cc1 -emit-llvm -S a.c # -emit-llvm is overridden
%clang_cc1 -fsyntax-only -S a.c # -fsyntax-only is overridden
```
However, we want to continue supporting overriding the driver action
with -Xclang:
* `clang -c -Xclang -ast-dump a.c` (`%clang -cc1 -emit-obj ...
-main-file-name a.c ... -ast-dump`)
* `clang -c -xc++ -Xclang -emit-module stl.modulemap`
As an exception, we allow -ast-dump* options to be composed together
(e.g. `-ast-dump -ast-dump-lookups` in AST/ast-dump-lookups.cpp).
Commit: 8bcb0737056163686e967821bea7f9e87c57cdfc
https://github.com/llvm/llvm-project/commit/8bcb0737056163686e967821bea7f9e87c57cdfc
Author: Petr Hosek <phosek at google.com>
Date: 2024-05-07 (Tue, 07 May 2024)
Changed paths:
M clang/docs/ReleaseNotes.rst
M clang/include/clang/Basic/CodeGenOptions.def
M clang/include/clang/Driver/Options.td
M clang/lib/CodeGen/BackendUtil.cpp
A clang/test/CodeGen/fseparate-named-sections.c
M llvm/include/llvm/CodeGen/CommandFlags.h
M llvm/include/llvm/Target/TargetMachine.h
M llvm/include/llvm/Target/TargetOptions.h
M llvm/lib/CodeGen/CommandFlags.cpp
M llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp
A llvm/test/CodeGen/X86/elf-separate-named-sections.ll
Log Message:
-----------
[Clang] -fseparate-named-sections option (#91028)
When set, the compiler will use separate unique sections for global
symbols in named special sections (e.g. symbols that are annotated with
__attribute__((section(...)))). Doing so enables linker GC to collect
unused symbols without having to use a different section per-symbol.
Commit: 5c5116556f58d90353aa3e3a34214cdc5ff0b2f2
https://github.com/llvm/llvm-project/commit/5c5116556f58d90353aa3e3a34214cdc5ff0b2f2
Author: Aart Bik <ajcbik at google.com>
Date: 2024-05-07 (Tue, 07 May 2024)
Changed paths:
M mlir/lib/Dialect/SparseTensor/Transforms/SparseTensorCodegen.cpp
M mlir/test/Dialect/SparseTensor/binary_valued.mlir
M mlir/test/Dialect/SparseTensor/codegen.mlir
M mlir/test/Dialect/SparseTensor/sparse_matmul_codegen.mlir
M mlir/test/Integration/Dialect/SparseTensor/CPU/sparse_ds.mlir
M mlir/test/Integration/Dialect/SparseTensor/CPU/sparse_empty.mlir
M mlir/test/Integration/Dialect/SparseTensor/CPU/sparse_print.mlir
M mlir/test/Integration/Dialect/SparseTensor/GPU/CUDA/sparse-gemm-lib.mlir
M mlir/test/Integration/Dialect/SparseTensor/GPU/CUDA/sparse-sampled-matmul-lib.mlir
M mlir/test/Integration/Dialect/SparseTensor/GPU/CUDA/sparse-sddmm-lib.mlir
Log Message:
-----------
[mlir][sparse] force a properly sized view on pos/crd/val under codegen (#91288)
Codegen "vectors" for pos/crd/val use the capacity as memref size, not
the actual used size. Although the sparsifier itself always uses just
the defined pos/crd/val parts, printing these and passing them back to a
runtime environment could benefit from wrapping the basic pos/crd/val
getters into a proper memref view that sets the right size.
Commit: 7927bcdb8a32646f78c01535050ada6ddc23f4f5
https://github.com/llvm/llvm-project/commit/7927bcdb8a32646f78c01535050ada6ddc23f4f5
Author: Matt Arsenault <Matthew.Arsenault at amd.com>
Date: 2024-05-07 (Tue, 07 May 2024)
Changed paths:
M llvm/lib/CodeGen/AtomicExpandPass.cpp
M llvm/lib/Target/AMDGPU/AMDGPUISelLowering.cpp
M llvm/lib/Target/AMDGPU/AMDGPUISelLowering.h
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-i16-system.ll
M llvm/test/Transforms/AtomicExpand/AMDGPU/expand-atomic-i16.ll
Log Message:
-----------
AMDGPU: Do not bitcast atomicrmw in IR (#90045)
This is the first step to eliminating shouldCastAtomicRMWIInIR. This and
the other atomic expand casting hooks should be removed. This adds
duplicate legalization machinery and interfaces. This is already what
codegen is supposed to do, and already does for the promotion case.
In the case of atomicrmw xchg, there seems to be some benefit to having
the bitcasts moved outside of the cmpxchg loop on targets with separate
int and FP registers, which we should be able to deal with by directly
checking for the legality of the underlying operation.
The casting path was also losing metadata when it recreated the
instruction.
Commit: 63ceb9afc693209964efd4ac4844c9c0712c312d
https://github.com/llvm/llvm-project/commit/63ceb9afc693209964efd4ac4844c9c0712c312d
Author: Simon Pilgrim <llvm-dev at redking.me.uk>
Date: 2024-05-07 (Tue, 07 May 2024)
Changed paths:
M llvm/test/CodeGen/X86/sext-subreg.ll
Log Message:
-----------
[X86] sext-subreg.ll - regenerate checks
Commit: 7198b8a39a062215aaf4ad8d2df23f7a10eaf6ae
https://github.com/llvm/llvm-project/commit/7198b8a39a062215aaf4ad8d2df23f7a10eaf6ae
Author: Simon Pilgrim <llvm-dev at redking.me.uk>
Date: 2024-05-07 (Tue, 07 May 2024)
Changed paths:
M llvm/test/CodeGen/X86/x86-64-extend-shift.ll
Log Message:
-----------
[X86] x86-64-extend-shift.ll - regenerate checks
Commit: 1a96179596099b8a3839050dbff02bfed94502e5
https://github.com/llvm/llvm-project/commit/1a96179596099b8a3839050dbff02bfed94502e5
Author: Tacet <advenam.tacet at trailofbits.com>
Date: 2024-05-07 (Tue, 07 May 2024)
Changed paths:
M libcxx/include/string
A libcxx/test/libcxx/containers/strings/basic.string/asan_deque_integration.pass.cpp
A libcxx/test/libcxx/containers/strings/basic.string/asan_short.pass.cpp
A libcxx/test/libcxx/containers/strings/basic.string/asan_vector_integration.pass.cpp
M libcxx/test/libcxx/type_traits/is_trivially_relocatable.compile.pass.cpp
M libcxx/test/support/asan_testing.h
Log Message:
-----------
[ASan][libc++] Turn on ASan annotations for short strings (#79536)
This pull request is the third iteration aiming to integrate short
string annotations. This commit includes:
- Enabling basic_string annotations for short strings.
- Setting a value of `__trivially_relocatable` in `std::basic_string` to
`false_type` when compiling with ASan (nothing changes when compiling
without ASan). Short string annotations make `std::basic_string` to not
be trivially relocatable, because memory has to be unpoisoned.
- Adding a `_LIBCPP_STRING_INTERNAL_MEMORY_ACCESS` modifier to two
functions.
- Creating a macro `_LIBCPP_ASAN_VOLATILE_WRAPPER` to prevent
problematic stack optimizations (the macro modifies code behavior only
when compiling with ASan).
Previously we had issues with compiler optimization, which we understand
thanks to @vitalybuka. This commit also addresses smaller changes in
short string, since previous upstream attempts.
Problematic optimization was loading two values in code similar to:
```
__is_long() ? __get_long_size() : __get_short_size();
```
We aim to resolve it with the volatile wrapper.
This commit is built on top of two previous attempts which descriptions
are below.
Additionally, in the meantime, annotations were updated (but it
shouldn't have any impact on anything):
- https://github.com/llvm/llvm-project/pull/79292
---
Previous PR: https://github.com/llvm/llvm-project/pull/79049
Reverted:
https://github.com/llvm/llvm-project/commit/a16f81f5e3313e88f96de35e5edfe8bee463d308
Previous description:
Originally merged here: https://github.com/llvm/llvm-project/pull/75882
Reverted here: https://github.com/llvm/llvm-project/pull/78627
Reverted due to failing buildbots. The problem was not caused by the
annotations code, but by code in the `UniqueFunctionBase` class and in
the `JSON.h` file. That code caused the program to write to memory that
was already being used by string objects, which resulted in an ASan
error.
Fixes are implemented in:
- https://github.com/llvm/llvm-project/pull/79065
- https://github.com/llvm/llvm-project/pull/79066
Problematic code from `UniqueFunctionBase` for example:
```cpp
// In debug builds, we also scribble across the rest of the storage.
memset(RHS.getInlineStorage(), 0xAD, InlineStorageSize);
```
---
Original description:
This commit turns on ASan annotations in `std::basic_string` for short
stings (SSO case).
Originally suggested here: https://reviews.llvm.org/D147680
String annotations added here:
https://github.com/llvm/llvm-project/pull/72677
Requires to pass CI without fails:
- https://github.com/llvm/llvm-project/pull/75845
- https://github.com/llvm/llvm-project/pull/75858
Annotating `std::basic_string` with default allocator is implemented in
https://github.com/llvm/llvm-project/pull/72677 but annotations for
short strings (SSO - Short String Optimization) are turned off there.
This commit turns them on. This also removes
`_LIBCPP_SHORT_STRING_ANNOTATIONS_ALLOWED`, because we do not plan to
support turning on and off short string annotations.
Support in ASan API exists since
https://github.com/llvm/llvm-project/commit/dd1b7b797a116eed588fd752fbe61d34deeb24e4.
You can turn off annotations for a specific allocator based on changes
from
https://github.com/llvm/llvm-project/commit/2fa1bec7a20bb23f2e6620085adb257dafaa3be0.
This PR is a part of a series of patches extending AddressSanitizer C++
container overflow detection capabilities by adding annotations, similar
to those existing in `std::vector` and `std::deque` collections. These
enhancements empower ASan to effectively detect instances where the
instrumented program attempts to access memory within a collection's
internal allocation that remains unused. This includes cases where
access occurs before or after the stored elements in `std::deque`, or
between the `std::basic_string`'s size (including the null terminator)
and capacity bounds.
The introduction of these annotations was spurred by a real-world
software bug discovered by Trail of Bits, involving an out-of-bounds
memory access during the comparison of two strings using the
`std::equals` function. This function was taking iterators
(`iter1_begin`, `iter1_end`, `iter2_begin`) to perform the comparison,
using a custom comparison function. When the `iter1` object exceeded the
length of `iter2`, an out-of-bounds read could occur on the `iter2`
object. Container sanitization, upon enabling these annotations, would
effectively identify and flag this potential vulnerability.
If you have any questions, please email:
- advenam.tacet at trailofbits.com
- disconnect3d at trailofbits.com
Commit: 1318230587c30acb82324f851734a40341847a50
https://github.com/llvm/llvm-project/commit/1318230587c30acb82324f851734a40341847a50
Author: Yeting Kuo <46629943+yetingk at users.noreply.github.com>
Date: 2024-05-08 (Wed, 08 May 2024)
Changed paths:
R clang/test/Driver/riscv-option-arch.c
R clang/test/Driver/riscv-option-arch.s
Log Message:
-----------
[RISCV][NFC] Remove redundant test cases. (#91324)
PR #89727 added the two test cases to verify `.option arch` should only
work when having -menable-experimental-extensions. And the test idea
could be splitted to
1. When having menable-experimental-extensions, clang passes
+experimental.
2. `.option arch` only enabled when +experimental enabled.
And we already had the two kind of tests.
Commit: 486695d154b23d0f66f3a5e054963b78d7d08d5a
https://github.com/llvm/llvm-project/commit/486695d154b23d0f66f3a5e054963b78d7d08d5a
Author: Andrzej Warzyński <andrzej.warzynski at arm.com>
Date: 2024-05-07 (Tue, 07 May 2024)
Changed paths:
R flang/test/Driver/driver-help-hidden.f90
Log Message:
-----------
[flang] Remove driver-help-hidden.f90 (#91307)
This file was originally removed in #89504 and then accidentally
re-added in #89938.
Commit: 72085698a244e10780a6f115269a2f88455c8cab
https://github.com/llvm/llvm-project/commit/72085698a244e10780a6f115269a2f88455c8cab
Author: Prashant Kumar <pk5561 at gmail.com>
Date: 2024-05-07 (Tue, 07 May 2024)
Changed paths:
M mlir/lib/Dialect/Math/Transforms/PolynomialApproximation.cpp
M mlir/test/mlir-cpu-runner/math-polynomial-approx.mlir
Log Message:
-----------
[mlir][math] Add Polynomial Approximation for acos, asin op (#90962)
Adds the Polynomial Approximation for math.acos and math.asin op. Also,
it adds integration tests.
The Approximation has been borrowed from
https://stackoverflow.com/a/42683455
I added this script:
https://gist.github.com/pashu123/cd3e682b21a64ac306f650fb842a422b to
test 50 values between -1 and 1. The results are
https://gist.github.com/pashu123/8acb233bd045bacabfa8c992d4040465. It's
well within the bounds.
Commit: 026a29e8b38aad79568de033d0e8e5d2e6bb4250
https://github.com/llvm/llvm-project/commit/026a29e8b38aad79568de033d0e8e5d2e6bb4250
Author: Kazu Hirata <kazu at google.com>
Date: 2024-05-07 (Tue, 07 May 2024)
Changed paths:
M llvm/lib/Analysis/BlockFrequencyInfo.cpp
M llvm/lib/Analysis/BranchProbabilityInfo.cpp
M llvm/lib/Analysis/LoopInfo.cpp
M llvm/lib/Analysis/MemoryProfileInfo.cpp
M llvm/lib/CodeGen/MIRSampleProfile.cpp
M llvm/lib/CodeGen/MachineBlockFrequencyInfo.cpp
M llvm/lib/CodeGen/MachineBlockPlacement.cpp
M llvm/lib/CodeGen/TargetLoweringBase.cpp
M llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp
M llvm/lib/DebugInfo/LogicalView/Core/LVOptions.cpp
M llvm/lib/DebugInfo/LogicalView/Readers/LVBinaryReader.cpp
M llvm/lib/DebugInfo/LogicalView/Readers/LVCodeViewVisitor.cpp
M llvm/lib/DebugInfo/Symbolize/SymbolizableObjectFile.cpp
Log Message:
-----------
[Analysis, CodeGen, DebugInfo] Use StringRef::operator== instead of StringRef::equals (NFC) (#91304)
I'm planning to remove StringRef::equals in favor of
StringRef::operator==.
- StringRef::operator==/!= outnumber StringRef::equals by a factor of
53 under llvm/ in terms of their usage.
- The elimination of StringRef::equals brings StringRef closer to
std::string_view, which has operator== but not equals.
- S == "foo" is more readable than S.equals("foo"), especially for
!Long.Expression.equals("str") vs Long.Expression != "str".
Commit: 873431a68a3aa3ec4fed5d2dc98ef527230b0d21
https://github.com/llvm/llvm-project/commit/873431a68a3aa3ec4fed5d2dc98ef527230b0d21
Author: Joseph Huber <huberjn at outlook.com>
Date: 2024-05-07 (Tue, 07 May 2024)
Changed paths:
M libc/hdr/fenv_macros.h
M libc/include/llvm-libc-macros/fenv-macros.h
Log Message:
-----------
[libc] Add __FE_DENORM to the fenv macros (#91353)
Summary:
Some targets support denormals as floating point exceptions. This is
provided as an extension in the GNU headers as __FE_DENORM.
This provides it in our headers, however I'm unsure if we should make it
internal or external. I do not think it should be in all exception as it
doesn't represent an exceptional behavior as far as the standard is
concerned, but I'm not an expert.
Commit: cf58c58e0967dbf812ef84944efd923ea366583a
https://github.com/llvm/llvm-project/commit/cf58c58e0967dbf812ef84944efd923ea366583a
Author: Keith Smiley <keithbsmiley at gmail.com>
Date: 2024-05-07 (Tue, 07 May 2024)
Changed paths:
M utils/bazel/llvm-project-overlay/lldb/source/Plugins/BUILD.bazel
Log Message:
-----------
[bazel] Move HostMacOSXPrivateHeaders to macOS only dep (#91354)
Commit: 1a2a1fbd7c03381fe5e4f459f7081bef13366ef4
https://github.com/llvm/llvm-project/commit/1a2a1fbd7c03381fe5e4f459f7081bef13366ef4
Author: Brendan Dahl <brendan.dahl at gmail.com>
Date: 2024-05-07 (Tue, 07 May 2024)
Changed paths:
M clang/include/clang/Basic/BuiltinsWebAssembly.def
M clang/lib/CodeGen/CGBuiltin.cpp
M clang/test/CodeGen/builtins-wasm.c
M llvm/include/llvm/IR/IntrinsicsWebAssembly.td
M llvm/lib/Target/WebAssembly/MCTargetDesc/WebAssemblyMCTargetDesc.h
M llvm/lib/Target/WebAssembly/WebAssemblyISelLowering.cpp
M llvm/lib/Target/WebAssembly/WebAssemblyInstrMemory.td
A llvm/test/CodeGen/WebAssembly/half-precision.ll
M llvm/test/CodeGen/WebAssembly/offset.ll
M llvm/test/MC/WebAssembly/simd-encodings.s
Log Message:
-----------
[WebAssembly] Implement prototype f32.load_f16 instruction. (#90906)
Adds a builtin and intrinsic for the f32.load_f16 instruction.
The instruction loads an f16 value from memory and puts it in an f32.
Specified at:
https://github.com/WebAssembly/half-precision/blob/29a9b9462c9285d4ccc1a5dc39214ddfd1892658/proposals/half-precision/Overview.md
Note: the current spec has f32.load_f16 as opcode 0xFD0120, but this is
incorrect and will be changed to 0xFC30 soon.
Commit: 7115ed0fff027b65fa76fdfae215ed1382ed1473
https://github.com/llvm/llvm-project/commit/7115ed0fff027b65fa76fdfae215ed1382ed1473
Author: Krystian Stasiowski <sdkrystian at gmail.com>
Date: 2024-05-07 (Tue, 07 May 2024)
Changed paths:
M clang-tools-extra/clangd/AST.cpp
M clang-tools-extra/clangd/SemanticHighlighting.cpp
M clang-tools-extra/include-cleaner/lib/WalkAST.cpp
M clang/docs/LibASTMatchersReference.html
M clang/docs/ReleaseNotes.rst
M clang/include/clang/AST/DeclTemplate.h
M clang/include/clang/AST/RecursiveASTVisitor.h
M clang/include/clang/ASTMatchers/ASTMatchers.h
M clang/include/clang/ASTMatchers/ASTMatchersInternal.h
M clang/lib/AST/ASTImporter.cpp
M clang/lib/AST/DeclPrinter.cpp
M clang/lib/AST/DeclTemplate.cpp
M clang/lib/AST/TypePrinter.cpp
M clang/lib/Index/IndexDecl.cpp
M clang/lib/Sema/Sema.cpp
M clang/lib/Sema/SemaTemplate.cpp
M clang/lib/Sema/SemaTemplateInstantiateDecl.cpp
M clang/lib/Serialization/ASTReaderDecl.cpp
M clang/lib/Serialization/ASTWriterDecl.cpp
M clang/lib/Tooling/Syntax/BuildTree.cpp
M clang/test/AST/ast-dump-template-decls.cpp
M clang/test/Index/Core/index-source.cpp
M clang/test/Index/index-refs.cpp
M clang/tools/libclang/CIndex.cpp
M clang/unittests/ASTMatchers/ASTMatchersNodeTest.cpp
M clang/unittests/ASTMatchers/ASTMatchersTraversalTest.cpp
Log Message:
-----------
[Clang] Unify interface for accessing template arguments as written for class/variable template specializations (#81642)
Our current method of storing the template arguments as written for
`(Class/Var)Template(Partial)SpecializationDecl` suffers from a number
of flaws:
- We use `TypeSourceInfo` to store `TemplateArgumentLocs` for class
template/variable template partial/explicit specializations. For
variable template specializations, this is a rather unintuitive hack (as
we store a non-type specialization as a type). Moreover, we don't ever
*need* the type as written -- in almost all cases, we only want the
template arguments (e.g. in tooling use-cases).
- The template arguments as written are stored in a number of redundant
data members. For example, `(Class/Var)TemplatePartialSpecialization`
have their own `ArgsAsWritten` member that stores an
`ASTTemplateArgumentListInfo` (the template arguments).
`VarTemplateSpecializationDecl` has yet _another_ redundant member
"`TemplateArgsInfo`" that also stores an `ASTTemplateArgumentListInfo`.
This patch eliminates all
`(Class/Var)Template(Partial)SpecializationDecl` members which store the
template arguments as written, and turns the `ExplicitInfo` member into
a `llvm::PointerUnion<const ASTTemplateArgumentListInfo*,
ExplicitInstantiationInfo*>` (to avoid unnecessary allocations when the
declaration isn't an explicit instantiation). The template arguments as
written are now accessed via `getTemplateArgsWritten` in all cases.
The "most breaking" change is to AST Matchers, insofar that `hasTypeLoc`
will no longer match class template specializations (since they no
longer store the type as written).
Commit: b1bc1dbea6d0423813bb73d625c6eedc040007ed
https://github.com/llvm/llvm-project/commit/b1bc1dbea6d0423813bb73d625c6eedc040007ed
Author: Edwin Vane <revane at google.com>
Date: 2024-05-07 (Tue, 07 May 2024)
Changed paths:
M clang-tools-extra/clang-tidy/bugprone/ReservedIdentifierCheck.cpp
M clang-tools-extra/clang-tidy/readability/IdentifierNamingCheck.cpp
M clang-tools-extra/clang-tidy/utils/RenamerClangTidyCheck.cpp
M clang-tools-extra/clang-tidy/utils/RenamerClangTidyCheck.h
Log Message:
-----------
[clang-tidy] Refactor how NamedDecl are renamed (#88735)
The handling of renaming failures and multiple usages related to those
failures is currently spread over several functions. Identifying the
failure NamedDecl for a given usage is also duplicated, once when
creating failures and again when identify usages. There are currently
two ways to a failed NamedDecl from a usage: use the canonical decl or
use the overridden method. With new methods about to be added, a cleanup
was in order.
The data flow is simplified as follows:
* The visitor always forwards NamedDecls to addUsage(NamedDecl).
* addUsage(NamedDecl) determines the failed NamedDecl and determines
potential new names based on that failure. Usages are registered using
addUsage(NamingCheckId).
* addUsage(NamingCheckId) is now protected and its single responsibility
is maintaining the integrity of the failure/usage map.
Commit: 62bed56efdde1bed5dcebec5ceb375ffce223691
https://github.com/llvm/llvm-project/commit/62bed56efdde1bed5dcebec5ceb375ffce223691
Author: Benoit Jacob <jacob.benoit.1 at gmail.com>
Date: 2024-05-07 (Tue, 07 May 2024)
Changed paths:
M mlir/lib/Dialect/Tensor/IR/TensorOps.cpp
Log Message:
-----------
[mlir][tensor] Remove assertion in ExpandShapeOp::build (#91361)
Unblocking downstream integrate where an expected-to-fail test was
expecting this to be a runtime verifier error, not a compiler crash:
https://github.com/llvm/torch-mlir/pull/3279.
Commit: 6cba93f25dc2014b5d8c71c739f17be1d8c3763a
https://github.com/llvm/llvm-project/commit/6cba93f25dc2014b5d8c71c739f17be1d8c3763a
Author: Craig Topper <craig.topper at sifive.com>
Date: 2024-05-07 (Tue, 07 May 2024)
Changed paths:
M llvm/lib/TargetParser/RISCVISAInfo.cpp
M llvm/test/tools/llvm-objdump/ELF/RISCV/unknown-arch-attr.test
M llvm/unittests/TargetParser/RISCVISAInfoTest.cpp
Log Message:
-----------
[RISCV] Add partial validation of S and X extension names to RISCVISAInfo::parseNormalizedArchString.
Extensions starting with 's' or 'x' should always be followed by an
alphabetical character. I don't know of any crashes from this currently,
but it seemed better to be defensive.
Commit: 1e36c96dc0998e886644d6fc76aa475d88d9645c
https://github.com/llvm/llvm-project/commit/1e36c96dc0998e886644d6fc76aa475d88d9645c
Author: AtariDreams <gfunni234 at gmail.com>
Date: 2024-05-07 (Tue, 07 May 2024)
Changed paths:
M llvm/lib/Transforms/InstCombine/InstCombineShifts.cpp
M llvm/test/Transforms/InstCombine/lshr.ll
Log Message:
-----------
[InstCombine] Fold ((X << nuw Z) binop nuw Y) >>u Z --> X binop nuw (Y >>u Z) (#88193)
Proofs:
https://alive2.llvm.org/ce/z/N9dRzP
https://alive2.llvm.org/ce/z/Xrpc-Y
https://alive2.llvm.org/ce/z/BagBM6
Commit: 2a4f1f4a8ff60d55da69b4654360cf947b5b20f7
https://github.com/llvm/llvm-project/commit/2a4f1f4a8ff60d55da69b4654360cf947b5b20f7
Author: Florian Mayer <fmayer at google.com>
Date: 2024-05-07 (Tue, 07 May 2024)
Changed paths:
M llvm/lib/Transforms/Instrumentation/HWAddressSanitizer.cpp
Log Message:
-----------
Document FP relative offsets (#91031)
Commit: c9ab1d890586bd8a6a194e6a37968538b80f81bd
https://github.com/llvm/llvm-project/commit/c9ab1d890586bd8a6a194e6a37968538b80f81bd
Author: Sean Perry <39927768+perry-ca at users.noreply.github.com>
Date: 2024-05-07 (Tue, 07 May 2024)
Changed paths:
M clang/test/AST/Interp/cxx23.cpp
M clang/test/CodeGen/ffp-contract-option.c
M clang/test/CodeGen/ffp-model.c
M clang/test/CodeGen/fp-matrix-pragma.c
M clang/test/Driver/clang-offload-bundler-asserts-on.c
M clang/test/Driver/clang-offload-bundler-standardize.c
M clang/test/Driver/clang-offload-bundler-zlib.c
M clang/test/Driver/clang-offload-bundler-zstd.c
M clang/test/Driver/clang-offload-bundler.c
A clang/test/Driver/std-trigraph-override.c
M clang/test/Driver/std.c
A clang/test/FixIt/fixit-c++2a-tls.cpp
M clang/test/FixIt/fixit-c++2a.cpp
M clang/test/Interpreter/const.cpp
M clang/test/Lexer/unicode.c
M clang/test/Modules/cstd.m
M clang/test/Modules/merge-objc-protocol-visibility.m
M clang/test/PCH/chain-openmp-threadprivate.cpp
M clang/test/Sema/thread_local.c
M llvm/test/MC/AsmParser/layout-interdependency.s
M llvm/test/Object/archive-big-extract.test
M llvm/test/Object/archive-extract.test
Log Message:
-----------
Mark test cases as unsupported on z/OS (#90990)
These test cases are testing features not available when either
targeting the s390x-ibm-zos target or use tools/features not available
on the z/OS operating system. In a couple cases the lit test had a
number of subtests with one or two that aren't supported on z/OS. Rather
than mark the entire test as unsupported I split out the unsupported
tests into a separate test case.
Commit: 057de4d26425c8b9840912e40ce025626f45d8d6
https://github.com/llvm/llvm-project/commit/057de4d26425c8b9840912e40ce025626f45d8d6
Author: Jonas Devlieghere <jonas at devlieghere.com>
Date: 2024-05-07 (Tue, 07 May 2024)
Changed paths:
M lldb/tools/driver/Driver.cpp
M lldb/tools/lldb-dap/lldb-dap.cpp
Log Message:
-----------
[lldb] Request crash report when prompting for a bug report on Darwin (#91371)
On Darwin platforms, the system will generate a crash report in
~/Library/Logs/DiagnosticReports/ when a process crashes.
These reports are much more useful than the "pretty backtraces" printed
by LLVM and are preferred when filing bug reports on Darwin.
Commit: 65e2fab401a2da55c51d3caceae8478c33f3c60f
https://github.com/llvm/llvm-project/commit/65e2fab401a2da55c51d3caceae8478c33f3c60f
Author: Kazu Hirata <kazu at google.com>
Date: 2024-05-07 (Tue, 07 May 2024)
Changed paths:
M clang/lib/Sema/SemaTemplate.cpp
M clang/lib/Sema/SemaTemplateInstantiateDecl.cpp
Log Message:
-----------
[Sema] Fix warnings
This patch fixes:
clang/lib/Sema/SemaTemplateInstantiateDecl.cpp:3937:12: error:
unused variable 'CanonType' [-Werror,-Wunused-variable]
clang/lib/Sema/SemaTemplate.cpp:9279:18: error: unused variable
'TemplateKWLoc' [-Werror,-Wunused-variable]
Commit: c76ccf0f1e05d649449c8ff6908b0b6329eb2612
https://github.com/llvm/llvm-project/commit/c76ccf0f1e05d649449c8ff6908b0b6329eb2612
Author: Florian Hahn <flo at fhahn.com>
Date: 2024-05-07 (Tue, 07 May 2024)
Changed paths:
M llvm/test/Transforms/LoopVectorize/version-stride-with-integer-casts.ll
Log Message:
-----------
[LV] Add test case for #91369.
Add tests for https://github.com/llvm/llvm-project/issues/91369.
Commit: 82bb2534d4de16abb7a51fc646d5c31d6cec5eeb
https://github.com/llvm/llvm-project/commit/82bb2534d4de16abb7a51fc646d5c31d6cec5eeb
Author: Matt Arsenault <Matthew.Arsenault at amd.com>
Date: 2024-05-07 (Tue, 07 May 2024)
Changed paths:
M llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp
M llvm/lib/CodeGen/SelectionDAG/LegalizeFloatTypes.cpp
M llvm/lib/CodeGen/SelectionDAG/LegalizeTypes.h
M llvm/lib/Target/AMDGPU/AMDGPUISelLowering.cpp
M llvm/lib/Target/AMDGPU/AMDGPUISelLowering.h
M llvm/test/Transforms/AtomicExpand/AMDGPU/no-expand-atomic-store.ll
Log Message:
-----------
AMDGPU: Don't bitcast float typed atomic store in IR (#90116)
Implement the promotion in the DAG.
Depends #90113
Commit: 31dd0ef73c99b1bc9825ddfc58ddff0b134608fb
https://github.com/llvm/llvm-project/commit/31dd0ef73c99b1bc9825ddfc58ddff0b134608fb
Author: Noah Goldstein <goldstein.w.n at gmail.com>
Date: 2024-05-07 (Tue, 07 May 2024)
Changed paths:
A llvm/test/Transforms/CorrelatedValuePropagation/sitofp.ll
A llvm/test/Transforms/CorrelatedValuePropagation/uitofp.ll
Log Message:
-----------
[CVP] Add tests for adding `nneg` flag to `uitofp` and converting `sitofp` -> `uitofp nneg`; NFC
Commit: 925a11128c903c8554921c2b5700caf191ae61d6
https://github.com/llvm/llvm-project/commit/925a11128c903c8554921c2b5700caf191ae61d6
Author: Noah Goldstein <goldstein.w.n at gmail.com>
Date: 2024-05-07 (Tue, 07 May 2024)
Changed paths:
M llvm/lib/Transforms/Scalar/CorrelatedValuePropagation.cpp
M llvm/test/Transforms/CorrelatedValuePropagation/sitofp.ll
M llvm/test/Transforms/CorrelatedValuePropagation/uitofp.ll
Log Message:
-----------
[CVP] Convert `sitofp` -> `uitofp nneg` and add `nneg` flag to `uitofp`
Similiar to the `InstCombine` changes, just furthering the scope of
the canonicalization/`uitofp nneg` support
Commit: 6243395d7f1da6a2ea813f5d86ba71f91e1070bf
https://github.com/llvm/llvm-project/commit/6243395d7f1da6a2ea813f5d86ba71f91e1070bf
Author: Noah Goldstein <goldstein.w.n at gmail.com>
Date: 2024-05-07 (Tue, 07 May 2024)
Changed paths:
M llvm/lib/Transforms/Utils/SCCPSolver.cpp
M llvm/test/Transforms/SCCP/ip-ranges-casts.ll
M llvm/test/Transforms/SCCP/sitofp.ll
Log Message:
-----------
[SCCP] Add `nneg` flag to `uitofp` if its operand is non-negative
Similiar to the `InstCombine` changes, just furthering the support of
the `uitofp nneg` support.
Closes #86154
Commit: 117bda523ea15510d2289020decabef57d89acc0
https://github.com/llvm/llvm-project/commit/117bda523ea15510d2289020decabef57d89acc0
Author: Craig Topper <craig.topper at sifive.com>
Date: 2024-05-07 (Tue, 07 May 2024)
Changed paths:
M llvm/unittests/TargetParser/RISCVISAInfoTest.cpp
Log Message:
-----------
[RISCV] Add unittests for MinVLen/MaxELen/MaxElenFp for ParseArchString. NFC
We had tests for ParseNormalizedArchString, but not ParseArchString.
The ParseNormalizedArchString test was not checking MaxElenFp.
Commit: dca3a6e562e012940c2b62a4d8dae3afec09caa4
https://github.com/llvm/llvm-project/commit/dca3a6e562e012940c2b62a4d8dae3afec09caa4
Author: Heejin Ahn <aheejin at gmail.com>
Date: 2024-05-07 (Tue, 07 May 2024)
Changed paths:
M clang/lib/Driver/ToolChains/WebAssembly.cpp
M clang/test/Driver/wasm-toolchain.c
Log Message:
-----------
[WebAssembly] Make EH depend on multivalue and reference-types (#91299)
This PR turns on multivalue and reference-types features when
exception-handling feature is turned on, and errors out when disabling
of those dependent features is explicitly requested.
I think doing this would be safe anyway regardless of whether or when we
end up turning on reference-types by default.
We currently don't yet have a experimental flag for the Clang and LLVM
for the new experimental EH yet. But I think it should be fine to turn
those features on even if the LLVM does not yet generate the new EH
instructions, for the same reason we tried to turn them on by default
and the browsers that support EH also support multivalue and
reference-types anyway.
Commit: 2e4abfae57f81e2bb23fc654d6edbaeae51ae10a
https://github.com/llvm/llvm-project/commit/2e4abfae57f81e2bb23fc654d6edbaeae51ae10a
Author: Adrian Prantl <aprantl at apple.com>
Date: 2024-05-07 (Tue, 07 May 2024)
Changed paths:
M clang/lib/Sema/SemaTemplate.cpp
M clang/lib/Sema/SemaTemplateInstantiateDecl.cpp
Log Message:
-----------
Revert "[Sema] Fix warnings"
This reverts commit 65e2fab401a2da55c51d3caceae8478c33f3c60f because I'm also reverting 7115ed0fff027b65fa76fdfae215ed1382ed1473.
Commit: c6855ab24e63feb432aac4f86eb70ac16d76c921
https://github.com/llvm/llvm-project/commit/c6855ab24e63feb432aac4f86eb70ac16d76c921
Author: Adrian Prantl <aprantl at apple.com>
Date: 2024-05-07 (Tue, 07 May 2024)
Changed paths:
M clang-tools-extra/clangd/AST.cpp
M clang-tools-extra/clangd/SemanticHighlighting.cpp
M clang-tools-extra/include-cleaner/lib/WalkAST.cpp
M clang/docs/LibASTMatchersReference.html
M clang/docs/ReleaseNotes.rst
M clang/include/clang/AST/DeclTemplate.h
M clang/include/clang/AST/RecursiveASTVisitor.h
M clang/include/clang/ASTMatchers/ASTMatchers.h
M clang/include/clang/ASTMatchers/ASTMatchersInternal.h
M clang/lib/AST/ASTImporter.cpp
M clang/lib/AST/DeclPrinter.cpp
M clang/lib/AST/DeclTemplate.cpp
M clang/lib/AST/TypePrinter.cpp
M clang/lib/Index/IndexDecl.cpp
M clang/lib/Sema/Sema.cpp
M clang/lib/Sema/SemaTemplate.cpp
M clang/lib/Sema/SemaTemplateInstantiateDecl.cpp
M clang/lib/Serialization/ASTReaderDecl.cpp
M clang/lib/Serialization/ASTWriterDecl.cpp
M clang/lib/Tooling/Syntax/BuildTree.cpp
M clang/test/AST/ast-dump-template-decls.cpp
M clang/test/Index/Core/index-source.cpp
M clang/test/Index/index-refs.cpp
M clang/tools/libclang/CIndex.cpp
M clang/unittests/ASTMatchers/ASTMatchersNodeTest.cpp
M clang/unittests/ASTMatchers/ASTMatchersTraversalTest.cpp
Log Message:
-----------
Revert "[Clang] Unify interface for accessing template arguments as written for class/variable template specializations (#81642)"
This reverts commit 7115ed0fff027b65fa76fdfae215ed1382ed1473.
This commit broke several LLDB tests.
https://green.lab.llvm.org/job/llvm.org/view/LLDB/job/as-lldb-cmake/3480/
Commit: dad11097096c05564758e539f9f03ef883365fdd
https://github.com/llvm/llvm-project/commit/dad11097096c05564758e539f9f03ef883365fdd
Author: Jonas Devlieghere <jonas at devlieghere.com>
Date: 2024-05-07 (Tue, 07 May 2024)
Changed paths:
M lldb/source/API/CMakeLists.txt
Log Message:
-----------
[lldb] Reinstate lldb-sbapi-dwarf-enums target (NFC) (#91390)
Alex pointed out in #91254 that we only need the custom target if we had
more than one target depending on it. This isn't the case upstream, but
on our downstream fork, we have a second dependency. Reintroduce the
target so that everything can depend on that, without the
single-dependency foot-gun.
Commit: 5e9dd8827b3ccd03f8499b610deb6accd2d71d21
https://github.com/llvm/llvm-project/commit/5e9dd8827b3ccd03f8499b610deb6accd2d71d21
Author: Xiang Li <python3kgae at outlook.com>
Date: 2024-05-07 (Tue, 07 May 2024)
Changed paths:
M llvm/lib/Target/DirectX/DXILMetadata.cpp
M llvm/lib/Target/DirectX/DXILMetadata.h
M llvm/lib/Target/DirectX/DXILPrepare.cpp
M llvm/lib/Target/DirectX/DirectXTargetMachine.cpp
A llvm/test/CodeGen/DirectX/Metadata/shaderModel-cs-val-ver-0.0.ll
M llvm/test/CodeGen/DirectX/Metadata/shaderModel-cs.ll
M llvm/test/tools/dxil-dis/attribute-filter.ll
Log Message:
-----------
[DirectX] remove string function attribute DXIL not allowed (#90778)
Remove string function attribute other than
"waveops-include-helper-lanes" and "fp32-denorm-mode".
Move DXILPrepareModulePass after DXILTranslateMetadataPass since
DXILTranslateMetadataPass needs to use attribute like hlsl.numthreads.
Fixes #90773
Commit: 9a28814f59e8f52cc63ae3d17023cee8348d9b53
https://github.com/llvm/llvm-project/commit/9a28814f59e8f52cc63ae3d17023cee8348d9b53
Author: Maryam Moghadas <m.moghadas at gmail.com>
Date: 2024-05-07 (Tue, 07 May 2024)
Changed paths:
M llvm/lib/Target/PowerPC/PPCFrameLowering.cpp
M llvm/lib/Target/PowerPC/PPCFrameLowering.h
M llvm/test/CodeGen/PowerPC/aix-csr-vector-extabi.ll
M llvm/test/CodeGen/PowerPC/aix-csr-vector.ll
M llvm/test/CodeGen/PowerPC/aix-csr.ll
A llvm/test/CodeGen/PowerPC/aix-spills-for-eh.ll
M llvm/test/CodeGen/PowerPC/aix32-crsave.mir
M llvm/test/CodeGen/PowerPC/ppc-shrink-wrapping.ll
M llvm/test/CodeGen/PowerPC/ppc64-crsave.mir
Log Message:
-----------
[PowerPC] Spill non-volatile registers required for traceback table (#71115)
On AIX we need to spill all [rfv]N-[rfv]31 when a function clobbers
[rfv]N so that the traceback table contains accurate information.
Commit: 082c81ae4ab9db6bb0acd52098288223dd58501a
https://github.com/llvm/llvm-project/commit/082c81ae4ab9db6bb0acd52098288223dd58501a
Author: Florian Hahn <flo at fhahn.com>
Date: 2024-05-07 (Tue, 07 May 2024)
Changed paths:
M llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
M llvm/test/Transforms/LoopVectorize/version-stride-with-integer-casts.ll
Log Message:
-----------
[LV] Properly extend versioned constant strides.
We only version unknown strides to 1. If the original type is i1, then
the sign of the extension matters. Properly extend the stride value
before replacing it.
Fixes https://github.com/llvm/llvm-project/issues/91369.
Commit: 0b50d095bccbd47c77e5ad2b03b09b41b696c4a0
https://github.com/llvm/llvm-project/commit/0b50d095bccbd47c77e5ad2b03b09b41b696c4a0
Author: Shilei Tian <i at tianshilei.me>
Date: 2024-05-07 (Tue, 07 May 2024)
Changed paths:
M llvm/lib/Target/AMDGPU/SIFoldOperands.cpp
M llvm/test/CodeGen/AMDGPU/fold-agpr-phis.mir
Log Message:
-----------
[AMDGPU] Don't optimize agpr phis if the operand doesn't have subreg use (#91267)
If the operand doesn't have any subreg use, the optimization could
potentially
generate `V_ACCVGPR_READ_B32_e64` with wrong register class. The
following example demonstrates the issue.
Input MIR:
```
bb.0:
%0:sgpr_32 = S_MOV_B32 0
%1:sgpr_128 = REG_SEQUENCE %0:sgpr_32, %subreg.sub0, %0:sgpr_32, %subreg.sub1, %0:sgpr_32, %subreg.sub2, %0:sgpr_32, %subreg.sub3
%2:vreg_128 = COPY %1:sgpr_128
%3:areg_128 = COPY %2:vreg_128, implicit $exec
bb.1:
%4:areg_128 = PHI %3:areg_128, %bb.0, %6:areg_128, %bb.1
%5:areg_128 = PHI %3:areg_128, %bb.0, %7:areg_128, %bb.1
...
```
Output of current implementation:
```
bb.0:
%0:agpr_32 = V_ACCVGPR_WRITE_B32_e64 0, implicit $exec
%1:agpr_32 = V_ACCVGPR_WRITE_B32_e64 0, implicit $exec
%2:agpr_32 = V_ACCVGPR_WRITE_B32_e64 0, implicit $exec
%3:agpr_32 = V_ACCVGPR_WRITE_B32_e64 0, implicit $exec
%4:areg_128 = REG_SEQUENCE %0:agpr_32, %subreg.sub0, %1:agpr_32, %subreg.sub1, %2:agpr_32, %subreg.sub2, %3:agpr_32, %subreg.sub3
%5:vreg_128 = V_ACCVGPR_READ_B32_e64 %4:areg_128, implicit $exec
%6:areg_128 = COPY %46:vreg_128
bb.1:
%7:areg_128 = PHI %6:areg_128, %bb.0, %9:areg_128, %bb.1
%8:areg_128 = PHI %6:areg_128, %bb.0, %10:areg_128, %bb.1
...
```
The problem is the generated `V_ACCVGPR_READ_B32_e64` instruction.
Apparently the operand `%4:areg_128` is not valid for this.
In this patch, we don't count the none-subreg use because
`V_ACCVGPR_READ_B32_e64` can't handle none-32-bit operand.
Fixes: SWDEV-459556
Commit: 272ea28bdec93b33527dc54edbdef8f43c51df47
https://github.com/llvm/llvm-project/commit/272ea28bdec93b33527dc54edbdef8f43c51df47
Author: Adrian Prantl <aprantl at apple.com>
Date: 2024-05-07 (Tue, 07 May 2024)
Changed paths:
M lldb/source/Expression/UserExpression.cpp
Log Message:
-----------
Remove else-after-break (NFC)
Commit: 8c4d7989c2b4a7e251afc3b13002611646de90b6
https://github.com/llvm/llvm-project/commit/8c4d7989c2b4a7e251afc3b13002611646de90b6
Author: Adrian Prantl <aprantl at apple.com>
Date: 2024-05-07 (Tue, 07 May 2024)
Changed paths:
M lldb/source/Expression/UserExpression.cpp
Log Message:
-----------
Add a missing check for nullptr
This can't happen with Clang, but I've seen a crash report from the
Swift plugin where this happened.
rdar://126564844
Commit: a70ad96b3cc5275246f7f007d1892bb867b75bc0
https://github.com/llvm/llvm-project/commit/a70ad96b3cc5275246f7f007d1892bb867b75bc0
Author: Stanislav Mekhanoshin <rampitec at users.noreply.github.com>
Date: 2024-05-07 (Tue, 07 May 2024)
Changed paths:
M llvm/lib/Target/AMDGPU/VOPInstructions.td
Log Message:
-----------
[AMDGPU] Fix condition in VOP3_Real_Base. NFCI. (#91373)
Commit: 2ad6917c4c524576405f2146424911fd9adb3528
https://github.com/llvm/llvm-project/commit/2ad6917c4c524576405f2146424911fd9adb3528
Author: Ellis Hoag <ellis.sparky.hoag at gmail.com>
Date: 2024-05-07 (Tue, 07 May 2024)
Changed paths:
M clang/lib/Serialization/ASTReader.cpp
A clang/test/Modules/module-symlink.m
M llvm/include/llvm/Support/VirtualFileSystem.h
M llvm/lib/Support/VirtualFileSystem.cpp
Log Message:
-----------
[modules] Accept equivalent module caches from different symlink (#90925)
Use `VFS.equivalent()`, which follows symlinks, to check if two module
cache paths are equivalent. This prevents a PCH error when building from
a different path that is a symlink of the original.
```
error: PCH was compiled with module cache path '/home/foo/blah/ModuleCache/2IBP1TNT8OR8D', but the path is currently '/data/users/foo/blah/ModuleCache/2IBP1TNT8OR8D'
1 error generated.
```
Commit: bc8a42762057d7036f6871211e62b1c3efb2738a
https://github.com/llvm/llvm-project/commit/bc8a42762057d7036f6871211e62b1c3efb2738a
Author: Marian Buschsieweke <maribu at users.noreply.github.com>
Date: 2024-05-07 (Tue, 07 May 2024)
Changed paths:
M clang/include/clang/Basic/MSP430Target.def
A clang/include/clang/Basic/Target/MSP430/gen-msp430-def.py
Log Message:
-----------
[MSP430][Clang] Update list of MCUs (#91258)
This updates the list of MSP430 MCUs from TI's devices.csv obtained from [1] under the "Header and Support Files" link. A simple python script has been used to generate this list and is included as well.
[1]: https://www.ti.com/tool/MSP430-GCC-OPENSOURCE#downloads
Commit: 2a3903fa0e88d7149df11aa37d4ba87c5e5f0913
https://github.com/llvm/llvm-project/commit/2a3903fa0e88d7149df11aa37d4ba87c5e5f0913
Author: Stanislav Mekhanoshin <rampitec at users.noreply.github.com>
Date: 2024-05-07 (Tue, 07 May 2024)
Changed paths:
M llvm/lib/Target/AMDGPU/SIISelLowering.cpp
M llvm/test/CodeGen/AMDGPU/fmaximum.ll
M llvm/test/CodeGen/AMDGPU/fminimum.ll
M llvm/test/CodeGen/AMDGPU/llvm.maximum.f16.ll
M llvm/test/CodeGen/AMDGPU/llvm.minimum.f16.ll
Log Message:
-----------
[AMDGPU] Prevent FMINIMUM and FMAXIMUM beeing fully scalarized (#91378)
This is the same logic as with FMINNUM_IEEE/FMAXNUM_IEEE.
Commit: a5044e6d505deb79f1b00bb39d11096d29b9c910
https://github.com/llvm/llvm-project/commit/a5044e6d505deb79f1b00bb39d11096d29b9c910
Author: Schrodinger ZHU Yifan <yifanzhu at rochester.edu>
Date: 2024-05-07 (Tue, 07 May 2024)
Changed paths:
M libc/src/__support/threads/linux/CMakeLists.txt
Log Message:
-----------
[libc] fix typo due to futex renaming (#91379)
Commit: ccf765cfd578c4ea4f710386e19cb8d1ef1859ce
https://github.com/llvm/llvm-project/commit/ccf765cfd578c4ea4f710386e19cb8d1ef1859ce
Author: Mircea Trofin <mtrofin at google.com>
Date: 2024-05-07 (Tue, 07 May 2024)
Changed paths:
M compiler-rt/lib/ctx_profile/CtxInstrProfiling.cpp
M compiler-rt/lib/ctx_profile/CtxInstrProfiling.h
M compiler-rt/lib/ctx_profile/tests/CtxInstrProfilingTest.cpp
Log Message:
-----------
[compiler-rt][ctx_profile] Add the instrumented contextual profiling APIs (#89838)
APIs for contextual profiling. `ContextNode` is the call context-specific counter buffer. `ContextRoot` is associated to those functions that constitute roots into interesting call graphs, and is the object on which we hang off `Arena`s for allocating `ContextNode`s, as well as the `ContextNode` corresponding to such functions. Graphs of `ContextNode`s are accessible by one thread at a time.
(Tracking Issue: #89287, more details in the RFC referenced there)
Commit: 8fc68879badc2dc83e8b9a575992af285d4a1057
https://github.com/llvm/llvm-project/commit/8fc68879badc2dc83e8b9a575992af285d4a1057
Author: Ryosuke Niwa <rniwa at webkit.org>
Date: 2024-05-07 (Tue, 07 May 2024)
Changed paths:
M clang/lib/StaticAnalyzer/Checkers/WebKit/NoUncountedMembersChecker.cpp
Log Message:
-----------
Fix a typo in webkit.NoUncountedMemberChecker. (#91402)
Co-authored-by: Brianna Fan <bfan2 at apple.com>
Commit: ff0c5ccbe8879ccad9cb3548b69b114872c33ebb
https://github.com/llvm/llvm-project/commit/ff0c5ccbe8879ccad9cb3548b69b114872c33ebb
Author: Maksim Panchenko <maks at fb.com>
Date: 2024-05-07 (Tue, 07 May 2024)
Changed paths:
A bolt/test/runtime/bolt-reserved.cpp
Log Message:
-----------
[BOLT] Add a test for BOLT-reserved space in a binary (#91399)
Test case for #90300.
Commit: 54401b43494a57baae9d3663cd7c694b040ef01c
https://github.com/llvm/llvm-project/commit/54401b43494a57baae9d3663cd7c694b040ef01c
Author: Prathamesh Tagore <63031630+meshtag at users.noreply.github.com>
Date: 2024-05-07 (Tue, 07 May 2024)
Changed paths:
M mlir/lib/Dialect/MemRef/IR/MemRefOps.cpp
M mlir/test/Dialect/MemRef/invalid.mlir
Log Message:
-----------
[mlir][memref.expand_shape] Add verifier check to ensure correct output_shape is provided by user (#91245)
The verifier was not checking for the case when the user provided shape
in output_shape is different than the one inferred from output type. Fix
this.
Commit: c0d9efd35d6a44258466349a7ba3a10c693b8c9c
https://github.com/llvm/llvm-project/commit/c0d9efd35d6a44258466349a7ba3a10c693b8c9c
Author: Youngsuk Kim <youngsuk.kim at hpe.com>
Date: 2024-05-07 (Tue, 07 May 2024)
Changed paths:
M llvm/lib/Target/NVPTX/NVPTXInstrInfo.td
Log Message:
-----------
[llvm][NVPTX] Remove outdated comments (NFC) (#91409)
Commit: 3f37397c959a85f4cad91b655ea03a5d2450ab38
https://github.com/llvm/llvm-project/commit/3f37397c959a85f4cad91b655ea03a5d2450ab38
Author: Max Winkler <max.enrico.winkler at gmail.com>
Date: 2024-05-07 (Tue, 07 May 2024)
Changed paths:
M clang/docs/ReleaseNotes.rst
M clang/lib/CodeGen/MicrosoftCXXABI.cpp
A clang/test/CodeGen/x64-microsoft-arguments.cpp
Log Message:
-----------
[clang][CodeGen] Fix MSVC ABI for classes with a deleted copy assignment operator (#90547)
For global functions and static methods the MSVC ABI returns
structs/classes with a deleted copy assignment operator indirectly.
>From local testing this ABI holds true for all currently supported
architectures including ARM64EC.
Commit: 04d0a691af9e116f651d233c5689863f614d3adf
https://github.com/llvm/llvm-project/commit/04d0a691af9e116f651d233c5689863f614d3adf
Author: Fangrui Song <i at maskray.me>
Date: 2024-05-07 (Tue, 07 May 2024)
Changed paths:
M lld/ELF/Options.td
M lld/ELF/OutputSections.cpp
Log Message:
-----------
[ELF] Fix --compress-debug-sections=zstd when zlib is disabled
Commit: 77c5cea78eac3f20d0ba79f5892235e5aac82603
https://github.com/llvm/llvm-project/commit/77c5cea78eac3f20d0ba79f5892235e5aac82603
Author: Krystian Stasiowski <sdkrystian at gmail.com>
Date: 2024-05-07 (Tue, 07 May 2024)
Changed paths:
M clang/docs/ReleaseNotes.rst
M clang/lib/Sema/SemaInit.cpp
M clang/lib/Sema/SemaTemplateDeduction.cpp
M clang/test/CXX/drs/dr13xx.cpp
M clang/test/CXX/except/except.spec/p13.cpp
A clang/test/CXX/temp/temp.deduct/p7.cpp
M clang/test/SemaCXX/cxx1z-noexcept-function-type.cpp
M clang/test/SemaTemplate/temp_arg_type.cpp
Log Message:
-----------
[Clang][Sema] Explicit template arguments are not substituted into the exception specification of a function (#90760)
[temp.deduct.general] p6 states:
> At certain points in the template argument deduction process it is
necessary to take a function type that makes use of template parameters
and replace those template parameters with the corresponding template
arguments.
This is done at the beginning of template argument deduction when any
explicitly specified template arguments are substituted into the
function type, and again at the end of template argument deduction when
any template arguments that were deduced or obtained from default
arguments are substituted.
[temp.deduct.general] p7 goes on to say:
> The _deduction substitution loci_ are
> - the function type outside of the _noexcept-specifier_,
> - the explicit-specifier,
> - the template parameter declarations, and
> - the template argument list of a partial specialization
>
> The substitution occurs in all types and expressions that are used in
the deduction substitution loci. [...]
Consider the following:
```cpp
struct A
{
static constexpr bool x = true;
};
template<typename T, typename U>
void f(T, U) noexcept(T::x); // #1
template<typename T, typename U>
void f(T, U*) noexcept(T::y); // #2
template<>
void f<A>(A, int*) noexcept; // clang currently accepts, GCC and EDG reject
```
Currently, `Sema::SubstituteExplicitTemplateArguments` will substitute
into the _noexcept-specifier_ when deducing template arguments from a
function declaration or when deducing template arguments for taking the
address of a function template (and the substitution is treated as a
SFINAE context). In the above example, `#1` is selected as the primary
template because substitution of the explicit template arguments into
the _noexcept-specifier_ of `#2` failed, which resulted in the candidate
being ignored.
This behavior is incorrect ([temp.deduct.general] note 4 says as much), and
this patch corrects it by deferring all substitution into the
_noexcept-specifier_ until it is instantiated.
As part of the necessary changes to make this patch work, the
instantiation of the exception specification of a function template
specialization when taking the address of a function template is changed
to only occur for the function selected by overload resolution per
[except.spec] p13.1 (as opposed to being instantiated for every candidate).
Commit: d4cf20ca37160cb062a9db773d0e6255d6bbc31a
https://github.com/llvm/llvm-project/commit/d4cf20ca37160cb062a9db773d0e6255d6bbc31a
Author: Krystian Stasiowski <sdkrystian at gmail.com>
Date: 2024-05-07 (Tue, 07 May 2024)
Changed paths:
M clang-tools-extra/clangd/unittests/FindTargetTests.cpp
M clang-tools-extra/clangd/unittests/HoverTests.cpp
M clang/docs/ReleaseNotes.rst
M clang/lib/Sema/SemaTemplateInstantiateDecl.cpp
M clang/test/CXX/class/class.compare/class.compare.default/p4.cpp
Log Message:
-----------
[Clang][Sema] Don't set instantiated from function when rewriting operator<=> (#91339)
The following snippet causes a crash:
```
template<typename T>
struct A
{
bool operator<=>(const A&) const requires true = default;
};
bool f(A<int> a)
{
return a != A<int>();
}
```
This occurs because during the rewrite from `operator<=>` to
`operator==`, the "pattern" `operator<=>` function is set as the
instantiated from function for the newly created `operator==` function.
This is obviously incorrect, and this patch fixes it.
Commit: 83f3b1cb480b41e3347035aff14fd4bc2ba21d24
https://github.com/llvm/llvm-project/commit/83f3b1cb480b41e3347035aff14fd4bc2ba21d24
Author: Yinying Li <yinyingli at google.com>
Date: 2024-05-07 (Tue, 07 May 2024)
Changed paths:
M mlir/include/mlir/Dialect/SparseTensor/IR/SparseTensor.h
M mlir/include/mlir/Dialect/SparseTensor/IR/SparseTensorAttrDefs.td
M mlir/include/mlir/Dialect/SparseTensor/IR/SparseTensorType.h
M mlir/lib/Dialect/SparseTensor/IR/SparseTensorDialect.cpp
M mlir/test/Dialect/SparseTensor/invalid_encoding.mlir
Log Message:
-----------
[mlir][sparse] Add verification for explicit/implicit value (#90111)
1. Verify that the type of explicit/implicit values should be the same
as the tensor element type.
2. Verify that implicit value could only be zero.
3. Verify that explicit/implicit values should be numeric.
4. Fix the type change issue caused by SparseTensorType(enc).
Commit: 34ae2265e88c8a04350de5a244d0d888e74a8388
https://github.com/llvm/llvm-project/commit/34ae2265e88c8a04350de5a244d0d888e74a8388
Author: Krystian Stasiowski <sdkrystian at gmail.com>
Date: 2024-05-07 (Tue, 07 May 2024)
Changed paths:
M clang/docs/ReleaseNotes.rst
M clang/include/clang/Basic/DiagnosticSemaKinds.td
M clang/include/clang/Sema/Sema.h
M clang/lib/Sema/SemaConcept.cpp
M clang/lib/Sema/SemaOverload.cpp
M clang/lib/Sema/SemaTemplate.cpp
M clang/lib/Sema/SemaTemplateDeduction.cpp
M clang/lib/Sema/SemaTemplateInstantiate.cpp
A clang/test/CXX/temp/temp.spec/temp.expl.spec/p14-23.cpp
A clang/test/CXX/temp/temp.spec/temp.expl.spec/p8.cpp
Log Message:
-----------
[Clang][Sema] Improve support for explicit specializations of constrained member functions & member function templates (#88963)
Consider the following snippet from the discussion of CWG2847 on the core reflector:
```
template<typename T>
concept C = sizeof(T) <= sizeof(long);
template<typename T>
struct A
{
template<typename U>
void f(U) requires C<U>; // #1, declares a function template
void g() requires C<T>; // #2, declares a function
template<>
void f(char); // #3, an explicit specialization of a function template that declares a function
};
template<>
template<typename U>
void A<short>::f(U) requires C<U>; // #4, an explicit specialization of a function template that declares a function template
template<>
template<>
void A<int>::f(int); // #5, an explicit specialization of a function template that declares a function
template<>
void A<long>::g(); // #6, an explicit specialization of a function that declares a function
```
A number of problems exist:
- Clang rejects `#4` because the trailing _requires-clause_ has `U`
substituted with the wrong template parameter depth when
`Sema::AreConstraintExpressionsEqual` is called to determine whether it
matches the trailing _requires-clause_ of the implicitly instantiated
function template.
- Clang rejects `#5` because the function template specialization
instantiated from `A<int>::f` has a trailing _requires-clause_, but `#5`
does not (nor can it have one as it isn't a templated function).
- Clang rejects `#6` for the same reasons it rejects `#5`.
This patch resolves these issues by making the following changes:
- To fix `#4`, `Sema::AreConstraintExpressionsEqual` is passed
`FunctionTemplateDecl`s when comparing the trailing _requires-clauses_
of `#4` and the function template instantiated from `#1`.
- To fix `#5` and `#6`, the trailing _requires-clauses_ are not compared
for explicit specializations that declare functions.
In addition to these changes, `CheckMemberSpecialization` now considers
constraint satisfaction/constraint partial ordering when determining
which member function is specialized by an explicit specialization of a
member function for an implicit instantiation of a class template (we
previously would select the first function that has the same type as the
explicit specialization). With constraints taken under consideration, we
match EDG's behavior for these declarations.
Commit: 584253c4e2f788f870488fc32193b52d67ddaccc
https://github.com/llvm/llvm-project/commit/584253c4e2f788f870488fc32193b52d67ddaccc
Author: Benji Smith <6193112+Benjins at users.noreply.github.com>
Date: 2024-05-08 (Wed, 08 May 2024)
Changed paths:
M llvm/docs/ReleaseNotes.rst
M llvm/include/llvm-c/Core.h
M llvm/lib/IR/Core.cpp
M llvm/test/Bindings/llvm-c/echo.ll
M llvm/tools/llvm-c-test/echo.cpp
Log Message:
-----------
[C API] Add getters and build function for CallBr (#91154)
This adds LLVMBuildCallBr to create CallBr instructions, and getters for
the CallBr-specific data. The remainder of its data, e.g.
arguments/function, can be accessed using existing getters.
Commit: c4e5a8a4d3ef0948384d9411ea1e44fc113e5b5c
https://github.com/llvm/llvm-project/commit/c4e5a8a4d3ef0948384d9411ea1e44fc113e5b5c
Author: Aart Bik <ajcbik at google.com>
Date: 2024-05-07 (Tue, 07 May 2024)
Changed paths:
M mlir/lib/Dialect/SparseTensor/Transforms/SparseTensorCodegen.cpp
M mlir/lib/Dialect/SparseTensor/Transforms/SparseTensorRewriting.cpp
M mlir/test/Integration/Dialect/SparseTensor/CPU/sparse_pack_d.mlir
A mlir/test/Integration/Dialect/SparseTensor/CPU/sparse_print_3d.mlir
Log Message:
-----------
[mlir][sparse] support 'batch' dimensions in sparse_tensor.print (#91411)
Commit: 2dade0041a62b192e9bde24ae6bbe6208f027523
https://github.com/llvm/llvm-project/commit/2dade0041a62b192e9bde24ae6bbe6208f027523
Author: Jinsong Ji <jinsong.ji at intel.com>
Date: 2024-05-07 (Tue, 07 May 2024)
Changed paths:
M llvm/lib/CodeGen/Analysis.cpp
M llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp
A llvm/test/CodeGen/X86/tailcall-range.ll
Log Message:
-----------
[Analysis] Attribute Range should not prevent tail call optimization (#91122)
- Remove Range attr when comparing for tailcall
- Add test for testcall with range
Commit: 7098cd215b95286794d9e0c822e8323ad0509750
https://github.com/llvm/llvm-project/commit/7098cd215b95286794d9e0c822e8323ad0509750
Author: Nikita Popov <npopov at redhat.com>
Date: 2024-05-08 (Wed, 08 May 2024)
Changed paths:
M .github/CODEOWNERS
Log Message:
-----------
[NFC] Add myself as code owner for llvm/IR/Core.cpp
In practice I end up reviewing most changes to the C API.
Commit: d085b42cbbefe79a41113abcd2b1e1f2a203acef
https://github.com/llvm/llvm-project/commit/d085b42cbbefe79a41113abcd2b1e1f2a203acef
Author: Yingwei Zheng <dtcxzyw2333 at gmail.com>
Date: 2024-05-08 (Wed, 08 May 2024)
Changed paths:
M llvm/lib/Analysis/InstructionSimplify.cpp
M llvm/test/Transforms/InstCombine/icmp.ll
M llvm/test/Transforms/InstCombine/select.ll
M llvm/test/Transforms/PGOProfile/chr.ll
Log Message:
-----------
[InstSimplify] Do not simplify freeze in `simplifyWithOpReplaced` (#91215)
See the LangRef:
> All uses of a value returned by the same ‘freeze’ instruction are
guaranteed to always observe the same value, while different ‘freeze’
instructions may yield different values.
It is incorrect to replace freezes with the simplified value.
Proof:
https://alive2.llvm.org/ce/z/3Dn9Cd
https://alive2.llvm.org/ce/z/Qyh5h6
Fixes https://github.com/llvm/llvm-project/issues/91178
Commit: bb01b89cda71fe1594a87f81b3f3c01f66fcac59
https://github.com/llvm/llvm-project/commit/bb01b89cda71fe1594a87f81b3f3c01f66fcac59
Author: Ryosuke Niwa <rniwa at webkit.org>
Date: 2024-05-07 (Tue, 07 May 2024)
Changed paths:
M clang/lib/StaticAnalyzer/Checkers/WebKit/UncountedCallArgsChecker.cpp
M clang/lib/StaticAnalyzer/Checkers/WebKit/UncountedLocalVarsChecker.cpp
A clang/test/Analysis/Checkers/WebKit/mock-system-header.h
M clang/test/Analysis/Checkers/WebKit/uncounted-local-vars.cpp
M clang/test/Analysis/Checkers/WebKit/uncounted-members.cpp
M clang/test/Analysis/Checkers/WebKit/uncounted-obj-arg.cpp
Log Message:
-----------
[analyzer] Ignore system headers in WebKit checkers. (#91103)
Commit: 0af448b71116ae93eae1cb9c3121cb94be076fc3
https://github.com/llvm/llvm-project/commit/0af448b71116ae93eae1cb9c3121cb94be076fc3
Author: Menooker <yijie.mei at intel.com>
Date: 2024-05-08 (Wed, 08 May 2024)
Changed paths:
M mlir/include/mlir/Dialect/Bufferization/Transforms/Passes.h
M mlir/include/mlir/Dialect/Bufferization/Transforms/Passes.td
M mlir/lib/Dialect/Bufferization/Transforms/BufferResultsToOutParams.cpp
A mlir/test/Transforms/buffer-results-to-out-params-elim.mlir
Log Message:
-----------
[MLIR][Bufferization] BufferResultsToOutParams: Add an option to eliminate AllocOp and avoid Copy (#90011)
Add an option hoist-static-allocs to remove the unnecessary memref.alloc
and memref.copy after this pass, when the memref in ReturnOp is
allocated by memref.alloc and is statically shaped. Instead, it replaces
the uses of the allocated memref with the memref in the out argument.
By default, BufferResultsToOutParams will result in a memcpy operation
to copy the originally returned memref to the output argument memref.
This is inefficient when the source of memcpy (the returned memref in
the original ReturnOp) is from a local AllocOp. The pass can use the
output argument memref to replace the locally allocated memref for
better performance.hoist-static-allocs avoids dynamic allocation and
memory movement.
This option will be critical for performance-sensivtive applications,
which require BufferResultsToOutParams pass for a caller-owned output
buffer calling convension.
Commit: 1c8c2fdd289075d6ef448f60db9dd30caf7f78df
https://github.com/llvm/llvm-project/commit/1c8c2fdd289075d6ef448f60db9dd30caf7f78df
Author: Jie Fu <jiefu at tencent.com>
Date: 2024-05-08 (Wed, 08 May 2024)
Changed paths:
M mlir/lib/Dialect/Bufferization/Transforms/BufferResultsToOutParams.cpp
Log Message:
-----------
[mlir] Fix -Wdeprecated-declarations in BufferResultsToOutParams.cpp (NFC)
/llvm-project/mlir/lib/Dialect/Bufferization/Transforms/BufferResultsToOutParams.cpp:124:26:
error: 'cast' is deprecated: Use mlir::cast<U>() instead [-Werror,-Wdeprecated-declarations]
124 | orig.getType().cast<MemRefType>().hasStaticShape()) {
|
Commit: 31b45a9d0d91cc3a78446ee379abc6f2a3000065
https://github.com/llvm/llvm-project/commit/31b45a9d0d91cc3a78446ee379abc6f2a3000065
Author: Farzon Lotfi <1802579+farzonl at users.noreply.github.com>
Date: 2024-05-07 (Tue, 07 May 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/tan.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
M llvm/docs/LangRef.rst
M llvm/include/llvm/IR/Intrinsics.td
Log Message:
-----------
[clang][hlsl] Add tan intrinsic part 1 (#90276)
This change is an implementation of #87367's investigation on supporting
IEEE math operations as intrinsics.
Which was discussed in this RFC:
https://discourse.llvm.org/t/rfc-all-the-math-intrinsics/78294
If you want an overarching view of how this will all connect see:
https://github.com/llvm/llvm-project/pull/90088
Changes:
- `clang/docs/LanguageExtensions.rst` - Document the new elementwise tan
builtin.
- `clang/include/clang/Basic/Builtins.td` - Implement the tan builtin.
- `clang/lib/CodeGen/CGBuiltin.cpp` - invoke the tan intrinsic on uses
of the builtin
- `clang/lib/Headers/hlsl/hlsl_intrinsics.h` - Associate the tan builtin
with the equivalent hlsl apis
- `clang/lib/Sema/SemaChecking.cpp` - Add generic sema checks as well as
HLSL specifc sema checks to the tan builtin
- `llvm/include/llvm/IR/Intrinsics.td` - Create the tan intrinsic
- `llvm/docs/LangRef.rst` - Document the tan intrinsic
Commit: b438a817bd863699715116ee7d85b454f3289c08
https://github.com/llvm/llvm-project/commit/b438a817bd863699715116ee7d85b454f3289c08
Author: Jhonatan Cléto <52751492+cl3to at users.noreply.github.com>
Date: 2024-05-07 (Tue, 07 May 2024)
Changed paths:
M offload/plugins-nextgen/common/src/PluginInterface.cpp
M offload/src/omptarget.cpp
Log Message:
-----------
[Offload] Fix dataDelete op for TARGET_ALLOC_HOST memory type (#91134)
Summary:
The `GenericDeviceTy::dataDelete` method doesn't verify the
`TargetAllocTy` of the of the device pointer. Because of this, it can
use the `MemoryManager` to free the ptr. However, the
`TARGET_ALLOC_HOST` and `TARGET_ALLOC_SHARED` types are not allocated
using the `MemoryManager` in the `GenericDeviceTy::dataAlloc` method.
Since the `MemoryManager` uses the `DeviceAllocatorTy::free` operation
without specifying the type of the ptr, some plugins may use incorrect
operations to free ptrs of certain types. In particular, this bug causes
the CUDA plugin to use the `cuMemFree` operation on ptrs of type
`TARGET_ALLOC_HOST`, resulting in an unchecked error, as shown in the
output snippet of the test
`offload/test/api/omp_host_pinned_memory_alloc.c`:
```
omptarget --> Notifying about an unmapping: HstPtr=0x00007c6114200000
omptarget --> Call to llvm_omp_target_free_host for device 0 and address 0x00007c6114200000
omptarget --> Call to omp_get_num_devices returning 1
omptarget --> Call to omp_get_initial_device returning 1
PluginInterface --> MemoryManagerTy::free: target memory 0x00007c6114200000.
PluginInterface --> Cannot find its node. Delete it on device directly.
TARGET CUDA RTL --> Failure to free memory: Error in cuMemFree[Host]: invalid argument
omptarget --> omp_target_free deallocated device ptr
```
This patch fixes this by adding the check of the device pointer type
before calling the appropriate operation for each type.
Commit: f4d2f7a3b7984795d61ff45daf37c76bf3fc8604
https://github.com/llvm/llvm-project/commit/f4d2f7a3b7984795d61ff45daf37c76bf3fc8604
Author: Liao Chunyu <chunyu at iscas.ac.cn>
Date: 2024-05-08 (Wed, 08 May 2024)
Changed paths:
M llvm/lib/Target/RISCV/RISCVISelLowering.cpp
M llvm/lib/Target/RISCV/RISCVInstrInfo.cpp
M llvm/lib/Target/RISCV/RISCVInstrInfo.h
M llvm/lib/Target/RISCV/RISCVInstrInfoXCV.td
M llvm/lib/Target/RISCV/RISCVRedundantCopyElimination.cpp
A llvm/test/CodeGen/RISCV/xcvbi.ll
Log Message:
-----------
[RISCV] Codegen support for XCVbi extension (#89719)
spec:
https://github.com/openhwgroup/cv32e40p/blob/master/docs/source/instruction_set_extensions.rst#immediate-branching-operations
Contributors: @CharKeaney, @jeremybennett, @lewis-revill,
@NandniJamnadas,
@PaoloS02, @simonpcook, @xingmingjie, @realqhc, @PhilippvK, at melonedo
Commit: 48b6f4a18255816df51fcab7648c5a7f205dfe14
https://github.com/llvm/llvm-project/commit/48b6f4a18255816df51fcab7648c5a7f205dfe14
Author: Luke Lau <luke at igalia.com>
Date: 2024-05-08 (Wed, 08 May 2024)
Changed paths:
M llvm/test/CodeGen/RISCV/spill-fpr-scalar.ll
Log Message:
-----------
[RISCV] Rewrite spill-fpr-scalar.ll test to not use vsetvli. NFC (#91428)
It was relying on the fact that vsetvlis have side effects to prevent
reordering, but #91319 proposes to remove the side effects. This reworks
it to use volatile loads and stores instead.
Commit: 812c3025ec033ad1f306aff7f8b6e6695a79ee35
https://github.com/llvm/llvm-project/commit/812c3025ec033ad1f306aff7f8b6e6695a79ee35
Author: Thorsten Schütt <schuett at gmail.com>
Date: 2024-05-08 (Wed, 08 May 2024)
Changed paths:
M llvm/lib/Target/AArch64/GISel/AArch64LegalizerInfo.cpp
M llvm/test/CodeGen/AArch64/GlobalISel/legalize-ptr-add.mir
Log Message:
-----------
[GlobalIsel][AArch64] legalize ptr add (#89218)
LLVM ERROR: unable to legalize instruction: %275:_(<4 x p0>) = G_PTR_ADD
%268:_, %274:_(<4 x s64>) (in function: prepare_for_pass)
Commit: 2c209957819328481554e7c5929d134502b4972a
https://github.com/llvm/llvm-project/commit/2c209957819328481554e7c5929d134502b4972a
Author: Craig Topper <craig.topper at sifive.com>
Date: 2024-05-07 (Tue, 07 May 2024)
Changed paths:
M llvm/include/llvm/TargetParser/RISCVISAInfo.h
M llvm/lib/TargetParser/RISCVISAInfo.cpp
M llvm/unittests/TargetParser/RISCVISAInfoTest.cpp
Log Message:
-----------
[RISCV] Detect duplicate extensions in parseNormalizedArchString. (#91416)
This detects the same extension name being added twice. Mostly I'm
worried about the case that the same string appears with two different
versions. We will only preserve one of the versions.
We could allow the same version to be repeated, but that doesn't seem
useful at the moment.
I've updated addExtension to use map::emplace instead of
map::operator[]. This means we only keep the first version if there are
duplicates. Previously we kept the last version, but that shouldn't matter
now that we don't allow duplicates. parseArchString already doesn't allow
duplicates.
Commit: 85ef6b7c364f3b57c13c179bf278fe47366287a2
https://github.com/llvm/llvm-project/commit/85ef6b7c364f3b57c13c179bf278fe47366287a2
Author: Farzon Lotfi <1802579+farzonl at users.noreply.github.com>
Date: 2024-05-08 (Wed, 08 May 2024)
Changed paths:
M llvm/lib/Target/DirectX/DXIL.td
A llvm/test/CodeGen/DirectX/tan.ll
A llvm/test/CodeGen/DirectX/tan_error.ll
Log Message:
-----------
[DXIL] Add tan intrinsic part 2 (#90277)
This change is an implementation of #87367's investigation on supporting
IEEE math operations as intrinsics.
Which was discussed in this RFC:
https://discourse.llvm.org/t/rfc-all-the-math-intrinsics/78294
If you want an overarching view of how this will all connect see:
https://github.com/llvm/llvm-project/pull/90088
Changes:
- `llvm/include/llvm/IR/Intrinsics.td` - Create the tan intrinsic
- `llvm/lib/Target/DirectX/DXIL.td` - Map `int_tan` (the tan intrinsic)
to the equivalent DXIL Op.
Commit: ef84452571b8e8f4a38a173e6adf6a5ecbbde97e
https://github.com/llvm/llvm-project/commit/ef84452571b8e8f4a38a173e6adf6a5ecbbde97e
Author: Craig Topper <craig.topper at sifive.com>
Date: 2024-05-07 (Tue, 07 May 2024)
Changed paths:
M llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
M llvm/test/CodeGen/AArch64/pr90936.ll
Log Message:
-----------
[DAGCombiner] Be more careful about looking through extends and truncates in mergeTruncStores. (#91375)
Previously we recursively looked through extends and truncates on both
SourceValue and WideVal.
SourceValue is the largest source found for each of the stores we are
combining. WideVal is the source for the current store.
Previously we could incorrectly look through a (zext (trunc X)) pair and
incorrectly believe X to be a good source.
I think we could also look through a zext on one store and a sext on
another store and arbitrarily pick one of the extends as the final
source.
With this patch we only look through one level of extend or truncate.
And we don't look through extends/truncs on both SourceValue and WideVal
at the same time.
This may lose some optimization cases, but keeps everything we had tests
for.
Fixes #90936.
Commit: 0d93b01c3b1e2e543acec3f36db639b8b7b0b20d
https://github.com/llvm/llvm-project/commit/0d93b01c3b1e2e543acec3f36db639b8b7b0b20d
Author: Craig Topper <craig.topper at sifive.com>
Date: 2024-05-07 (Tue, 07 May 2024)
Changed paths:
M llvm/lib/Support/RISCVISAUtils.cpp
M llvm/unittests/TargetParser/RISCVISAInfoTest.cpp
Log Message:
-----------
[RISCV] Don't crash if parseNormalizedArchString encounters a multi-letter extension with an unknown prefix. (#91398)
The sorting code previously asserted if a prefix was multiple letters,
but didn't start with s, x, or z.
Replace the assert with an explicit check and sort the multi-letter
extension after the known multi-letter prefixes.
Commit: 8296f061aafb844bf3b9b002b7791ade7a1d3006
https://github.com/llvm/llvm-project/commit/8296f061aafb844bf3b9b002b7791ade7a1d3006
Author: Luke Lau <luke at igalia.com>
Date: 2024-05-08 (Wed, 08 May 2024)
Changed paths:
M llvm/lib/Target/RISCV/RISCVInsertVSETVLI.cpp
Log Message:
-----------
[RISCV] Add invariants that registers always have definitions. NFC (#90587)
For vector merge operands, we check if it's a NoRegister beforehand so
any other register type should have a definition.
For VL operands, they don't get replaced with NoRegisters since they're
scalar and should also always have a definition, even if it's an
implicit_def.
All the definitions at this stage should also be unique, this will
change in #70549
Commit: 3e82442ff7288b4c41bb77888bc2cfea2c34d6ee
https://github.com/llvm/llvm-project/commit/3e82442ff7288b4c41bb77888bc2cfea2c34d6ee
Author: Farzon Lotfi <1802579+farzonl at users.noreply.github.com>
Date: 2024-05-08 (Wed, 08 May 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/tan.ll
Log Message:
-----------
[SPIRV] Add tan intrinsic part 3 (#90278)
This change is an implementation of #87367's investigation on supporting
IEEE math operations as intrinsics.
Which was discussed in this RFC:
https://discourse.llvm.org/t/rfc-all-the-math-intrinsics/78294
If you want an overarching view of how this will all connect see:
https://github.com/llvm/llvm-project/pull/90088
Changes:
- `llvm/docs/GlobalISel/GenericOpcode.rst` - Document the `G_FTAN`
opcode
- `llvm/include/llvm/IR/Intrinsics.td` - Create the tan intrinsic
- `llvm/include/llvm/Support/TargetOpcodes.def` - Create a `G_FTAN`
Opcode handler
- `llvm/include/llvm/Target/GenericOpcodes.td` - Define the `G_FTAN`
Opcode
- `llvm/lib/CodeGen/GlobalISel/IRTranslator.cpp` Map the tan intrinsic
to `G_FTAN` Opcode
- `llvm/lib/Target/SPIRV/SPIRVInstructionSelector.cpp` - Map the
`G_FTAN` opcode to the GLSL 4.5 and openCL tan instructions.
- `llvm/lib/Target/SPIRV/SPIRVLegalizerInfo.cpp` - Define `G_FTAN` as a
legal spirv target opcode.
Commit: 084e2b53d22c11e013b0a495b65d39aa7f934048
https://github.com/llvm/llvm-project/commit/084e2b53d22c11e013b0a495b65d39aa7f934048
Author: Christian Ulmann <christianulmann at gmail.com>
Date: 2024-05-08 (Wed, 08 May 2024)
Changed paths:
M mlir/include/mlir/Interfaces/MemorySlotInterfaces.td
M mlir/include/mlir/Transforms/Mem2Reg.h
M mlir/include/mlir/Transforms/SROA.h
M mlir/lib/Dialect/LLVMIR/IR/LLVMMemorySlot.cpp
M mlir/lib/Dialect/MemRef/IR/MemRefMemorySlot.cpp
M mlir/lib/Transforms/Mem2Reg.cpp
M mlir/lib/Transforms/SROA.cpp
Log Message:
-----------
[MLIR][Interfaces] Change MemorySlotInterface to use OpBuilder (#91341)
This commit changes the `MemorySlotInterface` back to using `OpBuilder`
instead of a rewriter. This was originally introduced in
https://reviews.llvm.org/D150432 but it was shown that patterns are a
bad idea for both Mem2Reg and SROA.
Mem2Reg suffers from the usage of a rewriter due to being forced to
create new basic blocks. This is an issue, as it leads to the
invalidation of the dominance information, which can be expensive to
recompute.
Commit: a99ce615f19fec6fbb835490b89f53cba3cf9eff
https://github.com/llvm/llvm-project/commit/a99ce615f19fec6fbb835490b89f53cba3cf9eff
Author: jyu2-git <jennifer.yu at intel.com>
Date: 2024-05-07 (Tue, 07 May 2024)
Changed paths:
M clang/include/clang/Basic/DiagnosticParseKinds.td
M clang/lib/Parse/ParseOpenMP.cpp
M clang/test/OpenMP/target_ast_print.cpp
M clang/test/OpenMP/target_map_messages.cpp
Log Message:
-----------
Revert "Revert "[OpenMP][TR12] change property of map-type modifier."… (#91141)
… (#90885)"
This reverts commit eea81aa29848361eb5b24f24d2af643fdeb9adfd.
Also change isMapType as @vitalybuka suggested. Hope this fix sanitizer
build problem.
Commit: 8755d24cb34b902557469445e1983850e0ce7cc7
https://github.com/llvm/llvm-project/commit/8755d24cb34b902557469445e1983850e0ce7cc7
Author: Mircea Trofin <mtrofin at google.com>
Date: 2024-05-07 (Tue, 07 May 2024)
Changed paths:
M compiler-rt/lib/ctx_profile/tests/CtxInstrProfilingTest.cpp
Log Message:
-----------
[compiler-rt][ctx_profile] Fix signed-ness warnings in test
Follow-up from PR ##89838. Some build bots warn-as-error
about signed/unsigned comparison in CtxInstrProfilingTest.
Example: https://lab.llvm.org/buildbot/#/builders/37/builds/34610
Commit: 23ae482bd01d7c966f871ddd620e9a26d6d66299
https://github.com/llvm/llvm-project/commit/23ae482bd01d7c966f871ddd620e9a26d6d66299
Author: martinboehme <mboehme at google.com>
Date: 2024-05-08 (Wed, 08 May 2024)
Changed paths:
M clang/include/clang/Analysis/FlowSensitive/DataflowAnalysis.h
M clang/include/clang/Analysis/FlowSensitive/DataflowAnalysisContext.h
M clang/lib/Analysis/FlowSensitive/DataflowAnalysisContext.cpp
Log Message:
-----------
[clang][dataflow] Allow `DataflowAnalysisContext` to use a non-owned `Solver`. (#91316)
For some callers (see change in DataflowAnalysis.h), this is more
convenient.
Commit: e44600f3ab58b0e93a2a80f18e17181c2bc007a4
https://github.com/llvm/llvm-project/commit/e44600f3ab58b0e93a2a80f18e17181c2bc007a4
Author: Freddy Ye <freddy.ye at intel.com>
Date: 2024-05-08 (Wed, 08 May 2024)
Changed paths:
M clang/lib/Basic/Targets/X86.cpp
A clang/test/CodeGen/X86/inline-asm-gcc-regs.c
Log Message:
-----------
[X86][CFE] Support EGPR in GCCRegNames. (#91323)
Commit: bbd6a2d85c44d99e66b471d251a742f7551a0c61
https://github.com/llvm/llvm-project/commit/bbd6a2d85c44d99e66b471d251a742f7551a0c61
Author: Luke Lau <luke at igalia.com>
Date: 2024-05-08 (Wed, 08 May 2024)
Changed paths:
M llvm/lib/Target/RISCV/RISCVISelDAGToDAG.cpp
M llvm/lib/Target/RISCV/RISCVInsertVSETVLI.cpp
M llvm/test/CodeGen/RISCV/rvv/rv32-spill-zvlsseg.ll
M llvm/test/CodeGen/RISCV/rvv/rv64-spill-zvlsseg.ll
M llvm/test/CodeGen/RISCV/rvv/vleff-vlseg2ff-output.ll
Log Message:
-----------
[RISCV] Convert implicit_def tuples to noreg in post-isel peephole (#91173)
If a segmented load has an undefined passthru then it will be selected
as a reg_sequence with implicit_def operands, which currently slips
through the implicit_def -> noreg peephole.
This patch fixes this so we're able to infer if the passthru is
undefined without the need for looking through vreg definitions with
MachineRegisterInfo, which will help with moving RISCVInsertVSETVLI to
LiveIntervals in #70549
Commit: 81d304566b3b22781ca42303ec534bdc0ac5418c
https://github.com/llvm/llvm-project/commit/81d304566b3b22781ca42303ec534bdc0ac5418c
Author: Luke Lau <luke at igalia.com>
Date: 2024-05-08 (Wed, 08 May 2024)
Changed paths:
M llvm/lib/Target/RISCV/RISCVInsertVSETVLI.cpp
Log Message:
-----------
[RISCV] Remove unused arg in getDemanded in RISCVInsertVSETVLI. NFC
Commit: bafbe39778a972d0f2869980de22fb00c03a6a35
https://github.com/llvm/llvm-project/commit/bafbe39778a972d0f2869980de22fb00c03a6a35
Author: Adrian Kuegel <akuegel at google.com>
Date: 2024-05-08 (Wed, 08 May 2024)
Changed paths:
M llvm/lib/Target/NVPTX/NVPTXISelLowering.cpp
M llvm/lib/Target/NVPTX/NVPTXIntrinsics.td
A llvm/test/CodeGen/NVPTX/atomics-sm90.ll
Log Message:
-----------
[NVPTX] Add support for atomic add for bf16 type (#89586)
atom.add.noftz.bf16 is supported since SM 9.0 and PTX 7.8
Commit: 3aba4b5b4fe1634fc6f9919f987ddf1bb5a57813
https://github.com/llvm/llvm-project/commit/3aba4b5b4fe1634fc6f9919f987ddf1bb5a57813
Author: Nikolas Klauser <nikolasklauser at berlin.de>
Date: 2024-05-08 (Wed, 08 May 2024)
Changed paths:
M libcxx/include/__functional/is_transparent.h
M libcxx/include/map
M libcxx/include/set
M libcxx/include/unordered_map
M libcxx/include/unordered_set
Log Message:
-----------
[libc++][NFC] Refactor __is_transparent to be a variable template (#90865)
Commit: 9ef28cf88ca6e45c3ecb75c649463f8797db68d2
https://github.com/llvm/llvm-project/commit/9ef28cf88ca6e45c3ecb75c649463f8797db68d2
Author: Ramkumar Ramachandra <r at artagnon.com>
Date: 2024-05-08 (Wed, 08 May 2024)
Changed paths:
A llvm/test/Transforms/VectorCombine/pr88796.ll
Log Message:
-----------
VectorCombine: add test for crash #88796 (#91200)
Commit: 57b9c15227ec15a5e2abf4587d7d0ad536cff9e6
https://github.com/llvm/llvm-project/commit/57b9c15227ec15a5e2abf4587d7d0ad536cff9e6
Author: Ramkumar Ramachandra <r at artagnon.com>
Date: 2024-05-08 (Wed, 08 May 2024)
Changed paths:
M llvm/lib/Transforms/Vectorize/VectorCombine.cpp
M llvm/test/Transforms/VectorCombine/pr88796.ll
Log Message:
-----------
VectorCombine: fix logical error after m_Trunc match (#91201)
The matcher m_Trunc() matches an Operator with a given Opcode, which
could either be an Instruction or ConstExpr.
VectorCombine::foldTruncFromReductions() incorrectly assumes that the
pattern matched is always an Instruction, and attempts a cast. Fix this.
Fixes #88796.
Commit: 746bf297e2f0f637d2e1c197bf04a32ab04b669a
https://github.com/llvm/llvm-project/commit/746bf297e2f0f637d2e1c197bf04a32ab04b669a
Author: Kiran Chandramohan <kiran.chandramohan at arm.com>
Date: 2024-05-08 (Wed, 08 May 2024)
Changed paths:
M flang/lib/Semantics/check-omp-structure.cpp
M flang/test/Semantics/OpenMP/do08.f90
Log Message:
-----------
[Flang][OpenMP] Add checks for EXIT from associated loops (#91315)
Extend the checker that deals with CYCLE to handle EXIT also. The
difference for EXIT is that it is not allowed to EXIT from the innermost
associated loops while it is OK to CYCLE in the innermost associated
loop. Also add an incrementer on leaving the DO loop for EXIT checks.
Commit: 602df270a9bfcb52980a93c85eb615c0d91eba0c
https://github.com/llvm/llvm-project/commit/602df270a9bfcb52980a93c85eb615c0d91eba0c
Author: Kiran Chandramohan <kiran.chandramohan at arm.com>
Date: 2024-05-08 (Wed, 08 May 2024)
Changed paths:
M clang/include/clang/Driver/Options.td
M clang/lib/Driver/ToolChains/Flang.cpp
M flang/include/flang/Frontend/CompilerInvocation.h
M flang/lib/Frontend/CompilerInvocation.cpp
A flang/test/Driver/w-option.f90
Log Message:
-----------
[Flang] RFC: Add support for -w option 1/n (#90420)
Add support for the -w option to switch OFF all Flang
warnings. This patch only supports switching OFF the
frontend warnings.
TODO : Support for MLIR, LLVM and Driver warnings.
TODO : Support interactions between -w, -pedantic, -Wall
Commit: 1a498103ee5c4d101e70dc49db11938d8b87b518
https://github.com/llvm/llvm-project/commit/1a498103ee5c4d101e70dc49db11938d8b87b518
Author: Benjamin Maxwell <benjamin.maxwell at arm.com>
Date: 2024-05-08 (Wed, 08 May 2024)
Changed paths:
M mlir/test/Conversion/ArmSMEToLLVM/arm-sme-to-llvm.mlir
M mlir/test/Conversion/ArmSMEToLLVM/unsupported.mlir
M mlir/test/Conversion/ArmSMEToSCF/arm-sme-to-scf.mlir
A mlir/test/Dialect/ArmSME/basic-tile-allocation.mlir
M mlir/test/Dialect/ArmSME/enable-arm-za.mlir
M mlir/test/Dialect/ArmSME/outer-product-fusion.mlir
R mlir/test/Dialect/ArmSME/tile-allocation.mlir
M mlir/test/Dialect/ArmSME/tile-zero-masks.mlir
Log Message:
-----------
[mlir][ArmSME][test] Prepare tests for tile allocation changes (#91358)
This patch:
1. Removes some duplicate test cases
2. Removes unnecessary uses of `-convert-arm-sme-to-llvm`
3. Ensures tile values have uses via `test.some_use()`
1 and 2 will make these tests easier to update. 3 will be needed as
ArmSME operations will be pure.
Commit: dd4bf22b9380e797362fac1415a1796da338b2db
https://github.com/llvm/llvm-project/commit/dd4bf22b9380e797362fac1415a1796da338b2db
Author: Simon Pilgrim <llvm-dev at redking.me.uk>
Date: 2024-05-08 (Wed, 08 May 2024)
Changed paths:
M llvm/lib/Target/X86/X86ISelLowering.cpp
M llvm/test/CodeGen/X86/vector-shuffle-256-v4.ll
M llvm/test/CodeGen/X86/vector-shuffle-combining-avx.ll
Log Message:
-----------
[X86] combineBlendOfPermutes - don't introduce lane-crossing permutes without AVX2 support.
Fixes #91433
Commit: 8f21294897befee48f9f72734ea1b0ad4c920aa0
https://github.com/llvm/llvm-project/commit/8f21294897befee48f9f72734ea1b0ad4c920aa0
Author: YunQiang Su <syq at debian.org>
Date: 2024-05-08 (Wed, 08 May 2024)
Changed paths:
M lld/test/ELF/mips-eh_frame-pic.s
M llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp
M llvm/lib/MC/MCObjectFileInfo.cpp
M llvm/test/CodeGen/Mips/ehframe-indirect.ll
M llvm/test/DebugInfo/Mips/eh_frame.ll
M llvm/test/MC/Mips/eh-frame.s
Log Message:
-----------
MIPS: Use pcrel|sdata4 for eh_frame (#91291)
Gas uses encoding DW_EH_PE_absptr for PIC, and gnu ld converts it to
DW_EH_PE_sdata4|DW_EH_PE_pcrel.
LLD doesn't have this workarounding, thus complains
```
relocation R_MIPS_32 cannot be used against local symbol; recompile with -fPIC
relocation R_MIPS_64 cannot be used against local symbol; recompile with -fPIC
```
So, let's generates asm/obj files with `DW_EH_PE_sdata4|DW_EH_PE_pcrel`
encoding. In fact, GNU ld supports such OBJs well.
For N64, maybe we should use sdata8, while GNU ld doesn't support it
well, and in fact sdata4 is enough now. So we just ignore the `Large`
for `MCObjectFileInfo::initELFMCObjectFileInfo`. Maybe we should switch
back to sdata8 once GNU LD supports it well.
Fixes: #58377.
Commit: df311a27629618f6ba645bfe3f46e981000cb5da
https://github.com/llvm/llvm-project/commit/df311a27629618f6ba645bfe3f46e981000cb5da
Author: Aleksandr Popov <42888396+aleks-tmb at users.noreply.github.com>
Date: 2024-05-08 (Wed, 08 May 2024)
Changed paths:
M llvm/include/llvm/IR/InstrTypes.h
M llvm/lib/CodeGen/GlobalISel/IRTranslator.cpp
M llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
M llvm/lib/Transforms/Scalar/RewriteStatepointsForGC.cpp
Log Message:
-----------
Add interface to check if a call has a deopt bundle (NFC) (#91348)
Encapsulate check that a call has a deopt bundle to make it easier to
change the deopt scheme.
Commit: d4fef93724e290a82d498f0d8df1a84a5ff50ab3
https://github.com/llvm/llvm-project/commit/d4fef93724e290a82d498f0d8df1a84a5ff50ab3
Author: Benjamin Kramer <benny.kra at googlemail.com>
Date: 2024-05-08 (Wed, 08 May 2024)
Changed paths:
M utils/bazel/llvm-project-overlay/libc/BUILD.bazel
Log Message:
-----------
[bazel][libc] Split up mutex libraries like ab3a9e724d87a4272782f76b90fb0872a6a86939 did
Commit: aefad851672e6dd17592895066a39aa5b388e5db
https://github.com/llvm/llvm-project/commit/aefad851672e6dd17592895066a39aa5b388e5db
Author: Kadir Cetinkaya <kadircet at google.com>
Date: 2024-05-08 (Wed, 08 May 2024)
Changed paths:
M clang-tools-extra/clangd/Preamble.cpp
Log Message:
-----------
[clangd] Fix data race surfaced in clangd-tsan buildbot
We can have concurrent accesses to same PreambleData (e.g.
code-completion and ast-builds). Hence we need to
deep copy TargetOpts.
Commit: 341aecc2dd0f6debcbe9f251a6d2e8a60d327eea
https://github.com/llvm/llvm-project/commit/341aecc2dd0f6debcbe9f251a6d2e8a60d327eea
Author: Weaver <Tom.Weaver at sony.com>
Date: 2024-05-08 (Wed, 08 May 2024)
Changed paths:
M clang/include/clang/Basic/DiagnosticParseKinds.td
M clang/lib/Parse/ParseOpenMP.cpp
M clang/test/OpenMP/target_ast_print.cpp
M clang/test/OpenMP/target_map_messages.cpp
Log Message:
-----------
Revert "Revert "Revert "[OpenMP][TR12] change property of map-type modifier."… (#91141)"
This reverts commit a99ce615f19fec6fbb835490b89f53cba3cf9eff.
Caused test failure on following buildbot:
https://lab.llvm.org/buildbot/#/builders/139/builds/65066
Commit: 927913fac74b671b5202eb00a52907d8445c7691
https://github.com/llvm/llvm-project/commit/927913fac74b671b5202eb00a52907d8445c7691
Author: Harald van Dijk <harald.vandijk at codeplay.com>
Date: 2024-05-08 (Wed, 08 May 2024)
Changed paths:
M llvm/lib/Transforms/Utils/ValueMapper.cpp
Log Message:
-----------
[RemoveDIs] Fix remapping of DbgLabelRecords. (#91447)
We already remapped DILocations for DbgVariableRecords, but
DbgLabelRecords have debug locations too that need to be mapped the same
way.
Commit: 19220110acf5ed5cf8be035b7e4a7aed69f0adb1
https://github.com/llvm/llvm-project/commit/19220110acf5ed5cf8be035b7e4a7aed69f0adb1
Author: Felix (Ting Wang) <Ting.Wang.SH at ibm.com>
Date: 2024-05-08 (Wed, 08 May 2024)
Changed paths:
M llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
M llvm/lib/Target/PowerPC/PPCISelDAGToDAG.cpp
M llvm/test/CodeGen/PowerPC/aix-small-local-dynamic-tls-largeaccess.ll
M llvm/test/CodeGen/PowerPC/aix-small-local-dynamic-tls-types.ll
Log Message:
-----------
[PowerPC][AIX] Refactor existing logic to handle non-zero offsets for aix-small-local-dynamic-tls (#89182)
To enable optimized small local-dynamic access sequence for non-zero
offsets, this patch refactors existing
2a50921553798d2db52ca6330c89f0f8a5bc2215.
Commit: 6fa09616da7436f85eb7e1e1fd74e1ac078ddb0d
https://github.com/llvm/llvm-project/commit/6fa09616da7436f85eb7e1e1fd74e1ac078ddb0d
Author: Donát Nagy <donat.nagy at ericsson.com>
Date: 2024-05-08 (Wed, 08 May 2024)
Changed paths:
M clang/lib/StaticAnalyzer/Checkers/MIGChecker.cpp
Log Message:
-----------
[analyzer] Use explicit call description mode in MIGChecker (#91331)
This commit explicitly specifies the matching mode (C library function,
any non-method function, or C++ method) for the `CallDescription`s
constructed in the checker `osx.MIG`.
The code was simplified to use a `CallDescriptionMap` instead of a raw
vector of pairs.
This change won't cause major functional changes, but isn't NFC because
it ensures that e.g. call descriptions for a non-method function won't
accidentally match a method that has the same name.
Separate commits have already performed this change in other checkers:
- easy cases: e2f1cbae45f81f3cd9a4d3c2bcf69a094eb060fa,
6d64f8e1feee014e72730a78b62d9d415df112ff
- MallocChecker: d6d84b5d1448e4f2e24b467a0abcf42fe9d543e9
- iterator checkers: 06eedffe0d2782922e63cc25cb927f4acdaf7b30
- InvalidPtr checker: 024281d4d26344f9613b9115ea1fcbdbdba23235
- apiModeling.llvm.ReturnValue: 97dd8e3c4f38ef345b01fbbf0a2052c7875ff7e0
... and follow-up commits will handle the remaining few checkers.
My goal is to ensure that the call description mode is always explicitly
specified and eliminate (or strongly restrict) the vague "may be either
a method or a simple function" mode that's the current default.
Commit: 943617d12ccbd3cf317f0bbec03d9efc700f3953
https://github.com/llvm/llvm-project/commit/943617d12ccbd3cf317f0bbec03d9efc700f3953
Author: Aaron Ballman <aaron at aaronballman.com>
Date: 2024-05-08 (Wed, 08 May 2024)
Changed paths:
M clang/lib/CodeGen/CGExprAgg.cpp
Log Message:
-----------
Typo fix; NFC
Commit: c5509fedc5757fffece385d9d068e36b26793ade
https://github.com/llvm/llvm-project/commit/c5509fedc5757fffece385d9d068e36b26793ade
Author: Xiang Li <python3kgae at outlook.com>
Date: 2024-05-08 (Wed, 08 May 2024)
Changed paths:
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/DiagnosticParseKinds.td
M clang/include/clang/Basic/DiagnosticSemaKinds.td
M clang/lib/Parse/ParseHLSL.cpp
M clang/lib/Sema/SemaDeclAttr.cpp
M clang/lib/Sema/SemaHLSL.cpp
A clang/test/AST/HLSL/packoffset.hlsl
A clang/test/SemaHLSL/packoffset-invalid.hlsl
Log Message:
-----------
[HLSL] Support packoffset attribute in AST (#89836)
Add HLSLPackOffsetAttr to save packoffset in AST.
Since we have to parse the attribute manually in ParseHLSLAnnotations,
we could create the ParsedAttribute with a integer offset parameter
instead of string. This approach avoids parsing the string if the offset
is saved as a string in HLSLPackOffsetAttr.
For #57914.
Commit: 737e0bcfe344bd9a8c4e4c3c2e80fdbe93bfaafb
https://github.com/llvm/llvm-project/commit/737e0bcfe344bd9a8c4e4c3c2e80fdbe93bfaafb
Author: Thorsten Schütt <schuett at gmail.com>
Date: 2024-05-08 (Wed, 08 May 2024)
Changed paths:
M llvm/include/llvm/CodeGen/GlobalISel/CombinerHelper.h
M llvm/include/llvm/CodeGen/GlobalISel/GenericMachineInstrs.h
M llvm/include/llvm/CodeGen/GlobalISel/MachineIRBuilder.h
M llvm/include/llvm/Target/GlobalISel/Combine.td
M llvm/lib/CodeGen/GlobalISel/CombinerHelper.cpp
M llvm/lib/CodeGen/GlobalISel/GISelKnownBits.cpp
M llvm/lib/CodeGen/GlobalISel/MachineIRBuilder.cpp
A llvm/test/CodeGen/AArch64/GlobalISel/combine-with-flags.mir
Log Message:
-----------
[GlobalIsel] combine ext of trunc with flags (#87115)
https://github.com/llvm/llvm-project/pull/85592
https://discourse.llvm.org/t/rfc-add-nowrap-flags-to-trunc/77453
https://github.com/llvm/llvm-project/pull/88609
Commit: db4cf7c0fc713c09bbe10dd2be4a3d0fb081014c
https://github.com/llvm/llvm-project/commit/db4cf7c0fc713c09bbe10dd2be4a3d0fb081014c
Author: Renato Golin <rengolin at systemcall.eu>
Date: 2024-05-08 (Wed, 08 May 2024)
Changed paths:
M .github/CODEOWNERS
Log Message:
-----------
Update CODEOWNERS
Adding myself to linalg dialect
Commit: c84c74e67839a5207d7c6318fc37e607f088a994
https://github.com/llvm/llvm-project/commit/c84c74e67839a5207d7c6318fc37e607f088a994
Author: Paul Walker <paul.walker at arm.com>
Date: 2024-05-08 (Wed, 08 May 2024)
Changed paths:
M llvm/test/CodeGen/AArch64/sve-extract-fixed-from-scalable-vector.ll
Log Message:
-----------
[LLVM][CodeGen][SVE] Add tests for vector extracts from unpacked types.
Commit: 686a206b2665b6ba9245980489daa79dc8547079
https://github.com/llvm/llvm-project/commit/686a206b2665b6ba9245980489daa79dc8547079
Author: Nabeel Omer <nabeel.omer at sony.com>
Date: 2024-05-08 (Wed, 08 May 2024)
Changed paths:
M llvm/lib/Transforms/IPO/SampleProfile.cpp
A llvm/test/Transforms/SampleProfile/Inputs/overflow.proftext
A llvm/test/Transforms/SampleProfile/overflow.ll
Log Message:
-----------
[SampleProfileLoader] Fix integer overflow in generateMDProfMetadata (#90217)
This patch fixes an integer overflow in the SampleProfileLoader pass.
The issue occurs when weights are saturated and Profi isn't being used.
This patch also adds a newline to a debug message to make it more
readable.
Commit: 3ceacd8b9567a25308f7aaa73d266ee3b4c6ab5f
https://github.com/llvm/llvm-project/commit/3ceacd8b9567a25308f7aaa73d266ee3b4c6ab5f
Author: Paul T Robinson <paul.robinson at sony.com>
Date: 2024-05-08 (Wed, 08 May 2024)
Changed paths:
M clang/test/CodeGenCoroutines/coro-dwarf.cpp
Log Message:
-----------
[Coro] Relax a debug-info test (#91401)
Debug-info metadata does not have a strictly defined order. Check that
elements are linked to each other correctly, not that metadata appears
in a particular order.
Commit: 665af09a86b8d80af33f170fca89ced9986cf1e5
https://github.com/llvm/llvm-project/commit/665af09a86b8d80af33f170fca89ced9986cf1e5
Author: Xiang Li <python3kgae at outlook.com>
Date: 2024-05-08 (Wed, 08 May 2024)
Changed paths:
M llvm/include/llvm/TargetParser/Triple.h
M llvm/lib/Target/DirectX/DXILMetadata.cpp
M llvm/lib/Target/DirectX/DXILMetadata.h
M llvm/lib/Target/DirectX/DXILTranslateMetadata.cpp
M llvm/lib/TargetParser/Triple.cpp
A llvm/test/CodeGen/DirectX/Metadata/dxilVer-1.0.ll
A llvm/test/CodeGen/DirectX/Metadata/dxilVer-1.8.ll
M llvm/unittests/TargetParser/TripleTest.cpp
Log Message:
-----------
[DirectX backend] emits metadata for DXIL version. (#88350)
Emit named metadata "dx.version" for DXIL version.
Default to DXIL 1.0
Commit: 40b322baef143df271d8b9142028aaeeec2a4d78
https://github.com/llvm/llvm-project/commit/40b322baef143df271d8b9142028aaeeec2a4d78
Author: Florian Hahn <flo at fhahn.com>
Date: 2024-05-08 (Wed, 08 May 2024)
Changed paths:
M llvm/test/Analysis/ScalarEvolution/backedge-taken-count-guard-info.ll
A llvm/test/Transforms/IndVarSimplify/trip-count-expansion-loop-guard-preserve-nsw.ll
Log Message:
-----------
[SCEV] Add tests for missed NSW preservation during loop guard handling.
Add test coverage for missed simplification.
Commit: f97f04ec4392c79163179331211ea8c48e61799b
https://github.com/llvm/llvm-project/commit/f97f04ec4392c79163179331211ea8c48e61799b
Author: Daniel Chen <cdchen at ca.ibm.com>
Date: 2024-05-08 (Wed, 08 May 2024)
Changed paths:
M mlir/tools/mlir-src-sharder/mlir-src-sharder.cpp
Log Message:
-----------
[mlir] Fixing a regression that '-D' option of llvm-tblgen is unregistered. (#91329)
PR #89664 introduced a regression that it unregistered llvm-tblgen
option `-D` for macros. The test `TestOps.cpp` failed due to passing a
macros to llvm-tblgen.
It caused our internal build to fail because we append `-DLOCAL_NAME`
into `LLVM_TABLEGEN_FLANGS` in `llvm/lib/cmake/llvm/TableGen.cmake` as
```
list(APPEND LLVM_TABLEGEN_FLAGS "-DLOCAL_NAME")
```
And in `./llvm/lib/Target/PowerPC/PPC.td`, we check it for some
downstream code as:
```
...
#ifdef LOCAL_NAME
...
#endif
```
Now we got error message from mlir-src-sharder as
```
mlir-src-sharder -op-shard-index=1 -DLOCAL_NAME llvm-project/mlir/test/lib/Dialect/Test/TestOps.cpp --write-if-changed -o tools/mlir/test/lib/Dialect/Test/TestOps.1.cpp -d tools/mlir/test/lib/Dialect/Test/TestOps.1.cpp.d
mlir-src-sharder: Unknown command line argument '-DLOCAL_NAME'. Try: 'llvm-project/build/bin/mlir-src-sharder --help'
mlir-src-sharder: Did you mean '-I'?
```
This PR is to fix the regression.
Commit: 9c09b0840e82490ed194207adc03d3e7284b8764
https://github.com/llvm/llvm-project/commit/9c09b0840e82490ed194207adc03d3e7284b8764
Author: Xiang Li <python3kgae at outlook.com>
Date: 2024-05-08 (Wed, 08 May 2024)
Changed paths:
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/DiagnosticParseKinds.td
M clang/include/clang/Basic/DiagnosticSemaKinds.td
M clang/lib/Parse/ParseHLSL.cpp
M clang/lib/Sema/SemaDeclAttr.cpp
M clang/lib/Sema/SemaHLSL.cpp
R clang/test/AST/HLSL/packoffset.hlsl
R clang/test/SemaHLSL/packoffset-invalid.hlsl
Log Message:
-----------
Revert "[HLSL] Support packoffset attribute in AST (#89836)" (#91473)
This reverts commit c5509fedc5757fffece385d9d068e36b26793ade.
Commit: c6efcc925c9969d616bc463171c0423d6a9766af
https://github.com/llvm/llvm-project/commit/c6efcc925c9969d616bc463171c0423d6a9766af
Author: Christian Ulmann <christianulmann at gmail.com>
Date: 2024-05-08 (Wed, 08 May 2024)
Changed paths:
M mlir/include/mlir/Transforms/Mem2Reg.h
M mlir/lib/Transforms/Mem2Reg.cpp
Log Message:
-----------
[MLIR][Mem2Reg] Improve performance by avoiding recomputations (#91444)
This commit ensures that Mem2Reg reuses the `DominanceInfo` as well as
block index maps to avoid expensive recomputations. Due to the recent
migration to `OpBuilder`, the promotion of a slot does no longer replace
blocks. Having stable blocks makes the `DominanceInfo` preservable and
additionally allows to cache block index maps between different
promotions.
Performance measurements on very large functions show an up to 4x
speedup by these changes.
Commit: 2c1c67674cb3beb4e091a9f446de5858631cf8ae
https://github.com/llvm/llvm-project/commit/2c1c67674cb3beb4e091a9f446de5858631cf8ae
Author: srcarroll <50210727+srcarroll at users.noreply.github.com>
Date: 2024-05-08 (Wed, 08 May 2024)
Changed paths:
M mlir/include/mlir/Dialect/Linalg/TransformOps/LinalgTransformOps.td
M mlir/include/mlir/Dialect/Transform/Utils/Utils.h
M mlir/include/mlir/Interfaces/ViewLikeInterface.h
M mlir/lib/Dialect/Linalg/TransformOps/LinalgTransformOps.cpp
M mlir/lib/Dialect/Transform/Utils/Utils.cpp
M mlir/lib/Interfaces/ViewLikeInterface.cpp
M mlir/test/Dialect/LLVM/transform-e2e.mlir
M mlir/test/Dialect/Linalg/generalize-tensor-pack-tile.mlir
M mlir/test/Dialect/Linalg/generalize-tensor-unpack-tile.mlir
M mlir/test/Dialect/Linalg/matmul-shared-memory-padding.mlir
M mlir/test/Dialect/Linalg/multisize-tiling-full.mlir
M mlir/test/Dialect/Linalg/promote.mlir
M mlir/test/Dialect/Linalg/promotion_options.mlir
M mlir/test/Dialect/Linalg/tile-conv.mlir
M mlir/test/Dialect/Linalg/tile-indexed.mlir
M mlir/test/Dialect/Linalg/tile-softmax.mlir
M mlir/test/Dialect/Linalg/tile-tensors.mlir
M mlir/test/Dialect/Linalg/tile-to-forall.mlir
M mlir/test/Dialect/Linalg/transform-op-compose-masked-vectorize-and-cleanups.mlir
M mlir/test/Dialect/Linalg/transform-op-fuse.mlir
M mlir/test/Dialect/Linalg/transform-op-hoist-pad-build-packing-loop-nest.mlir
M mlir/test/Dialect/Linalg/transform-op-hoist-pad.mlir
M mlir/test/Dialect/Linalg/transform-op-mmt4d-to-fma.mlir
M mlir/test/Dialect/Linalg/transform-op-pack.mlir
M mlir/test/Dialect/Linalg/transform-op-peel-and-vectorize-conv.mlir
M mlir/test/Dialect/Linalg/transform-op-peel-and-vectorize.mlir
M mlir/test/Dialect/Linalg/transform-op-scalarize.mlir
M mlir/test/Dialect/Linalg/transform-op-tile.mlir
M mlir/test/Dialect/Linalg/transform-ops-invalid.mlir
M mlir/test/Dialect/Linalg/transform-ops.mlir
M mlir/test/Dialect/Linalg/transform-patterns.mlir
M mlir/test/Dialect/Linalg/vectorize-tensor-extract-masked.mlir
M mlir/test/Dialect/Tensor/tiling.mlir
M mlir/test/Dialect/Transform/ops.mlir
M mlir/test/Dialect/Transform/selective-targeting.mlir
M mlir/test/Dialect/Vector/transform-vector.mlir
M mlir/test/Integration/Dialect/Linalg/CPU/ArmSME/matmul-transpose-a.mlir
M mlir/test/Integration/Dialect/Linalg/CPU/ArmSME/matmul.mlir
M mlir/test/Integration/Dialect/Linalg/CPU/ArmSME/multi-tile-matmul-mixed-types.mlir
M mlir/test/Integration/Dialect/Linalg/CPU/ArmSME/multi-tile-matmul.mlir
M mlir/test/Integration/Dialect/Linalg/CPU/ArmSVE/matmul.mlir
M mlir/test/Integration/Dialect/Linalg/CPU/mmt4d.mlir
M mlir/test/Integration/Dialect/Linalg/CPU/pack-unpack-mmt4d.mlir
M mlir/test/Integration/Dialect/Linalg/CPU/test-conv-1d-call.mlir
M mlir/test/Integration/Dialect/Linalg/CPU/test-conv-1d-nwc-wcf-call.mlir
M mlir/test/Integration/Dialect/Linalg/CPU/test-conv-2d-call.mlir
M mlir/test/Integration/Dialect/Linalg/CPU/test-conv-2d-nhwc-hwcf-call.mlir
M mlir/test/Integration/Dialect/Linalg/CPU/test-conv-3d-call.mlir
M mlir/test/Integration/Dialect/Linalg/CPU/test-conv-3d-ndhwc-dhwcf-call.mlir
M mlir/test/Integration/Dialect/Linalg/CPU/test-tensor-matmul.mlir
M mlir/test/Interfaces/TilingInterface/tile-pad-using-interface.mlir
M mlir/test/Interfaces/TilingInterface/tile-using-interface.mlir
M mlir/test/python/dialects/transform_structured_ext.py
Log Message:
-----------
[mlir][transform] Consistent `linalg` `transform` op syntax for dynamic index lists (#90897)
This patch is a first pass at making consistent syntax across the
`LinalgTransformOp`s that use dynamic index lists for size parameters.
Previously, there were two different forms: inline types in the list, or
place them in the functional style tuple. This patch goes for the
latter.
In order to do this, the `printPackedOrDynamicIndexList`,
`printDynamicIndexList` and their `parse` counterparts were modified so
that the types can be optionally provided to the corresponding custom
directives.
All affected ops now use tablegen `assemblyFormat`, so custom
`parse`/`print` functions have been removed. There are a couple ops that
will likely add dynamic size support, and once that happens it should be
made sure that the assembly remains consistent with the changes in this
patch.
The affected ops are as follows: `pack`, `pack_greedily`,
`tile_using_forall`. The `tile_using_for` and `vectorize` ops already
used this syntax, but their custom assembly was removed.
---------
Co-authored-by: Oleksandr "Alex" Zinenko <ftynse at gmail.com>
Commit: d6d613aaebc0ae503409ba7719a43b4a55e1ee70
https://github.com/llvm/llvm-project/commit/d6d613aaebc0ae503409ba7719a43b4a55e1ee70
Author: martinboehme <mboehme at google.com>
Date: 2024-05-08 (Wed, 08 May 2024)
Changed paths:
M clang/docs/tools/clang-formatted-files.txt
M clang/unittests/Analysis/FlowSensitive/CMakeLists.txt
R clang/unittests/Analysis/FlowSensitive/SolverTest.cpp
A clang/unittests/Analysis/FlowSensitive/SolverTest.h
A clang/unittests/Analysis/FlowSensitive/WatchedLiteralsSolverTest.cpp
M llvm/utils/gn/secondary/clang/unittests/Analysis/FlowSensitive/BUILD.gn
Log Message:
-----------
[clang][dataflow] Make `SolverTest` a type-parameterized test. (#91455)
This allows the tests to be run against any implementation of `Solver`
instead
of begin specific to `WatchedLiteralsSolver` as they currently are.
Commit: b5afda8d760998641cf08a6d229252924b0ad146
https://github.com/llvm/llvm-project/commit/b5afda8d760998641cf08a6d229252924b0ad146
Author: Matt Arsenault <Matthew.Arsenault at amd.com>
Date: 2024-05-08 (Wed, 08 May 2024)
Changed paths:
M llvm/test/CodeGen/AMDGPU/ctlz_zero_undef.ll
Log Message:
-----------
AMDGPU: Add some more ctlz_zero_undef tests
Commit: 27a062e9ca7c92e89ed4084c3c3affb9fa39aabb
https://github.com/llvm/llvm-project/commit/27a062e9ca7c92e89ed4084c3c3affb9fa39aabb
Author: serge-sans-paille <sguelton at mozilla.com>
Date: 2024-05-08 (Wed, 08 May 2024)
Changed paths:
M libcxx/benchmarks/CMakeLists.txt
A libcxx/benchmarks/numeric/gcd.bench.cpp
M libcxx/include/__numeric/gcd_lcm.h
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/cxx26.csv
M libcxx/test/std/numerics/numeric.ops/numeric.ops.gcd/gcd.pass.cpp
Log Message:
-----------
[libc++] Implement std::gcd using the binary version (#77747)
The binary version is four times faster than current implementation in
my setup, and generally considered a better implementation.
Code inspired by https://en.algorithmica.org/hpc/algorithms/gcd/ which
itself is inspired by
https://lemire.me/blog/2013/12/26/fastest-way-to-compute-the-greatest-common-divisor/
Fix #77648
Commit: 73bb8d9d92f689863c94d48517e89d35dae0ebcf
https://github.com/llvm/llvm-project/commit/73bb8d9d92f689863c94d48517e89d35dae0ebcf
Author: Jonathan Peyton <jonathan.l.peyton at intel.com>
Date: 2024-05-08 (Wed, 08 May 2024)
Changed paths:
M openmp/runtime/src/kmp_settings.cpp
M openmp/runtime/test/affinity/redetect.c
Log Message:
-----------
[OpenMP] Fix child processes to use affinity_none (#91391)
When a child process is forked with OpenMP already initialized, the
child process resets its affinity mask and sets proc-bind-var to false
so that the entire original affinity mask is used. This patch corrects
an issue with the affinity initialization code setting affinity to
compact instead of none for this special case of forked children.
The test trying to catch this only testing explicit setting of
KMP_AFFINITY=none. Add test run for no KMP_AFFINITY setting.
Fixes: #91098
Commit: 6ed8434edc5934210a38be99f33b6baed83df85c
https://github.com/llvm/llvm-project/commit/6ed8434edc5934210a38be99f33b6baed83df85c
Author: Prathamesh Tagore <63031630+meshtag at users.noreply.github.com>
Date: 2024-05-08 (Wed, 08 May 2024)
Changed paths:
M mlir/include/mlir/Dialect/MemRef/Utils/MemRefUtils.h
M mlir/lib/Dialect/MemRef/Transforms/FoldMemRefAliasOps.cpp
M mlir/lib/Dialect/MemRef/Utils/MemRefUtils.cpp
M mlir/test/Dialect/MemRef/fold-memref-alias-ops.mlir
Log Message:
-----------
[mlir][fold-memref-alias-ops] Add support for folding memref.expand_shape involving dynamic dims (#89093)
`fold-memref-alias-ops` bails out in presence of dynamic shapes in
`memref.expand_shape` op. Handle this case.
Commit: 2475efa91d8b4fa8f1a2d16052cb6d14be7d5dc6
https://github.com/llvm/llvm-project/commit/2475efa91d8b4fa8f1a2d16052cb6d14be7d5dc6
Author: Alexey Bataev <a.bataev at outlook.com>
Date: 2024-05-08 (Wed, 08 May 2024)
Changed paths:
M llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
M llvm/test/Transforms/SLPVectorizer/AArch64/gather-with-minbith-user.ll
M llvm/test/Transforms/SLPVectorizer/AArch64/user-node-not-in-bitwidths.ll
M llvm/test/Transforms/SLPVectorizer/SystemZ/minbitwidth-root-trunc.ll
Log Message:
-----------
[SLP]Fix PR91467: Look through scalar cast, when trying to cast to another type.
Need to look through the SExt/ZExt scalars to be gathered, when trying
to reduce their width after minbitwidth analysis to prevent permanent
attempts to revectorize such gathered instructions.
Commit: 2868e26d0a6f257d3a8f303c7918f37c690e35a4
https://github.com/llvm/llvm-project/commit/2868e26d0a6f257d3a8f303c7918f37c690e35a4
Author: Matthias Braun <matze at braunis.de>
Date: 2024-05-08 (Wed, 08 May 2024)
Changed paths:
M clang/CMakeLists.txt
M clang/test/Analysis/scan-build/deduplication.test
M clang/test/Analysis/scan-build/exclude_directories.test
M clang/test/Analysis/scan-build/help.test
M clang/test/Analysis/scan-build/html_output.test
M clang/test/Analysis/scan-build/lit.local.cfg
M clang/test/Analysis/scan-build/plist_html_output.test
M clang/test/Analysis/scan-build/plist_output.test
M clang/test/Analysis/scan-build/rebuild_index/rebuild_index.test
M clang/test/Analysis/scan-build/silence-core-checkers.test
M clang/test/lit.site.cfg.py.in
Log Message:
-----------
Use cmake to find perl executable (#91275)
`clang/tools/scan-build` is implemented in `perl`. However given `perl`
is not mentioned as a required dependency in `GettingStarted.rst` we
should make this optional.
This adds a `find_package(Perl)` check to cmake and disables the
`scan-build` tests when no perl executable is found.
Ideally we would also check if dependent perl modules like `Hash::Util`
are present on the system, but I don't see any pre-existing cmake macros
to easily test this. So for now I go with a plain check for the `perl`
package, at least this allows to use `cmake
-DCMAKE_DISABLE_FIND_PACKAGE_Perl=ON` to manually disable `perl` and the
tests.
Commit: 3a8316216807d64a586b971f51695e23883331f7
https://github.com/llvm/llvm-project/commit/3a8316216807d64a586b971f51695e23883331f7
Author: Benjamin Kramer <benny.kra at googlemail.com>
Date: 2024-05-08 (Wed, 08 May 2024)
Changed paths:
M utils/bazel/llvm-project-overlay/mlir/BUILD.bazel
Log Message:
-----------
[bazel] Add missing dependency for 6ed8434edc5934210a38be99f33b6baed83df85c
Commit: 50b45b24220ead33cf5cedc49c13e0336297e4eb
https://github.com/llvm/llvm-project/commit/50b45b24220ead33cf5cedc49c13e0336297e4eb
Author: Florian Hahn <flo at fhahn.com>
Date: 2024-05-08 (Wed, 08 May 2024)
Changed paths:
A llvm/test/Analysis/LoopAccessAnalysis/offset-range-known-via-assume.ll
Log Message:
-----------
[LAA] Add tests with forward dependences known via assumes.
Commit: 11a6799740f824282650aa9ec249b55dcf1a8aae
https://github.com/llvm/llvm-project/commit/11a6799740f824282650aa9ec249b55dcf1a8aae
Author: Jacob Lambert <jacob.lambert at amd.com>
Date: 2024-05-08 (Wed, 08 May 2024)
Changed paths:
M clang/include/clang/Basic/CodeGenOptions.def
M clang/include/clang/Driver/Options.td
M clang/lib/CodeGen/BackendConsumer.h
M clang/lib/CodeGen/BackendUtil.cpp
M clang/lib/CodeGen/CodeGenAction.cpp
M clang/lib/CodeGen/LinkInModulesPass.cpp
A clang/test/CodeGen/linking-bitcode-postopt.cpp
Log Message:
-----------
[clang][CodeGen] Omit pre-opt link when post-opt is link requested (#85672)
Currently, when the -relink-builtin-bitcodes-postop option is used we
link builtin bitcodes twice: once before optimization, and again after
optimization.
With this change, we omit the pre-opt linking when the option is set,
and we rename the option to the following:
-Xclang -mlink-builtin-bitcodes-postopt
(-Xclang -mno-link-builtin-bitcodes-postopt)
The goal of this change is to reduce compile time. We do lose the
theoretical benefits of pre-opt linking, but in practice these are small
than the overhead of linking twice. However we may be able to address
this in a future patch by adjusting the position of the builtin-bitcode
linking pass.
Compilations not setting the option are unaffected
Commit: a55127281b2ed5f24f848b9e5c70870ad170bc3f
https://github.com/llvm/llvm-project/commit/a55127281b2ed5f24f848b9e5c70870ad170bc3f
Author: Simon Pilgrim <llvm-dev at redking.me.uk>
Date: 2024-05-08 (Wed, 08 May 2024)
Changed paths:
M llvm/lib/Target/X86/X86TargetTransformInfo.cpp
M llvm/test/Analysis/CostModel/X86/masked-intrinsic-codesize.ll
M llvm/test/Analysis/CostModel/X86/masked-intrinsic-latency.ll
M llvm/test/Analysis/CostModel/X86/masked-intrinsic-sizelatency.ll
Log Message:
-----------
[CostModel][X86] getGSVectorCost - add cost kind support
Don't just assume gather/scatter non-throughput costs are 1 - latency and sizelatency (#uops) costs will be high, and codesize (#instructions) needs to account splitting.
Commit: 29b7eb8400f48fe7d8de3cb3741584c329ec597c
https://github.com/llvm/llvm-project/commit/29b7eb8400f48fe7d8de3cb3741584c329ec597c
Author: Juergen Ributzka <juergen at ributzka.de>
Date: 2024-05-08 (Wed, 08 May 2024)
Changed paths:
M llvm/lib/CodeGen/StackMapLivenessAnalysis.cpp
M llvm/test/CodeGen/AArch64/stackmap-liveness.ll
M llvm/test/CodeGen/X86/stackmap-liveness.ll
Log Message:
-----------
[llvm][stackmaps] Include pristine registers for liveness computation. (#90529)
Users of stackmaps and patchpoints need to add all pristine registers to
the
spill set, even so they don't need to be all preserved.
This fixes the liveness computation for stackmaps to include pristine
registers.
This fixes rdar://21228337.
Commit: 9263318f9da22e6632f1aae3e85717ed88fde64f
https://github.com/llvm/llvm-project/commit/9263318f9da22e6632f1aae3e85717ed88fde64f
Author: Aaron Ballman <aaron at aaronballman.com>
Date: 2024-05-08 (Wed, 08 May 2024)
Changed paths:
M clang/docs/StandardCPlusPlusModules.rst
Log Message:
-----------
Revise the modules document for clarity (#90237)
The intention isn't to add or change the information provided, but to
improve clarity through some grammar fixes, improvements to the
markdown, and so forth.
Commit: 2ceb1291ef3ddb87cb58030cd61d965f4030338f
https://github.com/llvm/llvm-project/commit/2ceb1291ef3ddb87cb58030cd61d965f4030338f
Author: Simon Pilgrim <llvm-dev at redking.me.uk>
Date: 2024-05-08 (Wed, 08 May 2024)
Changed paths:
M llvm/lib/Target/X86/X86ISelLowering.cpp
Log Message:
-----------
[X86] Add canScaleShuffleElements helper. NFC.
Returns true if the shuffle mask can be rescaled to the requested number of elements.
Commit: a6171900a446c85c3b53a4a9deba16b746f9f77f
https://github.com/llvm/llvm-project/commit/a6171900a446c85c3b53a4a9deba16b746f9f77f
Author: Harald van Dijk <harald.vandijk at codeplay.com>
Date: 2024-05-08 (Wed, 08 May 2024)
Changed paths:
M llvm/include/llvm/Transforms/Utils/ValueMapper.h
M llvm/lib/Transforms/Scalar/SimpleLoopUnswitch.cpp
M llvm/lib/Transforms/Utils/CloneFunction.cpp
M llvm/lib/Transforms/Utils/LoopRotationUtils.cpp
M llvm/lib/Transforms/Utils/LoopUnrollRuntime.cpp
M llvm/lib/Transforms/Utils/SimplifyCFG.cpp
M llvm/lib/Transforms/Utils/ValueMapper.cpp
M llvm/unittests/Transforms/Utils/CloningTest.cpp
Log Message:
-----------
[RemoveDIs] Change remapDbgVariableRecord to remapDbgRecord (#91456)
We need to remap any DbgRecord, not just DbgVariableRecords.
This is the followup to #91447.
Co-authored-by: PietroGhg <pietro.ghiglio at codeplay.com>
Commit: 5636eb89bd69f9c55f4e4aeafaa8c04aa99e5c84
https://github.com/llvm/llvm-project/commit/5636eb89bd69f9c55f4e4aeafaa8c04aa99e5c84
Author: Simon Pilgrim <llvm-dev at redking.me.uk>
Date: 2024-05-08 (Wed, 08 May 2024)
Changed paths:
M llvm/lib/Target/X86/X86ISelLowering.cpp
M llvm/test/CodeGen/X86/vector-shuffle-combining-avx.ll
Log Message:
-----------
[X86] combineBlendOfPermutes - allow whole-lane permutation on AVX1 targets.
dd4bf22b9380e797362fac1415a1796da338b2db fixed #91433 but meant we couldn't use vperm2f128 to permute entire 128-bit lanes - if the new 256-bit permutation mask can be scaled to 2x128-bit elements, then we can still fold.
Commit: 6d8901488f160dd92aea5b98fcc21c7fa7c1cbe6
https://github.com/llvm/llvm-project/commit/6d8901488f160dd92aea5b98fcc21c7fa7c1cbe6
Author: S. Bharadwaj Yadavalli <Bharadwaj.Yadavalli at microsoft.com>
Date: 2024-05-08 (Wed, 08 May 2024)
Changed paths:
M clang/lib/Basic/Targets.cpp
M clang/lib/Driver/ToolChains/HLSL.cpp
M clang/test/CodeGenHLSL/basic-target.c
M clang/test/Driver/dxc_dxv_path.hlsl
M clang/test/Options/enable_16bit_types_validation.hlsl
M clang/unittests/Driver/DXCModeTest.cpp
M llvm/include/llvm/TargetParser/Triple.h
M llvm/lib/IR/Verifier.cpp
M llvm/lib/TargetParser/Triple.cpp
M llvm/unittests/TargetParser/TripleTest.cpp
Log Message:
-----------
[DXIL] Set DXIL Version in DXIL target triple based on shader model version (#91407)
This change set restores commit 080978dd2067d0c9ea7e229aa7696c2480d89ef1 that was reverted to address ASAN
failures and includes a fix for the ASAN failures.
Following is the description of the change:
An earlier commit provided a way to decouple DXIL version from Shader
Model version by representing the DXIL version as `SubArch` in the DXIL
Target Triple and adding corresponding valid DXIL Arch types.
This change constructs DXIL target triple with DXIL version that is
deduced from Shader Model version specified in the following scenarios:
1. When compilation target profile is specified:
For e.g., DXIL target triple `dxilv1.8-unknown-shader6.8-library` is
constructed when `-T lib_6_8` is specified.
2. When DXIL target triple without DXIL version is specified:
For e.g., DXIL target triple `dxilv1.8-pc-shadermodel6.8-library` is
constructed when `-mtriple=dxil-pc-shadermodel6.8-library` is specified.
Updated relevant HLSL tests that check for target triple.
Commit: efad14954c9d5bdfaddaca948be6cd7e71a1d1b0
https://github.com/llvm/llvm-project/commit/efad14954c9d5bdfaddaca948be6cd7e71a1d1b0
Author: Fangrui Song <i at maskray.me>
Date: 2024-05-08 (Wed, 08 May 2024)
Changed paths:
M llvm/include/llvm/Support/LEB128.h
M llvm/unittests/Support/LEB128Test.cpp
M llvm/utils/TableGen/DecoderEmitter.cpp
Log Message:
-----------
[Support] Add end/error to decode[US]LEB128AndInc
Follow-up to #85739 to encourage error checking. We make `end` mandatory
and add decodeULEB128AndIncUnsafe to be used without `end`.
Pull Request: https://github.com/llvm/llvm-project/pull/90006
Commit: 8d9b15497d70ac782d7d01a2d606f9fec7e7f642
https://github.com/llvm/llvm-project/commit/8d9b15497d70ac782d7d01a2d606f9fec7e7f642
Author: Justin Bogner <mail at justinbogner.com>
Date: 2024-05-08 (Wed, 08 May 2024)
Changed paths:
M clang/lib/CodeGen/BackendConsumer.h
M clang/lib/CodeGen/CodeGenAction.cpp
Log Message:
-----------
Fix unused private field warning (#91500)
After 11a6799740f8 "[clang][CodeGen] Omit pre-opt link when post-opt is
link requested (#85672)" I'm seeing a new warning:
> BackendConsumer.h:37:22: error: private field 'FileMgr' is not used
[-Werror,-Wunused-private-field]
Remove the field since it's no longer used.
Commit: 3dcbcce287877322b2902ae271642416fdc8481c
https://github.com/llvm/llvm-project/commit/3dcbcce287877322b2902ae271642416fdc8481c
Author: Jacob Lambert <jacob.lambert at amd.com>
Date: 2024-05-08 (Wed, 08 May 2024)
Changed paths:
Log Message:
-----------
[clang][CodeGen] Remove now-unused FileManager variable (#91495)
Fixes "error: private field 'FileMgr' is not used" introduced by 11a6799
Commit: b59461ac63aa1770a617f96bab31010442bd2090
https://github.com/llvm/llvm-project/commit/b59461ac63aa1770a617f96bab31010442bd2090
Author: Aleksandr Platonov <platonov.aleksandr at huawei.com>
Date: 2024-05-08 (Wed, 08 May 2024)
Changed paths:
M llvm/include/llvm/ADT/StringMap.h
M llvm/unittests/ADT/StringSetTest.cpp
Log Message:
-----------
[ADT] Add back ability to compare StringSet (#91374)
StringSet comparison was broken after moving from llvm::Optional to
std::optional because std::nullopt_t is not equality-comparable. Without
this patch a try to compare objects of StringSet type leads to
compilation error:
```
llvm-project/llvm/include/llvm/ADT/StringMap.h:294:33: error: no match for ‘operator==’ (operand types are ‘std::nullopt_t’ and ‘std::nullopt_t’)
294 | if (!(KeyValue.getValue() == FindInRHS->getValue()))
```
Commit: 4298fc5eb5c483fb72db6fce062352087dfd0acf
https://github.com/llvm/llvm-project/commit/4298fc5eb5c483fb72db6fce062352087dfd0acf
Author: Philip Reames <preames at rivosinc.com>
Date: 2024-05-08 (Wed, 08 May 2024)
Changed paths:
M llvm/lib/Target/RISCV/RISCVISelLowering.cpp
M llvm/lib/Target/RISCV/RISCVInstrInfoXTHead.td
M llvm/lib/Target/RISCV/RISCVInstrInfoZb.td
M llvm/test/CodeGen/RISCV/addimm-mulimm.ll
M llvm/test/CodeGen/RISCV/rv64-legal-i32/rv64zba.ll
M llvm/test/CodeGen/RISCV/rv64zba.ll
Log Message:
-----------
[RISCV] Move strength reduction of mul X, 3/5/9*2^N to combine (#89966)
This moves our last major category tablegen driven multiply strength
reduction into the post legalize combine framework. The one slightly
tricky bit is making sure that we use a leading shl if we can form a
slli.uw, and trailing shl otherwise. Having the trailing shl is critical
for shNadd matching, and folding any following sext.w.
As can be seen in the TD deltas, this allows us to kill off both the
actual multiply patterns and the explicit add (mul X, C) Y patterns. The
later are now handled by the generic shNadd matching code, with the
exception of the THead only C=200 case because we don't (yet) have a
multiply expansion with two shNadd + a shift.
---------
Co-authored-by: Yingwei Zheng <dtcxzyw at qq.com>
Commit: a620697340671aea2b0c65449fcddf3c2e4d1917
https://github.com/llvm/llvm-project/commit/a620697340671aea2b0c65449fcddf3c2e4d1917
Author: Arthur Eubanks <aeubanks at google.com>
Date: 2024-05-08 (Wed, 08 May 2024)
Changed paths:
M llvm/include/llvm/IR/InstrTypes.h
M llvm/lib/IR/Instructions.cpp
M llvm/unittests/IR/AttributesTest.cpp
Log Message:
-----------
[IR] Check callee param attributes as well in CallBase::getParamAttr() (#91394)
These methods aren't used yet, but may be in the future. This keeps them
in line with other methods like getFnAttr().
Commit: 576838301d23bb779aa9c3f0cc3d086c46add44b
https://github.com/llvm/llvm-project/commit/576838301d23bb779aa9c3f0cc3d086c46add44b
Author: Arthur Eubanks <aeubanks at google.com>
Date: 2024-05-08 (Wed, 08 May 2024)
Changed paths:
M llvm/lib/IR/Instructions.cpp
Log Message:
-----------
[IR] Remove check for bitcast of called function in CallBase::has/getFnAttrOnCalledFunction (#91392)
With opaque pointers, we shouldn't have bitcasts between function
pointer types.
Commit: 08011cf8453c7c9e87d135f063356b6764a91cbc
https://github.com/llvm/llvm-project/commit/08011cf8453c7c9e87d135f063356b6764a91cbc
Author: XChy <xxs_chy at outlook.com>
Date: 2024-05-09 (Thu, 09 May 2024)
Changed paths:
M llvm/docs/MIRLangRef.rst
Log Message:
-----------
[Docs][NFC] Use opaque ptr in the example (#91502)
Commit: 46435ac19e09039fb146fa6c12da0e640a66d435
https://github.com/llvm/llvm-project/commit/46435ac19e09039fb146fa6c12da0e640a66d435
Author: Kristof Beyls <kristof.beyls at arm.com>
Date: 2024-05-08 (Wed, 08 May 2024)
Changed paths:
M bolt/include/bolt/Passes/FrameAnalysis.h
M bolt/lib/Passes/FrameAnalysis.cpp
Log Message:
-----------
[NFC][BOLT] Remove dead code (SPTAllocatorsId) (#91477)
It seems that SPTAllocatorsId is no longer used in FrameAnalysis, so
let's remove it.
It seems the use of SPTAllocatorsId was removed back in 2019, in commit
cc8415406c7.
Commit: bb6df0804ba0a0b0581aec4156138f5144dbcee2
https://github.com/llvm/llvm-project/commit/bb6df0804ba0a0b0581aec4156138f5144dbcee2
Author: Kazu Hirata <kazu at google.com>
Date: 2024-05-08 (Wed, 08 May 2024)
Changed paths:
M llvm/include/llvm/ADT/SmallString.h
M llvm/lib/Bitcode/Reader/BitcodeReader.cpp
M llvm/lib/ExecutionEngine/RuntimeDyld/RuntimeDyldELF.cpp
M llvm/lib/FileCheck/FileCheck.cpp
M llvm/lib/FuzzMutate/FuzzerCLI.cpp
M llvm/lib/LTO/LTOModule.cpp
M llvm/lib/MC/MCAsmStreamer.cpp
M llvm/lib/MC/MCParser/AsmParser.cpp
M llvm/lib/MC/MCParser/DarwinAsmParser.cpp
M llvm/lib/MC/MCSymbolXCOFF.cpp
M llvm/lib/Object/Archive.cpp
M llvm/lib/Object/MachOObjectFile.cpp
M llvm/lib/Object/OffloadBinary.cpp
M llvm/lib/ObjectYAML/COFFEmitter.cpp
M llvm/lib/Passes/StandardInstrumentations.cpp
M llvm/lib/ProfileData/GCOV.cpp
M llvm/lib/ProfileData/InstrProf.cpp
M llvm/lib/ProfileData/MemProfReader.cpp
M llvm/lib/Support/VirtualFileSystem.cpp
M llvm/lib/TargetParser/ARMTargetParser.cpp
M llvm/lib/TargetParser/Triple.cpp
M llvm/tools/dsymutil/DwarfLinkerForBinary.cpp
M llvm/tools/llvm-dwarfdump/Statistics.cpp
M llvm/tools/llvm-extract/llvm-extract.cpp
M llvm/tools/llvm-objdump/MachODump.cpp
M llvm/tools/llvm-xray/xray-graph-diff.cpp
M llvm/tools/llvm-yaml-numeric-parser-fuzzer/yaml-numeric-parser-fuzzer.cpp
M llvm/unittests/ADT/StringRefTest.cpp
M llvm/unittests/IR/VerifierTest.cpp
M llvm/unittests/Support/MemoryBufferTest.cpp
M llvm/unittests/Support/YAMLIOTest.cpp
M llvm/unittests/TargetParser/CSKYTargetParserTest.cpp
M llvm/unittests/TargetParser/TargetParserTest.cpp
M llvm/utils/TableGen/AsmMatcherEmitter.cpp
Log Message:
-----------
[llvm] Use StringRef::operator== instead of StringRef::equals (NFC) (#91441)
I'm planning to remove StringRef::equals in favor of
StringRef::operator==.
- StringRef::operator==/!= outnumber StringRef::equals by a factor of
70 under llvm/ in terms of their usage.
- The elimination of StringRef::equals brings StringRef closer to
std::string_view, which has operator== but not equals.
- S == "foo" is more readable than S.equals("foo"), especially for
!Long.Expression.equals("str") vs Long.Expression != "str".
Commit: dabdec1001dc368373dd581cf72f37a440873ce3
https://github.com/llvm/llvm-project/commit/dabdec1001dc368373dd581cf72f37a440873ce3
Author: Benoit Jacob <jacob.benoit.1 at gmail.com>
Date: 2024-05-08 (Wed, 08 May 2024)
Changed paths:
M mlir/lib/Dialect/MemRef/IR/MemRefOps.cpp
M mlir/test/Dialect/MemRef/fold-memref-alias-ops.mlir
M mlir/test/Dialect/MemRef/ops.mlir
Log Message:
-----------
Fix `memref.expand_shape` verifier (#91501)
Torch-mlir integration is currently blocked on `memref.expand_shape`
verifier errors of the form
```
'memref.expand_shape' op invalid output shape provided at pos 1
```
The verifier code generating these errors was introduced in
https://github.com/llvm/llvm-project/pull/91245. I have commented there
why I believe it's incorrect. This PR has my suggested fix.
Unfortunately, this does not seem to be directly testable on `memref`
IR, because `static_output_shape` is not directly exposed in the custom
assembly format.
Commit: fcfc15b7052a311b7a045e2c6bd26fb5d0b7122c
https://github.com/llvm/llvm-project/commit/fcfc15b7052a311b7a045e2c6bd26fb5d0b7122c
Author: Adrian Prantl <aprantl at apple.com>
Date: 2024-05-08 (Wed, 08 May 2024)
Changed paths:
M lldb/cmake/modules/LLDBFramework.cmake
Log Message:
-----------
Add a dependency from lldb-sbapi-dwarf-enums as a dependency of libll… (#91511)
…db-resource-headers
The Xcode build otherwise fails with
```
CMake Error in source/API/CMakeLists.txt:
The custom command generating
/Users/ec2-user/jenkins/workspace/llvm.org/lldb-cmake-standalone/lldb-xcode-build/include/lldb/API/SBLanguages.h
is attached to multiple targets:
lldb-sbapi-dwarf-enums
liblldb-resource-headers
but none of these is a common dependency of the other(s). This is not
allowed by the Xcode "new build system".
CMake Generate step failed. Build files cannot be regenerated correctly.
```
Commit: dbcfa2957d9f99de62fc86db12a857caf929583c
https://github.com/llvm/llvm-project/commit/dbcfa2957d9f99de62fc86db12a857caf929583c
Author: Nicklas Boman <smurfd at gmail.com>
Date: 2024-05-08 (Wed, 08 May 2024)
Changed paths:
M lldb/scripts/generate-sbapi-dwarf-enum.py
Log Message:
-----------
lldb create API folder if it does not exist, before creating SBLangua… (#91128)
Create API folder if it does not exist, before creating SBLanguages.h
Commit: 42d99013bd6b7ed4a085e39c94ab86938d633f8a
https://github.com/llvm/llvm-project/commit/42d99013bd6b7ed4a085e39c94ab86938d633f8a
Author: AdityaK <hiraditya at msn.com>
Date: 2024-05-08 (Wed, 08 May 2024)
Changed paths:
M llvm/lib/Transforms/Utils/BasicBlockUtils.cpp
Log Message:
-----------
NFC: Add a comment indicating UpdateAnalysisInformation invalidates DFS Numbering (#91252)
Commit: 10bdcf6b4cd37d017753b3821fbf8eb2ad924a1a
https://github.com/llvm/llvm-project/commit/10bdcf6b4cd37d017753b3821fbf8eb2ad924a1a
Author: Piotr Zegar <me at piotrzegar.pl>
Date: 2024-05-08 (Wed, 08 May 2024)
Changed paths:
M clang-tools-extra/clang-tidy/hicpp/SignedBitwiseCheck.cpp
M clang-tools-extra/docs/ReleaseNotes.rst
M clang-tools-extra/test/clang-tidy/checkers/hicpp/signed-bitwise-integer-literals.cpp
Log Message:
-----------
[clang-tidy] Handle implicit casts in hicpp-signed-bitwise for IgnorePositiveIntegerLiterals (#90621)
Improved hicpp-signed-bitwise check by ignoring false positives
involving positive integer literals behind implicit casts when
IgnorePositiveIntegerLiterals is enabled.
Closes #89367
Commit: 37b6ba96dea54e7af3772d78c90bfb3fd61140f6
https://github.com/llvm/llvm-project/commit/37b6ba96dea54e7af3772d78c90bfb3fd61140f6
Author: Piotr Zegar <me at piotrzegar.pl>
Date: 2024-05-08 (Wed, 08 May 2024)
Changed paths:
M clang-tools-extra/clang-tidy/readability/StaticAccessedThroughInstanceCheck.cpp
M clang-tools-extra/docs/ReleaseNotes.rst
M clang-tools-extra/docs/clang-tidy/checks/readability/static-accessed-through-instance.rst
M clang-tools-extra/test/clang-tidy/checkers/readability/static-accessed-through-instance.cpp
Log Message:
-----------
[clang-tidy] Handle expr with side-effects in readability-static-accessed-through-instance (#90736)
Improved readability-static-accessed-through-instance check to
support expressions with side-effects.
Originally calls to overloaded operator were
ignored by check, in fear of possible side-effects.
This change remove that restriction, and enables
fix-its for expressions with side-effect via
--fix-notes.
Closes #75163
Commit: 79921fbd5c6223ff7e6c75ed75974b4d16cad529
https://github.com/llvm/llvm-project/commit/79921fbd5c6223ff7e6c75ed75974b4d16cad529
Author: Mark de Wever <koraq at xs4all.nl>
Date: 2024-05-08 (Wed, 08 May 2024)
Changed paths:
M libcxx/modules/std/chrono.inc
M libcxx/modules/std/ranges.inc
M libcxx/test/CMakeLists.txt
M libcxx/test/libcxx/clang_tidy.gen.py
M libcxx/test/tools/clang_tidy_checks/CMakeLists.txt
Log Message:
-----------
[libc++][CI] Reenables clang-tidy. (#90077)
The patch does several things:
- fixes module exports
- disables clang-tidy with Clang-17 due to known issues
- disabled clang-tidy on older libstdc++ versions since it lacks C++20
features used
- fixes the CMake dependency
The issue why clang-tidy was not used in the CI was the last issue; the
plugin was not a
dependency of the tests. Without a plugin the tests disable clang-tidy.
This was noticed while investigating
https://github.com/llvm/llvm-project/issues/89898
Commit: a6b623705b13b0f69c302ee7b36fe87f833ff193
https://github.com/llvm/llvm-project/commit/a6b623705b13b0f69c302ee7b36fe87f833ff193
Author: Nico Weber <thakis at chromium.org>
Date: 2024-05-08 (Wed, 08 May 2024)
Changed paths:
M llvm/utils/gn/secondary/clang/test/BUILD.gn
Log Message:
-----------
[gn] port 2868e26d0a6f (PERL_EXECUTABLE)
Commit: db29f20fdd4f715553f663f21021330cb4497e00
https://github.com/llvm/llvm-project/commit/db29f20fdd4f715553f663f21021330cb4497e00
Author: Amir Ayupov <aaupov at fb.com>
Date: 2024-05-08 (Wed, 08 May 2024)
Changed paths:
M bolt/include/bolt/Core/BinaryFunction.h
M bolt/lib/Core/BinaryFunction.cpp
M bolt/lib/Profile/DataAggregator.cpp
M bolt/test/X86/bolt-address-translation-yaml.test
Log Message:
-----------
[BOLT] Ignore returns in DataAggregator
Returns are ignored in perf/pre-aggregated/fdata profile reader (see
DataReader::convertBranchData). They are also omitted in
YAMLProfileWriter by virtue of not having the profile attached to them
in the reader, and YAMLProfileWriter converting the profile attached to
BinaryFunctions. Thus, return profile is universally ignored across all
profile types except BAT YAML.
To make returns ignored for YAML produced in BAT mode, we can:
1) ignore them in YAMLProfileReader,
2) omit them from YAML profile in profile conversion/writing.
The first option is prone to profile staleness issue, where the profiled
binary doesn't match the one to be optimized, and thus returns in the
profile can no longer be reliably detected (as we don't distinguish them
from calls in the profile).
The second option is robust to staleness but requires disassembling the
branch source instruction.
Test Plan: Updated bolt-address-translation-yaml.test
Reviewers: rafaelauler, dcci, ayermolo, maksfb
Reviewed By: maksfb
Pull Request: https://github.com/llvm/llvm-project/pull/90807
Commit: 2f956a35edb61d250a52c4d883f368d060fae57c
https://github.com/llvm/llvm-project/commit/2f956a35edb61d250a52c4d883f368d060fae57c
Author: Artem Belevich <tra at google.com>
Date: 2024-05-08 (Wed, 08 May 2024)
Changed paths:
M clang/docs/ReleaseNotes.rst
M clang/include/clang/Basic/BuiltinsNVPTX.def
M clang/include/clang/Basic/Cuda.h
M clang/lib/Basic/Cuda.cpp
M clang/lib/Driver/ToolChains/Cuda.cpp
M llvm/lib/Target/NVPTX/NVPTX.td
Log Message:
-----------
[CUDA] Mark CUDA-12.4 as supported and introduce ptx 8.4. (#91516)
Commit: 7e35a9a0e77aad673a3054855761ee4afd2605c1
https://github.com/llvm/llvm-project/commit/7e35a9a0e77aad673a3054855761ee4afd2605c1
Author: Max191 <44243577+Max191 at users.noreply.github.com>
Date: 2024-05-08 (Wed, 08 May 2024)
Changed paths:
M mlir/include/mlir/IR/BuiltinTypes.h
M mlir/lib/Dialect/Tensor/IR/TensorOps.cpp
M mlir/lib/IR/BuiltinTypes.cpp
M mlir/test/Dialect/Tensor/canonicalize.mlir
Log Message:
-----------
[mlir] Replace dynamic sizes in insert_slice of tensor.cast canonicalization (#91352)
In some cases this pattern may ignore static information due to dynamic
operands in the insert_slice sizes operands, e.g.:
```
%0 = tensor.cast %arg0 : tensor<1x?xf32> to tensor<?x?xf32>
%1 = tensor.insert_slice %0 into %arg1[...] [%s0, %s1] [...]
: tensor<?x?xf32> into tensor<?x?xf32>
```
Can be rewritten into:
```
%1 = tensor.insert_slice %arg0 into %arg1[...] [1, %s1] [...]
: tensor<1x?xf32> into tensor<?x?xf32>
```
This PR updates the matching in the pattern to allow rewrites like this.
Commit: 878c141adcd3a1ea47c4cc8429af5c8522678536
https://github.com/llvm/llvm-project/commit/878c141adcd3a1ea47c4cc8429af5c8522678536
Author: Lily Brown <lily at lily.fyi>
Date: 2024-05-08 (Wed, 08 May 2024)
Changed paths:
M mlir/include/mlir/Tools/lsp-server-support/Protocol.h
M mlir/lib/Tools/lsp-server-support/Protocol.cpp
M mlir/unittests/Tools/lsp-server-support/CMakeLists.txt
A mlir/unittests/Tools/lsp-server-support/Protocol.cpp
Log Message:
-----------
[mlir-lsp] Add DiagnosticTag from LSP spec (#91396)
Adds the [DiagnosticTag][diagtag] LSP construct to the LSP support
headers. I also added a unit test file to validate that the `tags` array
is omitted entirely if it's empty.
The LSP spec requires that `Diagnostic::tags` be an array; in order to
conform to that I used `std::vector`, as `SmallVector` doesn't have JSON
decoding support (you can encode it to JSON, but not decode it from
JSON).
[diagtag]:
https://microsoft.github.io/language-server-protocol/specifications/lsp/3.18/specification/#diagnosticTag
Commit: 1464aee3767bf516633ce595ccd89a9cb50ae763
https://github.com/llvm/llvm-project/commit/1464aee3767bf516633ce595ccd89a9cb50ae763
Author: Florian Hahn <flo at fhahn.com>
Date: 2024-05-08 (Wed, 08 May 2024)
Changed paths:
A llvm/test/Analysis/LoopAccessAnalysis/non-constant-distance-backward.ll
Log Message:
-----------
[LAA] Add tests with non-constant backward deps with known min value.
Add a set of tests with non-constant backward dependences, where the
minimum value is known (via the start value of the outer AddRec).
Commit: 63c38ba64ebe079439e29acf43f24c33ecf44f4c
https://github.com/llvm/llvm-project/commit/63c38ba64ebe079439e29acf43f24c33ecf44f4c
Author: Mariusz Borsa <wrotki at msn.com>
Date: 2024-05-08 (Wed, 08 May 2024)
Changed paths:
M compiler-rt/test/asan/TestCases/Posix/fake_stack_gc.cpp
Log Message:
-----------
[Sanitizers] Fix fake_test_gc not working on devices (#91284)
The way the LIT RUN command is currently constructed ( %run not --crash
%t ) causes the test failure on devices - since 'not' is a LLVM built
command, not available on devices.
Changing the command to read 'not --crash %run %t' fixes it, as 'not'
now executes on the host running the test.
rdar://115914588
Co-authored-by: Mariusz Borsa <m_borsa at apple.com>
Commit: 9047331f1b4a623332966d888f05bcd3381c8abe
https://github.com/llvm/llvm-project/commit/9047331f1b4a623332966d888f05bcd3381c8abe
Author: David Green <david.green at arm.com>
Date: 2024-05-08 (Wed, 08 May 2024)
Changed paths:
M llvm/test/CodeGen/AArch64/addimm-mulimm.ll
Log Message:
-----------
[AArch64] Add some additional add mul imm tests with multiple uses. NFC
Commit: 5526c8a7425350cff2cd9cafa1bf5f20753e7848
https://github.com/llvm/llvm-project/commit/5526c8a7425350cff2cd9cafa1bf5f20753e7848
Author: Thomas Raoux <thomas.raoux at openai.com>
Date: 2024-05-08 (Wed, 08 May 2024)
Changed paths:
M mlir/include/mlir/Dialect/LLVMIR/LLVMOps.td
M mlir/lib/Dialect/LLVMIR/IR/LLVMDialect.cpp
M mlir/test/Dialect/LLVMIR/canonicalize.mlir
Log Message:
-----------
[MLIR] Model llvm.inline_asm side_effects (#91507)
Allow more cleanups on inline_asm ops modeling side effects based on the
side_effect attributed.
Commit: e3938f4d71493673033f6190454e7e19d5411ea7
https://github.com/llvm/llvm-project/commit/e3938f4d71493673033f6190454e7e19d5411ea7
Author: Joseph Huber <huberjn at outlook.com>
Date: 2024-05-08 (Wed, 08 May 2024)
Changed paths:
M offload/plugins-nextgen/common/include/Utils/ELF.h
M offload/plugins-nextgen/common/src/Utils/ELF.cpp
M offload/plugins-nextgen/host/CMakeLists.txt
M offload/plugins-nextgen/host/src/rtl.cpp
Log Message:
-----------
[Offload] Detect native ELF machine from preprocessor (#91282)
Summary:
This gets the target's corresponding ELF value from the preprocessor.
We use this to detect if a given ELF is compatible with the CPU
offloading impolementation for OpenMP. Previously we used defitions from
CMake, but this is easier for people to understand as there may be new
users of this in the future.
Commit: 559accf365a6eb885c24cf15e14aea2eb8e66596
https://github.com/llvm/llvm-project/commit/559accf365a6eb885c24cf15e14aea2eb8e66596
Author: Stanislav Mekhanoshin <rampitec at users.noreply.github.com>
Date: 2024-05-08 (Wed, 08 May 2024)
Changed paths:
M llvm/lib/Target/AMDGPU/VOP3PInstructions.td
Log Message:
-----------
[AMDGPU] Add VOP3_PACKED to V_PK_{MIN|MAX}IMUM_F16 profile (#91512)
NFCI as far as I understand, added for consitency.
Commit: b1da82ae3dba0982b3a9668ca895ddf4164fb3d1
https://github.com/llvm/llvm-project/commit/b1da82ae3dba0982b3a9668ca895ddf4164fb3d1
Author: Andrzej Warzyński <andrzej.warzynski at arm.com>
Date: 2024-05-08 (Wed, 08 May 2024)
Changed paths:
M mlir/lib/Dialect/Arith/IR/ArithOps.cpp
M mlir/test/Transforms/constant-fold.mlir
Log Message:
-----------
[mlir][arith] Fix overflow bug in arith::CeilDivSIOp::fold (#90947)
The folder for arith::CeilDivSIOp should only be applied when it can be
guaranteed that no overflow would happen. The current implementation
works fine when both dividends are positive and the only arithmetic
operation is the division itself.
However, in cases where either the dividend or divisor is negative (or
both),
the division is split into multiple arith operations, e.g.: `- ( -a /
b)`. That's
additional 2 operations on top of the actual division that can overflow
- the folder should check all 3 ops for overflow.
The current logic doesn't do that - it effectively only checks the last
operation
(i.e. the division). It breaks when using e.g. MININT values (e.g. -128
for
8-bit integers) - negating such values overflows.
This PR makes sure that no folding happens if any of the intermediate
arithmetic operations overflows.
Fixes https://github.com/llvm/llvm-project/issues/89382
Commit: b52160dbae268cc87cb8f6cdf75553ca095e26a9
https://github.com/llvm/llvm-project/commit/b52160dbae268cc87cb8f6cdf75553ca095e26a9
Author: Dave Lee <davelee.com at gmail.com>
Date: 2024-05-08 (Wed, 08 May 2024)
Changed paths:
M lldb/include/lldb/Target/Language.h
M lldb/source/Core/Mangled.cpp
Log Message:
-----------
[lldb] Consult Language plugin in GetDisplayDemangledName (#90294)
Give language plugins the opportunity to provide a language specific
display name.
This will be used in a follow up commit. The purpose of this change is
to ultimately display breakpoint locations with a more human friendly
demangling of Swift symbols.
Commit: cec6665f2b7583223eb20519dfc3289011d1d2d7
https://github.com/llvm/llvm-project/commit/cec6665f2b7583223eb20519dfc3289011d1d2d7
Author: Teresa Johnson <tejohnson at google.com>
Date: 2024-05-08 (Wed, 08 May 2024)
Changed paths:
M llvm/lib/Transforms/Utils/SimplifyLibCalls.cpp
M llvm/test/Transforms/InstCombine/simplify-libcalls-new.ll
Log Message:
-----------
[MemProf] Optionally update hints on existing hot/cold new calls (#91047)
If directed by an option, update hints on calls to new that already
provide a hot/cold hint.
Commit: 965f3ca3dc5464892e283e176bf058ae04d8b654
https://github.com/llvm/llvm-project/commit/965f3ca3dc5464892e283e176bf058ae04d8b654
Author: Simon Pilgrim <llvm-dev at redking.me.uk>
Date: 2024-05-08 (Wed, 08 May 2024)
Changed paths:
M llvm/include/llvm/Target/GlobalISel/Combine.td
M llvm/test/CodeGen/AArch64/GlobalISel/combine-bitreverse-shift.ll
Log Message:
-----------
[GISel] Fold bitreverse(shl/srl(bitreverse(x),y)) -> srl/shl(x,y) (#91355)
Sibling patch to #89897
Commit: fcf945f4edbad1f2d82df067c2826baa6165dd3e
https://github.com/llvm/llvm-project/commit/fcf945f4edbad1f2d82df067c2826baa6165dd3e
Author: David Green <david.green at arm.com>
Date: 2024-05-08 (Wed, 08 May 2024)
Changed paths:
M llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
M llvm/test/CodeGen/AArch64/addimm-mulimm.ll
Log Message:
-----------
[DAG] Fold add(mul(add(A, CA), CM), CB) -> add(mul(A, CM), CM*CA+CB) (#90860)
This is useful when the inner add has multiple uses, and so cannot be
canonicalized by pushing the constants down through the mul. This patch
adds patterns for both `add(mul(add(A, CA), CM), CB)` and with an extra add
`add(add(mul(add(A, CA), CM), B) CB)` as the second can come up when
lowering geps.
Commit: e37bd6c68b50a556ff0e9261cf9eba64afa06bf9
https://github.com/llvm/llvm-project/commit/e37bd6c68b50a556ff0e9261cf9eba64afa06bf9
Author: lntue <35648136+lntue at users.noreply.github.com>
Date: 2024-05-08 (Wed, 08 May 2024)
Changed paths:
M libc/hdr/fenv_macros.h
Log Message:
-----------
[libc][fenv] Add missing FE_* definitions for some environment. (#91519)
Commit: 7ec8a333b5fdf1ee78426fe3557c330aa920aa5f
https://github.com/llvm/llvm-project/commit/7ec8a333b5fdf1ee78426fe3557c330aa920aa5f
Author: Dave Lee <davelee.com at gmail.com>
Date: 2024-05-08 (Wed, 08 May 2024)
Changed paths:
M lldb/include/lldb/Symbol/SymbolContext.h
M lldb/source/Breakpoint/BreakpointLocation.cpp
M lldb/source/Core/Address.cpp
M lldb/source/Symbol/SymbolContext.cpp
Log Message:
-----------
[lldb] Display breakpoint locations using display name (#90297)
Adds a `show_function_display_name` parameter to
`SymbolContext::DumpStopContext`. This
parameter defaults to false, but `BreakpointLocation::GetDescription`
sets it to true.
This is NFC in mainline lldb, and will be used to modify how Swift
breakpoint locations are printed.
Commit: 1610eaad39ad882f006f32c29771862a610f8314
https://github.com/llvm/llvm-project/commit/1610eaad39ad882f006f32c29771862a610f8314
Author: Kazu Hirata <kazu at google.com>
Date: 2024-05-08 (Wed, 08 May 2024)
Changed paths:
M llvm/include/llvm/ProfileData/MemProf.h
Log Message:
-----------
[memprof] Make Version2 officially available (#91541)
Commit: 64f4ceb09ec3559368dd775330184b5259531cd3
https://github.com/llvm/llvm-project/commit/64f4ceb09ec3559368dd775330184b5259531cd3
Author: Mingming Liu <mingmingl at google.com>
Date: 2024-05-08 (Wed, 08 May 2024)
Changed paths:
M llvm/include/llvm/IR/Instructions.h
M llvm/lib/IR/Instructions.cpp
M llvm/lib/IR/ProfDataUtils.cpp
M llvm/lib/Transforms/Utils/InlineFunction.cpp
M llvm/test/Transforms/Inline/update_invoke_prof.ll
Log Message:
-----------
[Inline][PGO] After inline, update InvokeInst profile counts in caller and cloned callee (#83809)
A related change is https://reviews.llvm.org/D133121, which correctly
preserves both branch weights and value profiles for invoke instruction.
* If the branch weight of the `invokeinst` specifies taken / not-taken branches, there is no scale.
Commit: 99052c4bdf9593a2e648f2c99cabaab36580898c
https://github.com/llvm/llvm-project/commit/99052c4bdf9593a2e648f2c99cabaab36580898c
Author: Augusto Noronha <augusto2112 at me.com>
Date: 2024-05-08 (Wed, 08 May 2024)
Changed paths:
M llvm/unittests/IR/DebugInfoTest.cpp
Log Message:
-----------
[gardening][DebugInfo][NFC] Improve comment on HashingDISubprogram test (#91543)
Commit: 2fb377432134b12c3522b1ba8fa35ac4d0f14e1d
https://github.com/llvm/llvm-project/commit/2fb377432134b12c3522b1ba8fa35ac4d0f14e1d
Author: Arthur Eubanks <aeubanks at google.com>
Date: 2024-05-08 (Wed, 08 May 2024)
Changed paths:
M llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
M llvm/test/Transforms/SLPVectorizer/AArch64/gather-with-minbith-user.ll
M llvm/test/Transforms/SLPVectorizer/AArch64/user-node-not-in-bitwidths.ll
M llvm/test/Transforms/SLPVectorizer/SystemZ/minbitwidth-root-trunc.ll
Log Message:
-----------
Revert "[SLP]Fix PR91467: Look through scalar cast, when trying to cast to another type."
This reverts commit 2475efa91d8b4fa8f1a2d16052cb6d14be7d5dc6.
Causes crashes, see comments on https://github.com/llvm/llvm-project/commit/2475efa91d8b4fa8f1a2d16052cb6d14be7d5dc6.
Commit: c0b5a96ac44a70bdc0b138e117e3fea1b49189f5
https://github.com/llvm/llvm-project/commit/c0b5a96ac44a70bdc0b138e117e3fea1b49189f5
Author: Craig Topper <craig.topper at sifive.com>
Date: 2024-05-08 (Wed, 08 May 2024)
Changed paths:
M llvm/test/CodeGen/RISCV/imm.ll
M llvm/test/CodeGen/RISCV/rv64-legal-i32/imm.ll
Log Message:
-----------
[RISCV] Add tests where we could use Zbs instructions in constant materialization. NFC
Commit: 36d8b37dfaa95b8b4e21cb8269fefb62e1f59c2f
https://github.com/llvm/llvm-project/commit/36d8b37dfaa95b8b4e21cb8269fefb62e1f59c2f
Author: Craig Topper <craig.topper at sifive.com>
Date: 2024-05-08 (Wed, 08 May 2024)
Changed paths:
M llvm/test/CodeGen/RISCV/imm.ll
M llvm/test/CodeGen/RISCV/rv64-legal-i32/imm.ll
Log Message:
-----------
[RISCV] Add another missed Zbs constant materialization test. NFC
This can be LI+BCLRI+BCLRI.
Commit: 1710c8cf0f8def4984893e9dd646579de5528d95
https://github.com/llvm/llvm-project/commit/1710c8cf0f8def4984893e9dd646579de5528d95
Author: Slava Zakharin <szakharin at nvidia.com>
Date: 2024-05-08 (Wed, 08 May 2024)
Changed paths:
M flang/include/flang/Lower/AbstractConverter.h
M flang/include/flang/Optimizer/Builder/HLFIRTools.h
M flang/include/flang/Optimizer/HLFIR/HLFIROps.td
M flang/lib/Lower/Bridge.cpp
M flang/lib/Lower/ConvertArrayConstructor.cpp
M flang/lib/Lower/ConvertExprToHLFIR.cpp
M flang/lib/Lower/ConvertVariable.cpp
M flang/lib/Lower/OpenACC.cpp
M flang/lib/Lower/OpenMP/ClauseProcessor.cpp
M flang/lib/Optimizer/Builder/HLFIRTools.cpp
M flang/lib/Optimizer/Builder/TemporaryStorage.cpp
M flang/lib/Optimizer/HLFIR/IR/HLFIROps.cpp
M flang/lib/Optimizer/HLFIR/Transforms/BufferizeHLFIR.cpp
M flang/test/Fir/dispatch.f90
M flang/test/HLFIR/assumed-type-actual-args.f90
M flang/test/HLFIR/assumed_shape_with_value_keyword.f90
M flang/test/HLFIR/boxchar_emboxing.f90
M flang/test/HLFIR/c_ptr_byvalue.f90
M flang/test/HLFIR/call_with_poly_dummy.f90
M flang/test/HLFIR/optional_dummy.f90
M flang/test/HLFIR/order_assignments/where-scheduling.f90
M flang/test/Lower/CUDA/cuda-data-attribute.cuf
M flang/test/Lower/HLFIR/actual_target_for_dummy_pointer.f90
M flang/test/Lower/HLFIR/allocatable-and-pointer-status-change.f90
M flang/test/Lower/HLFIR/allocatables-and-pointers.f90
M flang/test/Lower/HLFIR/array-ctor-as-elemental-nested.f90
M flang/test/Lower/HLFIR/array-ctor-as-elemental.f90
M flang/test/Lower/HLFIR/array-ctor-as-inlined-temp.f90
M flang/test/Lower/HLFIR/array-ctor-index.f90
M flang/test/Lower/HLFIR/assignment-intrinsics.f90
M flang/test/Lower/HLFIR/assumed-rank-iface-alloc-ptr.f90
M flang/test/Lower/HLFIR/assumed-rank-iface.f90
M flang/test/Lower/HLFIR/binary-ops.f90
M flang/test/Lower/HLFIR/bindc-value-derived.f90
M flang/test/Lower/HLFIR/call-sequence-associated-descriptors.f90
M flang/test/Lower/HLFIR/calls-assumed-shape.f90
M flang/test/Lower/HLFIR/calls-constant-expr-arg.f90
M flang/test/Lower/HLFIR/calls-f77.f90
M flang/test/Lower/HLFIR/calls-optional.f90
M flang/test/Lower/HLFIR/calls-percent-val-ref.f90
M flang/test/Lower/HLFIR/calls-poly-to-assumed-type.f90
M flang/test/Lower/HLFIR/char_extremum.f03
M flang/test/Lower/HLFIR/charconvert.f90
M flang/test/Lower/HLFIR/convert-mbox-to-value.f90
M flang/test/Lower/HLFIR/convert-variable-block.f90
M flang/test/Lower/HLFIR/convert-variable.f90
M flang/test/Lower/HLFIR/cray-pointers.f90
M flang/test/Lower/HLFIR/custom-intrinsic.f90
M flang/test/Lower/HLFIR/designators-component-ref.f90
M flang/test/Lower/HLFIR/designators.f90
M flang/test/Lower/HLFIR/dot_product.f90
M flang/test/Lower/HLFIR/elemental-array-ops.f90
M flang/test/Lower/HLFIR/elemental-polymorphic-merge.f90
M flang/test/Lower/HLFIR/elemental-user-procedure-ref.f90
M flang/test/Lower/HLFIR/expr-addr.f90
M flang/test/Lower/HLFIR/expr-box.f90
M flang/test/Lower/HLFIR/expr-value.f90
M flang/test/Lower/HLFIR/ignore-rank-unlimited-polymorphic.f90
M flang/test/Lower/HLFIR/implicit-type-conversion.f90
M flang/test/Lower/HLFIR/intentout-allocatable-components.f90
M flang/test/Lower/HLFIR/internal-procedures.f90
M flang/test/Lower/HLFIR/intrinsic-dynamically-optional.f90
M flang/test/Lower/HLFIR/issue80884.f90
M flang/test/Lower/HLFIR/maxloc.f90
M flang/test/Lower/HLFIR/minloc.f90
M flang/test/Lower/HLFIR/procedure-pointer.f90
M flang/test/Lower/HLFIR/statement-functions.f90
M flang/test/Lower/HLFIR/structure-constructor.f90
M flang/test/Lower/HLFIR/transformational.f90
M flang/test/Lower/HLFIR/transpose.f90
M flang/test/Lower/HLFIR/unary-ops.f90
M flang/test/Lower/HLFIR/user-defined-assignment.f90
M flang/test/Lower/HLFIR/vector-subscript-as-value.f90
M flang/test/Lower/Intrinsics/associated-proc-pointers.f90
M flang/test/Lower/Intrinsics/c_f_procpointer.f90
M flang/test/Lower/Intrinsics/c_funloc-proc-pointers.f90
M flang/test/Lower/Intrinsics/c_ptr_eq_ne.f90
M flang/test/Lower/Intrinsics/execute_command_line-optional.f90
M flang/test/Lower/Intrinsics/execute_command_line.f90
M flang/test/Lower/Intrinsics/ieee_logb.f90
M flang/test/Lower/Intrinsics/product.f90
M flang/test/Lower/Intrinsics/signal.f90
M flang/test/Lower/Intrinsics/sizeof.f90
M flang/test/Lower/Intrinsics/sum.f90
M flang/test/Lower/Intrinsics/system-optional.f90
M flang/test/Lower/Intrinsics/system.f90
M flang/test/Lower/OpenACC/acc-atomic-update-array.f90
M flang/test/Lower/OpenACC/acc-bounds.f90
M flang/test/Lower/OpenACC/acc-declare.f90
M flang/test/Lower/OpenACC/acc-loop-exit.f90
M flang/test/Lower/OpenACC/acc-private.f90
M flang/test/Lower/OpenACC/acc-reduction.f90
M flang/test/Lower/OpenMP/allocatable-array-bounds.f90
M flang/test/Lower/OpenMP/array-bounds.f90
M flang/test/Lower/OpenMP/flush.f90
M flang/test/Lower/OpenMP/parallel-firstprivate-clause-scalar.f90
M flang/test/Lower/OpenMP/parallel-lastprivate-clause-scalar.f90
M flang/test/Lower/OpenMP/parallel-private-clause-fixes.f90
M flang/test/Lower/OpenMP/parallel-private-clause-str.f90
M flang/test/Lower/OpenMP/parallel-reduction3.f90
M flang/test/Lower/OpenMP/parallel-wsloop-firstpriv.f90
M flang/test/Lower/OpenMP/parallel-wsloop.f90
M flang/test/Lower/OpenMP/sections.f90
M flang/test/Lower/OpenMP/simd.f90
M flang/test/Lower/OpenMP/single.f90
M flang/test/Lower/OpenMP/target.f90
M flang/test/Lower/OpenMP/wsloop-reduction-array-assumed-shape.f90
M flang/test/Lower/OpenMP/wsloop-reduction-iand-byref.f90
M flang/test/Lower/OpenMP/wsloop-reduction-iand.f90
M flang/test/Lower/OpenMP/wsloop-reduction-ieor-byref.f90
M flang/test/Lower/OpenMP/wsloop-reduction-ieor.f90
M flang/test/Lower/OpenMP/wsloop-reduction-ior-byref.f90
M flang/test/Lower/OpenMP/wsloop-reduction-ior.f90
M flang/test/Lower/OpenMP/wsloop-reduction-logical-and-byref.f90
M flang/test/Lower/OpenMP/wsloop-reduction-logical-and.f90
M flang/test/Lower/OpenMP/wsloop-reduction-logical-eqv-byref.f90
M flang/test/Lower/OpenMP/wsloop-reduction-logical-eqv.f90
M flang/test/Lower/OpenMP/wsloop-reduction-logical-neqv-byref.f90
M flang/test/Lower/OpenMP/wsloop-reduction-logical-neqv.f90
M flang/test/Lower/OpenMP/wsloop-reduction-logical-or-byref.f90
M flang/test/Lower/OpenMP/wsloop-reduction-logical-or.f90
M flang/test/Lower/OpenMP/wsloop-reduction-max-byref.f90
M flang/test/Lower/OpenMP/wsloop-reduction-max-hlfir-byref.f90
M flang/test/Lower/OpenMP/wsloop-reduction-max-hlfir.f90
M flang/test/Lower/OpenMP/wsloop-reduction-max.f90
M flang/test/Lower/OpenMP/wsloop-reduction-min-byref.f90
M flang/test/Lower/OpenMP/wsloop-reduction-min.f90
M flang/test/Lower/allocatable-polymorphic.f90
M flang/test/Lower/array-expression.f90
M flang/test/Lower/character-substrings.f90
M flang/test/Lower/charconvert.f90
M flang/test/Lower/dispatch.f90
M flang/test/Lower/do_loop.f90
M flang/test/Lower/pointer-references.f90
M flang/test/Lower/polymorphic.f90
M flang/test/Lower/select-type.f90
M flang/test/Lower/structure-constructors-alloc-comp.f90
Log Message:
-----------
[flang] Lowering changes for assigning dummy_scope to hlfir.declare. (#90989)
The lowering produces fir.dummy_scope operation if the current
function has dummy arguments. Each hlfir.declare generated
for a dummy argument is then using the result of fir.dummy_scope
as its dummy_scope operand. This is only done for HLFIR.
I was not able to find a reliable way to identify dummy symbols
in `genDeclareSymbol`, so I added a set of registered dummy symbols
that is alive during the variables instantiation for the current
function. The set is initialized during the mapping of the dummy
argument symbols to their MLIR values. It is reset right after
all variables are instantiated - this is done to avoid generating
hlfir.declare operations with dummy_scope for the clones of
the dummy symbols (e.g. this happens with OpenMP privatization).
If this can be done in a cleaner way, please advise.
Commit: 96568f3539d8a72432a03257a7a8ed2f36014b59
https://github.com/llvm/llvm-project/commit/96568f3539d8a72432a03257a7a8ed2f36014b59
Author: Mircea Trofin <mtrofin at google.com>
Date: 2024-05-08 (Wed, 08 May 2024)
Changed paths:
M llvm/docs/LangRef.rst
M llvm/include/llvm/Transforms/Instrumentation/PGOCtxProfLowering.h
M llvm/lib/Passes/PassBuilder.cpp
M llvm/lib/Passes/PassBuilderPipelines.cpp
M llvm/lib/Passes/PassRegistry.def
M llvm/lib/Transforms/Instrumentation/PGOCtxProfLowering.cpp
A llvm/test/Transforms/PGOProfile/ctx-instrumentation-invalid-roots.ll
M llvm/test/Transforms/PGOProfile/ctx-instrumentation.ll
Log Message:
-----------
[llvm][ctx_profile] Add instrumentation lowering (#90821)
This adds the instrumentation lowering pass.
(Tracking Issue: #89287, RFC referenced there)
Commit: 1aaab334c53d5c52ae337939e9c853e6e1061128
https://github.com/llvm/llvm-project/commit/1aaab334c53d5c52ae337939e9c853e6e1061128
Author: Craig Topper <craig.topper at sifive.com>
Date: 2024-05-08 (Wed, 08 May 2024)
Changed paths:
M llvm/lib/TargetParser/RISCVISAInfo.cpp
Log Message:
-----------
[RISCV] Don't use std::vector<std::string> for split extensions in RISCVISAInfo::parseArchString. NFC (#91538)
We can use a SmallVector<StringRef>.
Adjust the code so we check for empty strings in the loop instead of
making a copy of the vector returned from StringRef::split.
This overlaps with #91532 which also removed the std::vector, but
that PR may be more controversial.
Commit: 409ff97aac00e5a677c90353b8b413c2bf46e28f
https://github.com/llvm/llvm-project/commit/409ff97aac00e5a677c90353b8b413c2bf46e28f
Author: AtariDreams <gfunni234 at gmail.com>
Date: 2024-05-09 (Thu, 09 May 2024)
Changed paths:
M llvm/lib/Transforms/InstCombine/InstCombineShifts.cpp
Log Message:
-----------
[InstCombine] Fix comment from #88193 (NFC) (#91427)
It is inaccurate and needs to be corrected.
Commit: ba5170f430b027c6d290f57d7a5d7ba6ee2b265b
https://github.com/llvm/llvm-project/commit/ba5170f430b027c6d290f57d7a5d7ba6ee2b265b
Author: AtariDreams <gfunni234 at gmail.com>
Date: 2024-05-09 (Thu, 09 May 2024)
Changed paths:
M llvm/test/Transforms/InstCombine/lshr.ll
Log Message:
-----------
[InstCombine] Thwart complexity-based canonicalization in shl-add test (NFC) (#91413)
Fixed test for #88193
Commit: 62b5b61f436add042d8729dc9837d055613180d9
https://github.com/llvm/llvm-project/commit/62b5b61f436add042d8729dc9837d055613180d9
Author: Krystian Stasiowski <sdkrystian at gmail.com>
Date: 2024-05-08 (Wed, 08 May 2024)
Changed paths:
M clang/lib/Sema/SemaLookup.cpp
M clang/lib/Sema/SemaTemplate.cpp
M clang/test/CXX/temp/temp.res/temp.dep/temp.dep.type/p4.cpp
Log Message:
-----------
[Clang][Sema] Fix lookup of dependent operator= outside of complete-class contexts (#91498)
Fixes a crash caused by #90152.
Commit: 73a01448c733bf08443435927677d0ebd133615b
https://github.com/llvm/llvm-project/commit/73a01448c733bf08443435927677d0ebd133615b
Author: Maksim Panchenko <maks at fb.com>
Date: 2024-05-08 (Wed, 08 May 2024)
Changed paths:
A bolt/test/X86/Inputs/jump-table-fixed-ref-pic.s
A bolt/test/X86/jump-table-fixed-ref-pic.test
Log Message:
-----------
[BOLT] Add test case for PIC fixed indirect jump (#91547)
A compiler can generate a redundant indirection for a jump via a fixed
jump table target. Add a test case that covers such pattern that covers
PIC case. We already have non-PIC case detection.
Currently XFAIL.
Commit: 51f178d909d477bd269e0b434af1a7f9373d4e61
https://github.com/llvm/llvm-project/commit/51f178d909d477bd269e0b434af1a7f9373d4e61
Author: Artem Dergachev <adergachev at apple.com>
Date: 2024-05-08 (Wed, 08 May 2024)
Changed paths:
M clang/lib/StaticAnalyzer/Checkers/MallocChecker.cpp
M clang/test/Analysis/Inputs/system-header-simulator-cxx.h
M clang/test/Analysis/NewDelete-atomics.cpp
Log Message:
-----------
[analyzer] MallocChecker: Recognize std::atomics in smart pointer suppression. (#90918)
Fixes #90498.
Same as 5337efc69cdd5 for atomic builtins, but for `std::atomic` this
time. This is useful because even though the actual builtin atomic is
still there, it may be buried beyond the inlining depth limit.
Also add one popular custom smart pointer class name to the name-based
heuristics, which isn't necessary to fix the bug but arguably a good
idea regardless.
Commit: ea126aebdc9d8205016f355d85dbf1c15f2f4b28
https://github.com/llvm/llvm-project/commit/ea126aebdc9d8205016f355d85dbf1c15f2f4b28
Author: Felix (Ting Wang) <Ting.Wang.SH at ibm.com>
Date: 2024-05-09 (Thu, 09 May 2024)
Changed paths:
M clang/include/clang/Driver/Options.td
M clang/lib/Basic/Targets/PPC.cpp
M clang/lib/Basic/Targets/PPC.h
M llvm/lib/Target/PowerPC/PPC.td
M llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
M llvm/lib/Target/PowerPC/PPCISelLowering.cpp
M llvm/lib/Target/PowerPC/PPCMCInstLower.cpp
M llvm/lib/Target/PowerPC/PPCMachineFunctionInfo.h
M llvm/lib/Target/PowerPC/PPCSubtarget.cpp
A llvm/test/CodeGen/PowerPC/aix-shared-lib-tls-model-opt-small-local-dynamic-tls.ll
A llvm/test/CodeGen/PowerPC/aix-shared-lib-tls-model-opt.ll
A llvm/test/CodeGen/PowerPC/check-aix-shared-lib-tls-model-opt-IRattribute.ll
A llvm/test/CodeGen/PowerPC/check-aix-shared-lib-tls-model-opt-Option.ll
Log Message:
-----------
[PowerPC] Tune AIX shared library TLS model at function level (#84132)
Under some circumstance (library loaded with the main program), TLS
initial-exec model can be applied to local-dynamic access(es). We
could use some simple heuristic to decide the update at function level:
* If there is equal or less than a number of TLS local-dynamic access(es)
in the function, use TLS initial-exec model. (the threshold which default to
1 is controlled by hidden option)
Commit: b910bebc300dafb30569cecc3017b446ea8eafa0
https://github.com/llvm/llvm-project/commit/b910bebc300dafb30569cecc3017b446ea8eafa0
Author: Zixu Wang <9819235+zixu-w at users.noreply.github.com>
Date: 2024-05-08 (Wed, 08 May 2024)
Changed paths:
M llvm/include/llvm/Object/MachO.h
M llvm/lib/Object/MachOObjectFile.cpp
A llvm/test/Object/Inputs/MachO/bind-negative-skip.yaml
A llvm/test/Object/macho-bind-negative-skip.test
Log Message:
-----------
[llvm][MachO] Fix integer truncation in rebase/bind parsing (#89337)
`Count` and `Skip` should use `uint64_t` as they are encoded/decoded
using 64-bit ULEB128.
In `*_OPCODE_DO_*_ULEB_TIMES_SKIPPING_ULEB`, `Skip` could be encoded as
a two's complement for moving `SegmentOffset` backwards. Having a 32-bit
`Skip` truncates the encoded value and leads to a malformed
`AdvanceAmount`
and invalid `SegmentOffset` that extends past valid sections.
Commit: a39a382755c8cf27ecd9a646e720610f48dc09ad
https://github.com/llvm/llvm-project/commit/a39a382755c8cf27ecd9a646e720610f48dc09ad
Author: Nikita Popov <npopov at redhat.com>
Date: 2024-05-09 (Thu, 09 May 2024)
Changed paths:
M llvm/test/Transforms/InstCombine/add.ll
Log Message:
-----------
[InstCombine] Thwart complexity-based canonicalization (NFC)
These tests did not test what they were supposed to. The transform
fails to actually handle the commuted cases.
Commit: 0d335f78e45341db53d9f956adcebbb2d2616c9a
https://github.com/llvm/llvm-project/commit/0d335f78e45341db53d9f956adcebbb2d2616c9a
Author: Nikita Popov <npopov at redhat.com>
Date: 2024-05-09 (Thu, 09 May 2024)
Changed paths:
M llvm/lib/Transforms/InstCombine/InstCombineAddSub.cpp
M llvm/test/Transforms/InstCombine/add.ll
Log Message:
-----------
[InstCombine] Handle more commuted cases in matchesSquareSum()
Commit: f958a7348fcb27c3c6b07f1c8bdb902c7525b845
https://github.com/llvm/llvm-project/commit/f958a7348fcb27c3c6b07f1c8bdb902c7525b845
Author: Nikita Popov <npopov at redhat.com>
Date: 2024-05-09 (Thu, 09 May 2024)
Changed paths:
M llvm/test/Transforms/InstCombine/call-guard.ll
M llvm/test/Transforms/InstCombine/fast-math.ll
Log Message:
-----------
[InstCombine] Fix name clashes in check lines (NFC)
These used both lower and upper case variants of the same name,
resulting in malformed check lines when regenerated.
Commit: 8f4f34f10345806b25b892d3df15951ee820de82
https://github.com/llvm/llvm-project/commit/8f4f34f10345806b25b892d3df15951ee820de82
Author: Luke Lau <luke at igalia.com>
Date: 2024-05-09 (Thu, 09 May 2024)
Changed paths:
M llvm/test/CodeGen/RISCV/rvv/sink-splat-operands.ll
Log Message:
-----------
[RISCV] Add test for vmerge.vvm that could have splat sunk. NFC
Commit: 73d423319c0957a9b16ed8d5fb7c8336729b9c38
https://github.com/llvm/llvm-project/commit/73d423319c0957a9b16ed8d5fb7c8336729b9c38
Author: Nikita Popov <npopov at redhat.com>
Date: 2024-05-09 (Thu, 09 May 2024)
Changed paths:
M llvm/test/Transforms/InstCombine/apint-and-xor-merge.ll
M llvm/test/Transforms/InstCombine/apint-or.ll
M llvm/test/Transforms/InstCombine/trunc-binop-ext.ll
Log Message:
-----------
[InstCombine] Regenerate test checks (NFC)
Commit: 3a3aeb8eba40e981d3a9ff92175f949c2f3d4434
https://github.com/llvm/llvm-project/commit/3a3aeb8eba40e981d3a9ff92175f949c2f3d4434
Author: Nikita Popov <npopov at redhat.com>
Date: 2024-05-09 (Thu, 09 May 2024)
Changed paths:
M llvm/lib/Target/PowerPC/PPCMergeStringPool.cpp
M llvm/test/CodeGen/PowerPC/merge-string-used-by-metadata.mir
A llvm/test/CodeGen/PowerPC/mergeable-string-pool-exceptions.ll
M llvm/test/CodeGen/PowerPC/mergeable-string-pool-pass-only.mir
Log Message:
-----------
[PPCMergeStringPool] Avoid replacing constant with instruction (#88846)
String pool merging currently, for a reason that's not entirely clear to
me, tries to create GEP instructions instead of GEP constant expressions
when replacing constant references. It only uses constant expressions in
cases where this is required. However, it does not catch all cases where
such a requirement exists. For example, the landingpad catch clause has
to be a constant.
Fix this by always using the constant expression variant, which also
makes the implementation simpler.
Additionally, there are some edge cases where even replacement with a
constant GEP is not legal. The one I am aware of is the
llvm.eh.typeid.for intrinsic, so add a special case to forbid
replacements for it.
Fixes https://github.com/llvm/llvm-project/issues/88844.
Commit: 5baf58b628a4488de3f1a6af7c0df180358ba5dc
https://github.com/llvm/llvm-project/commit/5baf58b628a4488de3f1a6af7c0df180358ba5dc
Author: Craig Topper <craig.topper at sifive.com>
Date: 2024-05-08 (Wed, 08 May 2024)
Changed paths:
M llvm/lib/Target/RISCV/MCTargetDesc/RISCVMatInt.cpp
M llvm/test/CodeGen/RISCV/imm.ll
M llvm/test/CodeGen/RISCV/rv64-legal-i32/imm.ll
Log Message:
-----------
[RISCV] Improve use of BSETI/BCLRI in constant materialization. (#91546)
We failed to use BSETI when bit 31 was set and a few bits above bit 31
were set. We also failed to use multiple BSETI when the low 32 bits were
zero.
I've removed the special cases for constants 0x80000000-0xffffffff and
wrote a more generic algorithm for BSETI.
I've rewritten the BCLRI handling to be similar to the new BSETI
algorithm. This picks up cases where bit 31 is 0 and only a few high
bits are 0.
Commit: 666970cab2e80055cf1e5b5e9025c8f88e0d0732
https://github.com/llvm/llvm-project/commit/666970cab2e80055cf1e5b5e9025c8f88e0d0732
Author: Craig Topper <craig.topper at sifive.com>
Date: 2024-05-08 (Wed, 08 May 2024)
Changed paths:
M llvm/lib/Target/RISCV/RISCVPostRAExpandPseudoInsts.cpp
Log Message:
-----------
[RISCV] Remove unnecessary initialization from RISCVPostRAExpandPseudo pass constructor.
It is already initialized in RISCVTargetMachine.cpp
Commit: 2a57657d5571b097eb0070e6f26ad4954c0fd990
https://github.com/llvm/llvm-project/commit/2a57657d5571b097eb0070e6f26ad4954c0fd990
Author: chandan singh <36783761+chandankds at users.noreply.github.com>
Date: 2024-05-09 (Thu, 09 May 2024)
Changed paths:
M openmp/runtime/src/z_Linux_asm.S
A openmp/runtime/test/misc_bugs/omp__kmpc_fork_call_if.c
Log Message:
-----------
[OpenMP] [Flang] Resolved Issue llvm#76121: Implemented Check for Unhandled Arguments in __kmpc_fork_call_if (#82221)
Root cause: Segmentation fault is caused by null pointer dereference
inside the __kmpc_fork_call_if function at
https://github.com/llvm/llvm-project/blob/main/openmp/runtime/src/z_Linux_asm.S#L1186
. __kmpc_fork_call_if is missing case to handle argc=0 .
Fix: Added a check inside the __kmp_invoke_microtask function to handle
the case when argc is 0.
---------
Co-authored-by: Singh <chasingh at amd.com>
Commit: 5adcfd4c17826b2b8f023881baa1c7f79cb23920
https://github.com/llvm/llvm-project/commit/5adcfd4c17826b2b8f023881baa1c7f79cb23920
Author: Michael Klemm <michael.klemm at amd.com>
Date: 2024-05-09 (Thu, 09 May 2024)
Changed paths:
M llvm/runtimes/CMakeLists.txt
Log Message:
-----------
[flang][CMake] Add missing dependency to generate Fortran module files (#91517)
Fixes bug https://github.com/llvm/llvm-project/issues/90769. Many thanks
to @Meinersbur for providing the initial thought and solution to this.
Commit: 90ffaa6ccc6dc7351c72979da217bd3eb7fd4491
https://github.com/llvm/llvm-project/commit/90ffaa6ccc6dc7351c72979da217bd3eb7fd4491
Author: Nikita Popov <npopov at redhat.com>
Date: 2024-05-09 (Thu, 09 May 2024)
Changed paths:
M llvm/test/Transforms/InstCombine/or-xor.ll
Log Message:
-----------
[InstCombine] Add proper test coverage for or of xors pattern (NFC)
Test all commuted variants of the pattern, most of which currently
fail to fold.
Commit: 534701d5f93369e822f3afc9670e3a42b08dfc6f
https://github.com/llvm/llvm-project/commit/534701d5f93369e822f3afc9670e3a42b08dfc6f
Author: Nikita Popov <npopov at redhat.com>
Date: 2024-05-09 (Thu, 09 May 2024)
Changed paths:
M llvm/lib/Transforms/InstCombine/InstCombineAndOrXor.cpp
M llvm/test/Transforms/InstCombine/or-xor.ll
Log Message:
-----------
[InstCombine] Handle commuted variants in or of xor pattern
This pattern only handled commutation in the "or", while all
involved operations are commutative. Make sure we handle all
sixteen patterns.
Commit: 97be79ca126c1a0e174fdbc345a28868edc7cdc7
https://github.com/llvm/llvm-project/commit/97be79ca126c1a0e174fdbc345a28868edc7cdc7
Author: Nikita Popov <npopov at redhat.com>
Date: 2024-05-09 (Thu, 09 May 2024)
Changed paths:
M llvm/test/Transforms/Reassociate/fast-ArrayOutOfBounds.ll
Log Message:
-----------
[Reassociate] Generate test checks (NFC)
Commit: 042a0b000dfe602ee0432be5ff88c67f531791bc
https://github.com/llvm/llvm-project/commit/042a0b000dfe602ee0432be5ff88c67f531791bc
Author: Pavel Labath <pavel at labath.sk>
Date: 2024-05-09 (Thu, 09 May 2024)
Changed paths:
M lldb/source/Plugins/TypeSystem/Clang/TypeSystemClang.cpp
M lldb/test/API/python_api/type/TestTypeList.py
M lldb/test/API/python_api/type/main.cpp
Log Message:
-----------
[lldb] Make SBType::GetDirectNestedType (mostly) work with typedefs (#91189)
The implementation is straight-forward, but comes with a big disclaimer.
See #91186 for details.
Commit: fd1bd53ba5a06f344698a55578f6a5d79c457e30
https://github.com/llvm/llvm-project/commit/fd1bd53ba5a06f344698a55578f6a5d79c457e30
Author: Pavel Labath <pavel at labath.sk>
Date: 2024-05-09 (Thu, 09 May 2024)
Changed paths:
M lldb/source/Plugins/Instruction/ARM64/EmulateInstructionARM64.cpp
M lldb/source/Plugins/UnwindAssembly/InstEmulation/UnwindAssemblyInstEmulation.cpp
M lldb/source/Target/RegisterContextUnwind.cpp
A lldb/test/Shell/Unwind/Inputs/signal-in-leaf-function-aarch64.c
A lldb/test/Shell/Unwind/signal-in-leaf-function-aarch64.test
M lldb/unittests/UnwindAssembly/ARM64/TestArm64InstEmulation.cpp
Log Message:
-----------
[lldb/aarch64] Fix unwinding when signal interrupts a leaf function (#91321)
A leaf function may not store the link register to stack, but we it can
still end up being a non-zero frame if it gets interrupted by a signal.
Currently, we were unable to unwind past this function because we could
not read the link register value.
To make this work, this patch:
- changes the function-entry unwind plan to include the `fp|lr = <same>`
rules. This in turn necessitated an adjustment in the generic
instruction emulation logic to ensure that `lr=[sp-X]` can override the
`<same>` rule.
- allows the `<same>` rule for pc and lr in all
`m_all_registers_available` frames (and not just frame zero).
The test verifies that we can unwind in a situation like this, and that
the backtrace matches the one we computed before getting a signal.
Commit: dec8055a1e71fe25d4b85416ede742e8fdfaf3f0
https://github.com/llvm/llvm-project/commit/dec8055a1e71fe25d4b85416ede742e8fdfaf3f0
Author: Kazu Hirata <kazu at google.com>
Date: 2024-05-08 (Wed, 08 May 2024)
Changed paths:
M mlir/lib/Conversion/GPUCommon/GPUToLLVMConversion.cpp
M mlir/lib/Conversion/GPUToNVVM/WmmaOpsToNvvm.cpp
M mlir/lib/Conversion/VectorToSCF/VectorToSCF.cpp
M mlir/lib/Dialect/Affine/IR/AffineOps.cpp
M mlir/lib/Dialect/GPU/IR/GPUDialect.cpp
M mlir/lib/Dialect/LLVMIR/IR/TypeDetail.h
M mlir/lib/Dialect/MemRef/IR/MemRefOps.cpp
M mlir/lib/Dialect/SparseTensor/IR/Detail/LvlTypeParser.cpp
M mlir/lib/IR/AttributeDetail.h
M mlir/lib/TableGen/Builder.cpp
M mlir/lib/Target/LLVMIR/Dialect/LLVMIR/LLVMIRToLLVMTranslation.cpp
M mlir/test/lib/Dialect/Test/TestOpsSyntax.cpp
M mlir/tools/mlir-tblgen/AttrOrTypeDefGen.cpp
M mlir/tools/mlir-tblgen/OpPythonBindingGen.cpp
Log Message:
-----------
[mlir] Use StringRef::operator== instead of StringRef::equals (NFC) (#91560)
I'm planning to remove StringRef::equals in favor of
StringRef::operator==.
- StringRef::operator==/!= outnumber StringRef::equals by a factor of
10 under mlir/ in terms of their usage.
- The elimination of StringRef::equals brings StringRef closer to
std::string_view, which has operator== but not equals.
- S == "foo" is more readable than S.equals("foo"), especially for
!Long.Expression.equals("str") vs Long.Expression != "str".
Commit: aacea0d0f67401f5a0b74947f3ff179ade9cbf6d
https://github.com/llvm/llvm-project/commit/aacea0d0f67401f5a0b74947f3ff179ade9cbf6d
Author: Fangrui Song <i at maskray.me>
Date: 2024-05-08 (Wed, 08 May 2024)
Changed paths:
M llvm/docs/TestingGuide.rst
M llvm/test/tools/UpdateTestChecks/lit.local.cfg
A llvm/test/tools/UpdateTestChecks/update_test_body/Inputs/basic-asm.test.expected
A llvm/test/tools/UpdateTestChecks/update_test_body/Inputs/basic.test.expected
A llvm/test/tools/UpdateTestChecks/update_test_body/basic-asm.test
A llvm/test/tools/UpdateTestChecks/update_test_body/basic.test
A llvm/test/tools/UpdateTestChecks/update_test_body/empty-stdout.test
A llvm/test/tools/UpdateTestChecks/update_test_body/gen-absent.test
A llvm/test/tools/UpdateTestChecks/update_test_body/gen-fail.test
A llvm/test/tools/UpdateTestChecks/update_test_body/gen-unterminated.test
A llvm/test/tools/UpdateTestChecks/update_test_body/lit.local.cfg
M llvm/test/tools/llvm-dwarfdump/X86/formclass4.s
M llvm/test/tools/llvm-dwarfdump/X86/prettyprint_type_units_split_v5.s
A llvm/utils/update_test_body.py
Log Message:
-----------
[utils] Add script to generate elaborated IR and assembly tests (#89026)
Generally, IR and assembly test files benefit from being cleaned to
remove unnecessary details. However, for tests requiring elaborate
IR or assembly files where cleanup is less practical (e.g., large amount
of debug information output from Clang), the current practice is to
include the C/C++ source file and the generation instructions as
comments.
This is inconvenient when regeneration is needed. This patch adds
`llvm/utils/update_test_body.py` to allow easier regeneration.
`ld.lld --debug-names` tests (#86508) utilize this script for
Clang-generated assembly tests.
Note: `-o pipefail` is standard (since
https://www.austingroupbugs.net/view.php?id=789) but not supported by
dash.
Link:
https://discourse.llvm.org/t/utility-to-generate-elaborated-assembly-ir-tests/78408
Commit: c4a3d184db5fdffe798208b8281dfe944616f9ed
https://github.com/llvm/llvm-project/commit/c4a3d184db5fdffe798208b8281dfe944616f9ed
Author: Vlad Mishel <43666597+vmishelcs at users.noreply.github.com>
Date: 2024-05-09 (Thu, 09 May 2024)
Changed paths:
M libc/src/__support/CPP/CMakeLists.txt
A libc/src/__support/CPP/mutex.h
M libc/src/__support/File/CMakeLists.txt
M libc/src/__support/File/dir.cpp
M libc/src/__support/threads/CMakeLists.txt
M libc/src/__support/threads/fork_callbacks.cpp
M libc/src/__support/threads/thread.cpp
M libc/src/stdlib/CMakeLists.txt
M libc/src/stdlib/atexit.cpp
M libc/src/threads/linux/CMakeLists.txt
M libc/src/threads/linux/CndVar.h
M libc/test/src/__support/CPP/CMakeLists.txt
A libc/test/src/__support/CPP/mutex_test.cpp
Log Message:
-----------
[libc] Replace `MutexLock` with `cpp::lock_guard` (#89340)
This PR address issue #89002.
#### Changes in this PR
* Added a simple implementation of `cpp::lock_guard` (an equivalent of
`std::lock_guard`) in libc/src/__support/CPP inspired by the libstdc++
implementation
* Added tests for `cpp::lock_guard` in
/libc/test/src/__support/CPP/mutex_test.cpp
* Replaced all references to `MutexLock` with `cpp::lock_guard`
---------
Co-authored-by: Guillaume Chatelet <gchatelet at google.com>
Commit: 443377a9d1a8d4a69a317a1a892184c59dd0aec6
https://github.com/llvm/llvm-project/commit/443377a9d1a8d4a69a317a1a892184c59dd0aec6
Author: Daniel M. Katz <katzdm at gmail.com>
Date: 2024-05-09 (Thu, 09 May 2024)
Changed paths:
M clang/docs/ReleaseNotes.rst
M clang/include/clang/Sema/Sema.h
M clang/lib/Parse/ParseDecl.cpp
M clang/lib/Sema/SemaChecking.cpp
M clang/lib/Sema/SemaDeclCXX.cpp
M clang/lib/Sema/SemaExpr.cpp
M clang/test/SemaCXX/cxx2a-consteval.cpp
M clang/test/SemaCXX/cxx2b-consteval-propagate.cpp
M clang/test/SemaCXX/enum-scoped.cpp
Log Message:
-----------
[Clang] Fix P2564 handling of variable initializers (#89565)
The following program produces a diagnostic in Clang and EDG, but
compiles correctly in GCC and MSVC:
```cpp
#include <vector>
consteval std::vector<int> fn() { return {1,2,3}; }
constexpr int a = fn()[1];
```
Clang's diagnostic is as follows:
```cpp
<source>:6:19: error: call to consteval function 'fn' is not a constant expression
6 | constexpr int a = fn()[1];
| ^
<source>:6:19: note: pointer to subobject of heap-allocated object is not a constant expression
/opt/compiler-explorer/gcc-snapshot/lib/gcc/x86_64-linux-gnu/14.0.1/../../../../include/c++/14.0.1/bits/allocator.h:193:31: note: heap allocation performed here
193 | return static_cast<_Tp*>(::operator new(__n));
| ^
1 error generated.
Compiler returned: 1
```
Based on my understanding of
[`[dcl.constexpr]/6`](https://eel.is/c++draft/dcl.constexpr#6):
> In any constexpr variable declaration, the full-expression of the
initialization shall be a constant expression
It seems to me that GCC and MSVC are correct: the initializer `fn()[1]`
does not evaluate to an lvalue referencing a heap-allocated value within
the `vector` returned by `fn()`; it evaluates to an lvalue-to-rvalue
conversion _from_ that heap-allocated value.
This PR turns out to be a bug fix on the implementation of
[P2564R3](https://wg21.link/p2564r3); as such, it only applies to C++23
and later. The core problem is that the definition of a
constant-initialized variable
([`[expr.const/2]`](https://eel.is/c++draft/expr.const#2)) is contingent
on whether the initializer can be evaluated as a constant expression:
> A variable or temporary object o is _constant-initialized_ if [...]
the full-expression of its initialization is a constant expression when
interpreted as a _constant-expression_, [...]
That can't be known until we've finished parsing the initializer, by
which time we've already added immediate invocations and consteval
references to the current expression evaluation context. This will have
the effect of evaluating said invocations as full expressions when the
context is popped, even if they're subexpressions of a larger constant
expression initializer. If, however, the variable _is_
constant-initialized, then its initializer is [manifestly
constant-evaluated](https://eel.is/c++draft/expr.const#20):
> An expression or conversion is _manifestly constant-evaluated_ if it
is [...] **the initializer of a variable that is usable in constant
expressions or has constant initialization** [...]
which in turn means that any subexpressions naming an immediate function
are in an [immediate function
context](https://eel.is/c++draft/expr.const#16):
> An expression or conversion is in an immediate function context if it
is potentially evaluated and either [...] it is a **subexpression of a
manifestly constant-evaluated expression** or conversion
and therefore _are not to be considered [immediate
invocations](https://eel.is/c++draft/expr.const#16) or
[immediate-escalating
expressions](https://eel.is/c++draft/expr.const#17) in the first place_:
> An invocation is an _immediate invocation_ if it is a
potentially-evaluated explicit or implicit invocation of an immediate
function and **is not in an immediate function context**.
> An expression or conversion is _immediate-escalating_ if **it is not
initially in an immediate function context** and [...]
The approach that I'm therefore proposing is:
1. Create a new expression evaluation context for _every_ variable
initializer (rather than only nonlocal ones).
2. Attach initializers to `VarDecl`s _prior_ to popping the expression
evaluation context / scope / etc. This sequences the determination of
whether the initializer is in an immediate function context _before_ any
contained immediate invocations are evaluated.
3. When popping an expression evaluation context, elide all evaluations
of constant invocations, and all checks for consteval references, if the
context is an immediate function context. Note that if it could be
ascertained that this was an immediate function context at parse-time,
we [would never have
registered](https://github.com/llvm/llvm-project/blob/760910ddb918d77e7632be1678f69909384d69ae/clang/lib/Sema/SemaExpr.cpp#L17799)
these immediate invocations or consteval references in the first place.
Most of the test changes previously made for this PR are now reverted
and passing as-is. The only test updates needed are now as follows:
- A few diagnostics in `consteval-cxx2a.cpp` are updated to reflect that
it is the `consteval tester::tester` constructor, not the more narrow
`make_name` function call, which fails to be evaluated as a constant
expression.
- The reclassification of `warn_impcast_integer_precision_constant` as a
compile-time diagnostic adds a (somewhat duplicative) warning when
attempting to define an enum constant using a narrowing conversion. It
also, however, retains the existing diagnostics which @erichkeane
(rightly) objected to being lost from an earlier revision of this PR.
---------
Co-authored-by: cor3ntin <corentinjabot at gmail.com>
Commit: febd89cafea11e6603f593e41be1a21ca9d009ac
https://github.com/llvm/llvm-project/commit/febd89cafea11e6603f593e41be1a21ca9d009ac
Author: Vadim D <36827317+vvd170501 at users.noreply.github.com>
Date: 2024-05-09 (Thu, 09 May 2024)
Changed paths:
M clang-tools-extra/clang-tidy/readability/StringCompareCheck.cpp
M clang-tools-extra/clang-tidy/readability/StringCompareCheck.h
M clang-tools-extra/docs/ReleaseNotes.rst
M clang-tools-extra/docs/clang-tidy/checks/readability/string-compare.rst
M clang-tools-extra/test/clang-tidy/checkers/Inputs/Headers/string
A clang-tools-extra/test/clang-tidy/checkers/readability/string-compare-custom-string-classes.cpp
M clang-tools-extra/test/clang-tidy/checkers/readability/string-compare.cpp
Log Message:
-----------
[clang-tidy] check `std::string_view` and custom string-like classes in `readability-string-compare` (#88636)
This PR aims to expand the list of classes that are considered to be
"strings" by `readability-string-compare` check.
1. Currently only `std::string;:compare` is checked, but
`std::string_view` has a similar `compare` method. This PR enables
checking of `std::string_view::compare` by default.
2. Some codebases use custom string-like classes that have public
interfaces similar to `std::string` or `std::string_view`. Example:
[TStringBase](https://github.com/yandex/yatool/blob/main/util/generic/strbase.h#L38),
A new option, `readability-string-compare.StringClassNames`, is added to
allow specifying a custom list of string-like classes.
Related to, but does not solve #28396 (only adds support for custom
string-like classes, not custom functions)
Commit: b52fa9461ab73eaf2d04f32c806a1715b2595830
https://github.com/llvm/llvm-project/commit/b52fa9461ab73eaf2d04f32c806a1715b2595830
Author: David Sherwood <57997763+david-arm at users.noreply.github.com>
Date: 2024-05-09 (Thu, 09 May 2024)
Changed paths:
M llvm/include/llvm/CodeGen/BasicTTIImpl.h
M llvm/include/llvm/CodeGen/TargetLowering.h
M llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
M llvm/lib/CodeGen/TargetLoweringBase.cpp
A llvm/test/Analysis/CostModel/AArch64/cttz_elts.ll
A llvm/test/Analysis/CostModel/RISCV/cttz_elts.ll
Log Message:
-----------
[Analysis] Add cost model for experimental.cttz.elts intrinsic (#90720)
In PR #88385 I've added support for auto-vectorisation of some early
exit loops, which requires using the experimental.cttz.elts to calculate
final indices in the early exit block. We need a more accurate cost
model for this intrinsic to better reflect the cost of work required in
the early exit block. I've tried to accurately represent the expansion
code for the intrinsic when the target does not have efficient lowering
for it. It's quite tricky to model because you need to first figure out
what types will actually be used in the expansion. The type used can
have a significant effect on the cost if you end up using illegal vector
types.
Tests added here:
Analysis/CostModel/AArch64/cttz_elts.ll
Analysis/CostModel/RISCV/cttz_elts.ll
Commit: 105dd60fc86a20404bd97ea7132e2c746ade300a
https://github.com/llvm/llvm-project/commit/105dd60fc86a20404bd97ea7132e2c746ade300a
Author: Lukacma <Marian.Lukac at arm.com>
Date: 2024-05-09 (Thu, 09 May 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/test/CodeGen/aapcs64-align.cpp
Log Message:
-----------
[Clang][AArch64] Fixed incorrect _BitInt alignment (#90602)
This patch makes determining alignment and width of BitInt to be target
ABI specific and makes it consistent with [Procedure Call Standard for
the Arm® 64-bit Architecture
(AArch64)](https://github.com/ARM-software/abi-aa/blob/main/aapcs64/aapcs64.rst)
for AArch64 targets.
Commit: 8afa6cf510608079e24d07423782c4db20de7498
https://github.com/llvm/llvm-project/commit/8afa6cf510608079e24d07423782c4db20de7498
Author: Hristo Hristov <hghristov.rmm at gmail.com>
Date: 2024-05-09 (Thu, 09 May 2024)
Changed paths:
M libcxx/docs/FeatureTestMacroTable.rst
M libcxx/docs/ReleaseNotes/19.rst
M libcxx/docs/Status/Cxx2c.rst
M libcxx/docs/Status/Cxx2cIssues.csv
M libcxx/docs/Status/Cxx2cPapers.csv
M libcxx/include/__functional/reference_wrapper.h
M libcxx/include/functional
M libcxx/include/version
M libcxx/test/std/language.support/support.limits/support.limits.general/functional.version.compile.pass.cpp
M libcxx/test/std/language.support/support.limits/support.limits.general/version.version.compile.pass.cpp
A libcxx/test/std/utilities/function.objects/refwrap/refwrap.comparissons/compare.three_way.refwrap.const_ref.pass.cpp
A libcxx/test/std/utilities/function.objects/refwrap/refwrap.comparissons/compare.three_way.refwrap.refwrap.pass.cpp
A libcxx/test/std/utilities/function.objects/refwrap/refwrap.comparissons/compare.three_way.refwrap.refwrap_const.pass.cpp
A libcxx/test/std/utilities/function.objects/refwrap/refwrap.comparissons/equal.refwrap.const_ref.pass.cpp
A libcxx/test/std/utilities/function.objects/refwrap/refwrap.comparissons/equal.refwrap.refwrap.pass.cpp
A libcxx/test/std/utilities/function.objects/refwrap/refwrap.comparissons/equal.refwrap.refwrap_const.pass.cpp
A libcxx/test/std/utilities/function.objects/refwrap/refwrap.comparissons/helper_concepts.h
A libcxx/test/std/utilities/function.objects/refwrap/refwrap.comparissons/helper_types.h
M libcxx/utils/generate_feature_test_macro_components.py
Log Message:
-----------
[libc++][functional] P2944R3 (partial): Comparisons for `reference_wrapper` (`reference_wrapper` operators only) (#88384)
Implements https://wg21.link/P2944R3 (partially)
Implements https://wg21.link/LWG4071 /
https://cplusplus.github.io/LWG/issue4071 (fixes build failures in the
test suite)
- https://eel.is/c++draft/refwrap.comparisons
Commit: 2cbfe4a823020b2efe53d32ad7eccbc5a037943f
https://github.com/llvm/llvm-project/commit/2cbfe4a823020b2efe53d32ad7eccbc5a037943f
Author: Jay Foad <jay.foad at amd.com>
Date: 2024-05-09 (Thu, 09 May 2024)
Changed paths:
M llvm/test/CodeGen/AMDGPU/GlobalISel/llvm.amdgcn.workitem.id.ll
M llvm/test/CodeGen/AMDGPU/combine_vloads.ll
M llvm/test/CodeGen/AMDGPU/dead_bundle.mir
M llvm/test/CodeGen/AMDGPU/dynamic_stackalloc.ll
M llvm/test/CodeGen/AMDGPU/flat-scratch-reg.ll
M llvm/test/CodeGen/AMDGPU/llvm.amdgcn.workitem.id.ll
M llvm/test/CodeGen/AMDGPU/load-constant-i1.ll
M llvm/test/CodeGen/AMDGPU/load-global-i1.ll
M llvm/test/CodeGen/AMDGPU/load-local-i1.ll
M llvm/test/CodeGen/AMDGPU/load-local-i8.ll
M llvm/test/CodeGen/AMDGPU/nullptr-long-address-spaces.ll
M llvm/test/CodeGen/AMDGPU/nullptr.ll
M llvm/test/CodeGen/AMDGPU/setcc.ll
M llvm/test/CodeGen/AMDGPU/sext-in-reg.ll
M llvm/test/CodeGen/AMDGPU/shl.ll
M llvm/test/CodeGen/AMDGPU/sra.ll
M llvm/test/CodeGen/AMDGPU/store-global.ll
M llvm/test/CodeGen/AMDGPU/store-local.ll
M llvm/test/CodeGen/AMDGPU/trunc-vector-store-assertion-failure.ll
M llvm/test/CodeGen/AMDGPU/unknown-processor.ll
M llvm/test/CodeGen/AMDGPU/unsupported-calls.ll
M llvm/test/CodeGen/AMDGPU/vector-alloca.ll
M llvm/test/CodeGen/AMDGPU/wrong-transalu-pos-fix.ll
Log Message:
-----------
[AMDGPU] Remove duplicate -mtriple options in tests (#91576)
Commit: 643c38333fc1b1e7e705e6e1035c595bbd95bc74
https://github.com/llvm/llvm-project/commit/643c38333fc1b1e7e705e6e1035c595bbd95bc74
Author: Lukacma <Marian.Lukac at arm.com>
Date: 2024-05-09 (Thu, 09 May 2024)
Changed paths:
M llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
M llvm/test/CodeGen/AArch64/aarch64-vuzp.ll
M llvm/test/CodeGen/AArch64/complex-deinterleaving-f16-add-scalable.ll
M llvm/test/CodeGen/AArch64/complex-deinterleaving-f16-mul-scalable.ll
M llvm/test/CodeGen/AArch64/fixed-vector-deinterleave.ll
M llvm/test/CodeGen/AArch64/neon-perm.ll
M llvm/test/CodeGen/AArch64/sve-vector-deinterleave.ll
Log Message:
-----------
[AArch64] Remove EXT instr before UZP when extracting elements from vector (#91328)
Assembly generated for getting odd/even elements from vector contained
extra EXT instruction. This was due to way llvm constructs DAGs when
vector_shuffling from larger type to smaller. This patch optimises DAG
in these situations, allowing for correct assembly to be emitted.
Commit: 1494d8849fa2aef575dabd431b0060639f4a57c1
https://github.com/llvm/llvm-project/commit/1494d8849fa2aef575dabd431b0060639f4a57c1
Author: jofrn <jofernau at amd.com>
Date: 2024-05-09 (Thu, 09 May 2024)
Changed paths:
M llvm/lib/Target/AMDGPU/AMDGPUAlwaysInlinePass.cpp
Log Message:
-----------
[AMDGPU] Always Inline preserved analyses (#91198)
When replacing all uses, the structural-hash of the IR can change, so
keep track of changes using Changed variable and return it to pass
manager.
Commit: 6eb9e214b3cb06fc31f2547275e746761c3e41de
https://github.com/llvm/llvm-project/commit/6eb9e214b3cb06fc31f2547275e746761c3e41de
Author: Jay Foad <jay.foad at amd.com>
Date: 2024-05-09 (Thu, 09 May 2024)
Changed paths:
M llvm/lib/Target/AMDGPU/AMDGPUISelDAGToDAG.cpp
M llvm/lib/Target/AMDGPU/AMDGPUInstructionSelector.cpp
M llvm/lib/Target/AMDGPU/AMDGPUSubtarget.cpp
M llvm/lib/Target/AMDGPU/GCNSubtarget.h
A llvm/test/CodeGen/AMDGPU/check-subtarget-features.ll
M llvm/test/CodeGen/AMDGPU/remove-incompatible-wave32-feature.ll
M llvm/test/CodeGen/AMDGPU/unknown-processor.ll
Log Message:
-----------
RFC: [AMDGPU] Check subtarget features for consistency (#86957)
Implement GCNSubtarget::checkSubtargetFeatures as a canonical place to
check subtarget features for consistency and diagnose any
inconsistencies. To start with, the implementation just checks that
either wavefrontsize32 or wavefrontsize64 is selected.
checkSubtargetFeatures is called at the start of instruction selection.
This is pretty arbitrary. It is just a convenient point at which we have
access to the subtarget that we're going to use for codegenning a
particular function.
Commit: 58a94b1d0ad8df85bc6b1edb22c74ffb718ca1a1
https://github.com/llvm/llvm-project/commit/58a94b1d0ad8df85bc6b1edb22c74ffb718ca1a1
Author: Alexey Bataev <a.bataev at outlook.com>
Date: 2024-05-09 (Thu, 09 May 2024)
Changed paths:
M llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
M llvm/test/Transforms/SLPVectorizer/AArch64/gather-with-minbith-user.ll
M llvm/test/Transforms/SLPVectorizer/AArch64/user-node-not-in-bitwidths.ll
M llvm/test/Transforms/SLPVectorizer/SystemZ/minbitwidth-root-trunc.ll
A llvm/test/Transforms/SLPVectorizer/X86/extended-vectorized-gathered-inst.ll
Log Message:
-----------
[SLP]Fix PR91467: Look through scalar cast, when trying to cast to another type.
Need to look through the SExt/ZExt scalars to be gathered, when trying
to reduce their width after minbitwidth analysis to prevent permanent
attempts to revectorize such gathered instructions.
Commit: aa16de6399a42421076ed642c3b4f7fb12c6d44b
https://github.com/llvm/llvm-project/commit/aa16de6399a42421076ed642c3b4f7fb12c6d44b
Author: Joseph Huber <huberjn at outlook.com>
Date: 2024-05-09 (Thu, 09 May 2024)
Changed paths:
M llvm/include/llvm/Linker/IRMover.h
M llvm/lib/Linker/CMakeLists.txt
M llvm/lib/Linker/IRMover.cpp
A llvm/test/Linker/Inputs/strlen.ll
A llvm/test/Linker/libcalls.ll
Log Message:
-----------
[Linker] Propagate `nobuiltin` attributes when linking known libcalls (#89431)
Summary:
As discussed in
https://discourse.llvm.org/t/rfc-libc-ffreestanding-fno-builtin.
LLVM ascribes special semantics to several functions that are known to
be `libcalls`. These are functions that middle-end optimizations may
transforms calls into or perform optimizations based off of known
semantics. However, these assumptions require an opaque function call to
be known valid. In situations like LTO or IR linking it is possible to
bring a libcall definition into the current module. Once this happens,
we can no longer make any guarantees about the semantics of these
functions.
We currently attempt to solve this by preventing all inlining if the
called function has `no-builtin` https://reviews.llvm.org/D74162.
However, this is overly pessimistic as it prevents all inlining even for
non-libcall functions.
This patch modifies the IRMover class to track known libcalls enabled
for the given target. If we encounter a known libcall during IR linking,
we then need to append the `nobuiltin` attribute to the destination
module. Afterwards, all new definitions we link in will be applied as
well.
Commit: 80f9e814ec896fdc57ee84afad8ac4cb1f8e4627
https://github.com/llvm/llvm-project/commit/80f9e814ec896fdc57ee84afad8ac4cb1f8e4627
Author: Joseph Huber <huberjn at outlook.com>
Date: 2024-05-09 (Thu, 09 May 2024)
Changed paths:
M clang/test/Driver/linker-wrapper-image.c
M llvm/lib/Frontend/Offloading/OffloadWrapper.cpp
M offload/include/PluginManager.h
M offload/include/device.h
M offload/plugins-nextgen/CMakeLists.txt
M offload/plugins-nextgen/amdgpu/CMakeLists.txt
M offload/plugins-nextgen/amdgpu/src/rtl.cpp
M offload/plugins-nextgen/common/CMakeLists.txt
M offload/plugins-nextgen/common/include/PluginInterface.h
M offload/plugins-nextgen/common/include/Utils/ELF.h
M offload/plugins-nextgen/common/src/JIT.cpp
M offload/plugins-nextgen/common/src/PluginInterface.cpp
M offload/plugins-nextgen/cuda/CMakeLists.txt
M offload/plugins-nextgen/cuda/src/rtl.cpp
M offload/plugins-nextgen/host/CMakeLists.txt
M offload/plugins-nextgen/host/src/rtl.cpp
M offload/src/CMakeLists.txt
M offload/src/OffloadRTL.cpp
M offload/src/OpenMP/InteropAPI.cpp
M offload/src/PluginManager.cpp
M offload/src/device.cpp
M offload/src/interface.cpp
M offload/tools/kernelreplay/llvm-omp-kernel-replay.cpp
M offload/unittests/Plugins/NextgenPluginsTest.cpp
Log Message:
-----------
[Libomptarget] Statically link all plugin runtimes (#87009)
This patch overhauls the `libomptarget` and plugin interface. Currently,
we define a C API and compile each plugin as a separate shared library.
Then, `libomptarget` loads these API functions and forwards its internal
calls to them. This was originally designed to allow multiple
implementations of a library to be live. However, since then no one has
used this functionality and it prevents us from using much nicer
interfaces. If the old behavior is desired it should instead be
implemented as a separate plugin.
This patch replaces the `PluginAdaptorTy` interface with the
`GenericPluginTy` that is used by the plugins. Each plugin exports a
`createPlugin_<name>` function that is used to get the specific
implementation. This code is now shared with `libomptarget`.
There are some notable improvements to this.
1. Massively improved lifetimes of life runtime objects
2. The plugins can use a C++ interface
3. Global state does not need to be duplicated for each plugin +
libomptarget
4. Easier to use and add features and improve error handling
5. Less function call overhead / Improved LTO performance.
Additional changes in this plugin are related to contending with the
fact that state is now shared. Initialization and deinitialization is
now handled correctly and in phase with the underlying runtime, allowing
us to actually know when something is getting deallocated.
Depends on https://github.com/llvm/llvm-project/pull/86971
https://github.com/llvm/llvm-project/pull/86875
https://github.com/llvm/llvm-project/pull/86868
Commit: b903badd73a2467fdd4e363231f2bf9b0704b546
https://github.com/llvm/llvm-project/commit/b903badd73a2467fdd4e363231f2bf9b0704b546
Author: Pavel Labath <pavel at labath.sk>
Date: 2024-05-09 (Thu, 09 May 2024)
Changed paths:
M lldb/test/Shell/Unwind/Inputs/signal-in-leaf-function-aarch64.c
M lldb/test/Shell/Unwind/signal-in-leaf-function-aarch64.test
Log Message:
-----------
[lldb] Attempt to fix signal-in-leaf-function-aarch64 on darwin
Convert settings set EXC_BAD_INSTRUCTION to SIGILL so we get uniform
behavior (and can resume the inferior).
Fix a "omitting the parameter name in a function definition is a C23
extension" warning as a drive-by.
Commit: b452b34932a3f0450026c40fb797698a6671f9a7
https://github.com/llvm/llvm-project/commit/b452b34932a3f0450026c40fb797698a6671f9a7
Author: Shan Huang <52285902006 at stu.ecnu.edu.cn>
Date: 2024-05-09 (Thu, 09 May 2024)
Changed paths:
M llvm/lib/Transforms/Scalar/IndVarSimplify.cpp
A llvm/test/Transforms/IndVarSimplify/preserving-debugloc.ll
Log Message:
-----------
[DebugInfo][IndVarSimplify] Fix missing debug location updates (#91443)
Adds debug location updates for the newly created `phi`, `add`, `icmp` and `sitofp` instructions in `IndVarSimplify`.
Fixes #91436
Commit: a7ee81e8279e0bf6e05617a4a638e5f2f8e45022
https://github.com/llvm/llvm-project/commit/a7ee81e8279e0bf6e05617a4a638e5f2f8e45022
Author: Joseph Huber <huberjn at outlook.com>
Date: 2024-05-09 (Thu, 09 May 2024)
Changed paths:
M libc/src/__support/CPP/mutex.h
Log Message:
-----------
[libc] Remove unused variable causing build errors
Commit: d86b68afd7f0d7684adc312bcdc87f9027d0d896
https://github.com/llvm/llvm-project/commit/d86b68afd7f0d7684adc312bcdc87f9027d0d896
Author: Janek van Oirschot <5994977+JanekvO at users.noreply.github.com>
Date: 2024-05-09 (Thu, 09 May 2024)
Changed paths:
M llvm/lib/Target/AMDGPU/AMDGPUAsmPrinter.cpp
M llvm/lib/Target/AMDGPU/AMDGPUAsmPrinter.h
M llvm/lib/Target/AMDGPU/AMDGPUHSAMetadataStreamer.cpp
M llvm/lib/Target/AMDGPU/AMDGPUSubtarget.cpp
M llvm/lib/Target/AMDGPU/AsmParser/AMDGPUAsmParser.cpp
M llvm/lib/Target/AMDGPU/MCTargetDesc/AMDGPUMCExpr.cpp
M llvm/lib/Target/AMDGPU/MCTargetDesc/AMDGPUMCExpr.h
M llvm/lib/Target/AMDGPU/SIProgramInfo.cpp
M llvm/lib/Target/AMDGPU/SIProgramInfo.h
M llvm/lib/Target/AMDGPU/Utils/AMDGPUBaseInfo.cpp
M llvm/lib/Target/AMDGPU/Utils/AMDGPUBaseInfo.h
A llvm/test/MC/AMDGPU/alignto_mcexpr.s
A llvm/test/MC/AMDGPU/extrasgprs_mcexpr.s
A llvm/test/MC/AMDGPU/occupancy_mcexpr.s
A llvm/test/MC/AMDGPU/totalnumvgpr_mcexpr.s
M llvm/unittests/MC/AMDGPU/CMakeLists.txt
A llvm/unittests/MC/AMDGPU/SIProgramInfoMCExprs.cpp
Log Message:
-----------
MCExpr-ify SIProgramInfo (#88257)
Convert members in SIProgramInfo affected by variables provided by AMDGPUResourceUsageAnalysis into MCExprs.
Commit: e5e66073c3d404f4dedf1b0be160b7815ccf8903
https://github.com/llvm/llvm-project/commit/e5e66073c3d404f4dedf1b0be160b7815ccf8903
Author: Joseph Huber <huberjn at outlook.com>
Date: 2024-05-09 (Thu, 09 May 2024)
Changed paths:
M clang/test/Driver/linker-wrapper-image.c
M llvm/lib/Frontend/Offloading/OffloadWrapper.cpp
M offload/include/PluginManager.h
M offload/include/device.h
M offload/plugins-nextgen/CMakeLists.txt
M offload/plugins-nextgen/amdgpu/CMakeLists.txt
M offload/plugins-nextgen/amdgpu/src/rtl.cpp
M offload/plugins-nextgen/common/CMakeLists.txt
M offload/plugins-nextgen/common/include/PluginInterface.h
M offload/plugins-nextgen/common/include/Utils/ELF.h
M offload/plugins-nextgen/common/src/JIT.cpp
M offload/plugins-nextgen/common/src/PluginInterface.cpp
M offload/plugins-nextgen/cuda/CMakeLists.txt
M offload/plugins-nextgen/cuda/src/rtl.cpp
M offload/plugins-nextgen/host/CMakeLists.txt
M offload/plugins-nextgen/host/src/rtl.cpp
M offload/src/CMakeLists.txt
M offload/src/OffloadRTL.cpp
M offload/src/OpenMP/InteropAPI.cpp
M offload/src/PluginManager.cpp
M offload/src/device.cpp
M offload/src/interface.cpp
M offload/tools/kernelreplay/llvm-omp-kernel-replay.cpp
M offload/unittests/Plugins/NextgenPluginsTest.cpp
Log Message:
-----------
Revert "[Libomptarget] Statically link all plugin runtimes (#87009)"
Caused failures on build-bots, reverting to investigate.
This reverts commit 80f9e814ec896fdc57ee84afad8ac4cb1f8e4627.
Commit: e0d8dbc1dc203983243860c1fcc4698f60de37c0
https://github.com/llvm/llvm-project/commit/e0d8dbc1dc203983243860c1fcc4698f60de37c0
Author: Simon Pilgrim <llvm-dev at redking.me.uk>
Date: 2024-05-09 (Thu, 09 May 2024)
Changed paths:
M llvm/test/CodeGen/X86/opt-shuff-tstore.ll
Log Message:
-----------
[X86] opt-shuff-tstore.ll - regenerate checks
Commit: 8b400de79eff2a4fb95f06b6e4d167e65abbf448
https://github.com/llvm/llvm-project/commit/8b400de79eff2a4fb95f06b6e4d167e65abbf448
Author: Simon Pilgrim <llvm-dev at redking.me.uk>
Date: 2024-05-09 (Thu, 09 May 2024)
Changed paths:
M llvm/lib/Target/X86/X86.td
M llvm/test/CodeGen/X86/bypass-slow-division-64.ll
Log Message:
-----------
[X86] Enable TuningSlowDivide64 on Barcelona/Bobcat/Bulldozer/Ryzen Families (#91277)
Despite most AMD cpus having a lower latency for i64 divisions that converge early, we are still better off testing for values representable as i32 and performing a i32 division if possible.
All AMD cpus appear to have been missed when we added the "idivq-to-divl" attribute - this patch now matches Intel cpu behaviour (and the x86-64/v2/3/4 levels).
Unfortunately the difference in code scheduling means I've had to stop using the update_llc_test_checks script and just use old-fashioned CHECK-DAG checks for divl/divq pairs.
Fixes #90985
Commit: c2a87d7e032f8e6c8cbe6ab4c7cfbb7f7996ca9f
https://github.com/llvm/llvm-project/commit/c2a87d7e032f8e6c8cbe6ab4c7cfbb7f7996ca9f
Author: Jie Fu <jiefu at tencent.com>
Date: 2024-05-09 (Thu, 09 May 2024)
Changed paths:
M llvm/lib/Target/AMDGPU/AMDGPUAsmPrinter.cpp
Log Message:
-----------
[AMDGPU] Remove unused lambda capture (NFC)
/llvm-project/llvm/lib/Target/AMDGPU/AMDGPUAsmPrinter.cpp:733:30:
error: lambda capture 'Ctx' is not used [-Werror,-Wunused-lambda-capture]
auto TryGetMCExprValue = [&Ctx](const MCExpr *Value, uint64_t &Res) -> bool {
~^~~
1 error generated.
Commit: ad652efa1f65e16f5380acfba1bb132145984805
https://github.com/llvm/llvm-project/commit/ad652efa1f65e16f5380acfba1bb132145984805
Author: Daniil Kovalev <dkovalev at accesssoftek.com>
Date: 2024-05-09 (Thu, 09 May 2024)
Changed paths:
M clang/include/clang/Basic/Features.def
M clang/include/clang/Basic/LangOptions.def
M clang/include/clang/Driver/Options.td
M clang/lib/CodeGen/CodeGenModule.cpp
M clang/lib/Driver/ToolChains/Clang.cpp
M clang/lib/Frontend/CompilerInvocation.cpp
A clang/test/CodeGen/aarch64-elf-pauthabi.c
M clang/test/Driver/aarch64-ptrauth.c
M clang/test/Preprocessor/ptrauth_feature.c
Log Message:
-----------
[AArch64][PAC][clang][ELF] Support PAuth ABI core info (#85235)
Depends on #87545
Emit PAuth ABI compatibility tag values as llvm module flags:
- `aarch64-elf-pauthabi-platform`
- `aarch64-elf-pauthabi-version`
For platform 0x10000002 (llvm_linux), the version value bits correspond
to the following LangOptions defined in #85232:
- bit 0: `PointerAuthIntrinsics`;
- bit 1: `PointerAuthCalls`;
- bit 2: `PointerAuthReturns`;
- bit 3: `PointerAuthAuthTraps`;
- bit 4: `PointerAuthVTPtrAddressDiscrimination`;
- bit 5: `PointerAuthVTPtrTypeDiscrimination`;
- bit 6: `PointerAuthInitFini`.
---------
Co-authored-by: Ahmed Bougacha <ahmed at bougacha.org>
Commit: 6a8d30b1c1be5e46deb9b3a17915d488e1dbc470
https://github.com/llvm/llvm-project/commit/6a8d30b1c1be5e46deb9b3a17915d488e1dbc470
Author: Matt Arsenault <Matthew.Arsenault at amd.com>
Date: 2024-05-09 (Thu, 09 May 2024)
Changed paths:
M llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp
M llvm/test/CodeGen/AMDGPU/llvm.maximum.f16.ll
M llvm/test/CodeGen/AMDGPU/llvm.maximum.f32.ll
M llvm/test/CodeGen/AMDGPU/llvm.maximum.f64.ll
M llvm/test/CodeGen/AMDGPU/llvm.minimum.f16.ll
M llvm/test/CodeGen/AMDGPU/llvm.minimum.f32.ll
M llvm/test/CodeGen/AMDGPU/llvm.minimum.f64.ll
M llvm/test/CodeGen/PowerPC/fminimum-fmaximum.ll
Log Message:
-----------
DAG: Skip 0 sign handling in minimum/maximum lowering for _ieee case (#91326)
dc9664a8adae17f2083fbcc8e96cfce606c56d57 changed the documentation to
assume these order -0 as less than +0.
Commit: e2d17a053edff68c9761aceb8ff8303e3e37172c
https://github.com/llvm/llvm-project/commit/e2d17a053edff68c9761aceb8ff8303e3e37172c
Author: Jay Foad <jay.foad at amd.com>
Date: 2024-05-09 (Thu, 09 May 2024)
Changed paths:
M llvm/lib/Target/AMDGPU/AMDGPUAtomicOptimizer.cpp
Log Message:
-----------
[AMDGPU] Build lane intrinsics in a mangling-agnostic way. NFC. (#91583)
Use the form of CreateIntrinsic that takes an explicit return type and
works out the mangling based on that and the types of the arguments. The
advantage is that this still works if intrinsics are changed to have
type mangling, e.g. if readlane/readfirstlane/writelane are changed to
work on any type.
Commit: d98e3d43e7943f0440013c9f491f323bcc864aa3
https://github.com/llvm/llvm-project/commit/d98e3d43e7943f0440013c9f491f323bcc864aa3
Author: Danny Mösch <danny.moesch at icloud.com>
Date: 2024-05-09 (Thu, 09 May 2024)
Changed paths:
M bolt/include/bolt/Passes/IndirectCallPromotion.h
Log Message:
-----------
[BOLT][NFC] Apply absorption rule to boolean expression (#91540)
Fixes #91197.
Commit: ed3a60c796c2ed3c9fc59efc83856913ab5860f5
https://github.com/llvm/llvm-project/commit/ed3a60c796c2ed3c9fc59efc83856913ab5860f5
Author: Hongbin Jin <octopus.busts_0w at icloud.com>
Date: 2024-05-09 (Thu, 09 May 2024)
Changed paths:
M llvm/lib/Target/RISCV/GISel/RISCVInstructionSelector.cpp
M llvm/test/CodeGen/RISCV/GlobalISel/instruction-select/shift-rv32.mir
M llvm/test/CodeGen/RISCV/GlobalISel/instruction-select/shift-rv64.mir
Log Message:
-----------
[RISCV][GlobalISel] Fix selectShiftMask when shift mask is created from G_AND (#89602)
This patch fixes cases where G_AND creating the shift mask is eliminated
if one of its source operands is a constant, resulting from an incorrect
predicate.
Commit: 0c0fc9a7c6e298269871b4f1bf5fea7fa9048209
https://github.com/llvm/llvm-project/commit/0c0fc9a7c6e298269871b4f1bf5fea7fa9048209
Author: Nico Weber <thakis at chromium.org>
Date: 2024-05-09 (Thu, 09 May 2024)
Changed paths:
M llvm/utils/gn/secondary/llvm/lib/Target/AMDGPU/BUILD.gn
M llvm/utils/gn/secondary/llvm/lib/Target/AMDGPU/Utils/BUILD.gn
M llvm/utils/gn/secondary/llvm/unittests/BUILD.gn
M llvm/utils/gn/secondary/llvm/unittests/MC/AMDGPU/BUILD.gn
Log Message:
-----------
[gn build] Port d86b68afd7f0 (AMDGPUMCTests dependency mess)
Commit: c73516af10f800d0d5641651eefce128b866a155
https://github.com/llvm/llvm-project/commit/c73516af10f800d0d5641651eefce128b866a155
Author: Lang Hames <lhames at gmail.com>
Date: 2024-05-09 (Thu, 09 May 2024)
Changed paths:
M llvm/unittests/ExecutionEngine/Orc/CoreAPIsTest.cpp
Log Message:
-----------
[ORC] Add tests for error handling paths in suspended generators.
Test that (1) errors returned from a manually suspended generator are
propagated as expected, and (2) automatic suspension does not interfere with
our ability to resume (and return errors from) a generator.
Commit: cbf1535cc813b2f226498d974c43675832abc233
https://github.com/llvm/llvm-project/commit/cbf1535cc813b2f226498d974c43675832abc233
Author: Lang Hames <lhames at gmail.com>
Date: 2024-05-09 (Thu, 09 May 2024)
Changed paths:
M llvm/lib/ExecutionEngine/Orc/EPCGenericDylibManager.cpp
Log Message:
-----------
[ORC] Fix fall-through in error case in EPCGenericDylibManager::lookupAsync.
In the event of a serialization error (e.g. due to a network dropout) we should
only run the Complete handler once, passing the serialization error value.
No test-case: This would require a deliberately injected failure in a
remote-JIT test and we don't have the infrastructure for that at the moment.
rdar://126772381
Commit: e88ba6d975d887ca001cae30bfa0c53d91165148
https://github.com/llvm/llvm-project/commit/e88ba6d975d887ca001cae30bfa0c53d91165148
Author: Momchil Velikov <momchil.velikov at arm.com>
Date: 2024-05-09 (Thu, 09 May 2024)
Changed paths:
M clang/include/clang/Basic/arm_sme.td
A clang/test/CodeGen/aarch64-sme2-intrinsics/acle_sme2_add_sub_za16.c
A clang/test/Sema/aarch64-sme2-intrinsics/acle_sme2_add_sub_za16.c
M llvm/include/llvm/IR/IntrinsicsAArch64.td
M llvm/lib/Target/AArch64/AArch64SMEInstrInfo.td
A llvm/test/CodeGen/AArch64/sme2-intrinsics-add-sub-za16.ll
Log Message:
-----------
[AArch64] Add intrinsics for multi-vector to ZA array vector accumulators (#88266)
According to the specification in
https://github.com/ARM-software/acle/pull/309 this adds the intrinsics
void_svadd_za16_vg1x2_f16(uint32_t slice, svfloat16x2_t zn)
__arm_streaming __arm_inout("za");
void_svadd_za16_vg1x4_f16(uint32_t slice, svfloat16x4_t zn)
__arm_streaming __arm_inout("za");
void_svsub_za16_vg1x2_f16(uint32_t slice, svfloat16x2_t zn)
__arm_streaming __arm_inout("za");
void_svsub_za16_vg1x4_f16(uint32_t slice, svfloat16x4_t zn)
__arm_streaming __arm_inout("za");
as well as the corresponding `bf16` variants.
Commit: 6f1013a5b3f92d3ae6e378d6706584a2a44e6964
https://github.com/llvm/llvm-project/commit/6f1013a5b3f92d3ae6e378d6706584a2a44e6964
Author: lntue <35648136+lntue at users.noreply.github.com>
Date: 2024-05-09 (Thu, 09 May 2024)
Changed paths:
M libc/src/__support/CPP/mutex.h
Log Message:
-----------
[libc] Add template deduction guide for cpp::lock_guard. (#91589)
Fix ctad-maybe-unsupported warnings for `cpp::lock_guard`.
Commit: 8d2ab2a0ec168673696930ba3e3c403656cdfe55
https://github.com/llvm/llvm-project/commit/8d2ab2a0ec168673696930ba3e3c403656cdfe55
Author: erichkeane <ekeane at nvidia.com>
Date: 2024-05-09 (Thu, 09 May 2024)
Changed paths:
M clang/include/clang/AST/OpenACCClause.h
M clang/lib/Parse/ParseOpenACC.cpp
Log Message:
-----------
[OpenACC][NFC] Fix EndLoc behavior of optional clause params
It was discovered while writing the 'wait' clause ast tests that the
'endloc' wasn't set correctly when there was no arguments. This patch
ensures we set it right, and adds an assert to prevent us from messing
it up in the future.
Commit: b1b465218d1fd3e1abe9332ed9ec535c49061425
https://github.com/llvm/llvm-project/commit/b1b465218d1fd3e1abe9332ed9ec535c49061425
Author: erichkeane <ekeane at nvidia.com>
Date: 2024-05-09 (Thu, 09 May 2024)
Changed paths:
M clang/include/clang/AST/OpenACCClause.h
M clang/include/clang/Basic/OpenACCClauses.def
M clang/include/clang/Parse/Parser.h
M clang/include/clang/Sema/SemaOpenACC.h
M clang/include/clang/Serialization/ASTRecordReader.h
M clang/include/clang/Serialization/ASTRecordWriter.h
M clang/lib/AST/OpenACCClause.cpp
M clang/lib/AST/StmtProfile.cpp
M clang/lib/AST/TextNodeDumper.cpp
M clang/lib/Parse/ParseOpenACC.cpp
M clang/lib/Sema/SemaOpenACC.cpp
M clang/lib/Sema/TreeTransform.h
M clang/lib/Serialization/ASTReader.cpp
M clang/lib/Serialization/ASTWriter.cpp
M clang/test/AST/ast-print-openacc-compute-construct.cpp
M clang/test/ParserOpenACC/parse-wait-clause.c
M clang/test/SemaOpenACC/compute-construct-intexpr-clause-ast.cpp
A clang/test/SemaOpenACC/compute-construct-wait-clause.c
A clang/test/SemaOpenACC/compute-construct-wait-clause.cpp
M clang/tools/libclang/CIndex.cpp
Log Message:
-----------
[OpenACC] 'wait' clause for compute construct sema
'wait' takes a few int-exprs (well, a series of async-arguments, but
those are effectively just an int-expr), plus a pair of tags. This
patch adds the support for this to the AST, and does the appropriate
semantic analysis for them.
Commit: c416e43571cca78dea3ee75b2a9fec944c0c65a1
https://github.com/llvm/llvm-project/commit/c416e43571cca78dea3ee75b2a9fec944c0c65a1
Author: alx32 <103613512+alx32 at users.noreply.github.com>
Date: 2024-05-09 (Thu, 09 May 2024)
Changed paths:
M lld/MachO/ObjC.cpp
M lld/test/MachO/objc-category-merging-complete-test.s
Log Message:
-----------
[lld-macho] Add support for non-lazy categories to ObjC category merger (#91548)
In ObjC we can have categories that define a `+load` method that is
called when the category is loaded. In such cases, we shouldn't optimize
the category. These categories are present in the `__objc_nlcatlist`
section. So we scan these section for such categories and ignore them
from optimization.
Commit: 4ad3de901e8acfafdeb59406064f24a3c2ea27e8
https://github.com/llvm/llvm-project/commit/4ad3de901e8acfafdeb59406064f24a3c2ea27e8
Author: Jake Egan <Jake.egan at ibm.com>
Date: 2024-05-09 (Thu, 09 May 2024)
Changed paths:
M clang/test/Driver/plugin-driver-args.cpp
Log Message:
-----------
[driver][test] Only check for unused plugin options (#91522)
This fixes matching `clang: error: argument unused during compilation:
'-Werror' [-Werror,-Wunused-command-line-argument]` on AIX.
---------
Co-authored-by: Hubert Tong <hubert-reinterpretcast at users.noreply.github.com>
Commit: b54a5e7271e34530893ae374876e284a65d785d4
https://github.com/llvm/llvm-project/commit/b54a5e7271e34530893ae374876e284a65d785d4
Author: Nico Weber <thakis at chromium.org>
Date: 2024-05-09 (Thu, 09 May 2024)
Changed paths:
M llvm/utils/gn/secondary/llvm/lib/Target/AMDGPU/BUILD.gn
M llvm/utils/gn/secondary/llvm/lib/Target/AMDGPU/MCTargetDesc/BUILD.gn
Log Message:
-----------
[gn] port d86b68afd7f0 more
See my comments on https://github.com/llvm/llvm-project/pull/88257.
(The AMDGPU target internal depencencies were among the messiest
among all targets even before that.)
Commit: 139e0aa68dc23d2aeec05de1ae05ebf2aa5fa11e
https://github.com/llvm/llvm-project/commit/139e0aa68dc23d2aeec05de1ae05ebf2aa5fa11e
Author: Momchil Velikov <momchil.velikov at arm.com>
Date: 2024-05-09 (Thu, 09 May 2024)
Changed paths:
M clang/include/clang/Basic/arm_sme.td
R clang/test/CodeGen/aarch64-sme2-intrinsics/acle_sme2_add_sub_za16.c
R clang/test/Sema/aarch64-sme2-intrinsics/acle_sme2_add_sub_za16.c
M llvm/include/llvm/IR/IntrinsicsAArch64.td
M llvm/lib/Target/AArch64/AArch64SMEInstrInfo.td
R llvm/test/CodeGen/AArch64/sme2-intrinsics-add-sub-za16.ll
Log Message:
-----------
Revert "[AArch64] Add intrinsics for multi-vector to ZA array vector accumulators" (#91597)
Reverts llvm/llvm-project#88266 due to test failures
error: 'expected-error' diagnostics seen but not expected:
(frontend): '-fsyntax-only' action ignored; '-emit-llvm' action
specified previously
Commit: 673cfcd03b7b938b422fee07d8ca4a127d480b1f
https://github.com/llvm/llvm-project/commit/673cfcd03b7b938b422fee07d8ca4a127d480b1f
Author: Joseph Huber <huberjn at outlook.com>
Date: 2024-05-09 (Thu, 09 May 2024)
Changed paths:
M llvm/include/llvm/Linker/IRMover.h
M llvm/lib/Linker/CMakeLists.txt
M llvm/lib/Linker/IRMover.cpp
R llvm/test/Linker/Inputs/strlen.ll
R llvm/test/Linker/libcalls.ll
Log Message:
-----------
Revert "[Linker] Propagate `nobuiltin` attributes when linking known libcalls (#89431)"
This apparently breaks AMDGPU offloading for unknown reasons. Reverting
for now.
This reverts commit aa16de6399a42421076ed642c3b4f7fb12c6d44b.
Commit: 846ffc7ac1a43dc83fc0ee1280a793988fae7ab0
https://github.com/llvm/llvm-project/commit/846ffc7ac1a43dc83fc0ee1280a793988fae7ab0
Author: Mehdi Amini <joker.eph at gmail.com>
Date: 2024-05-09 (Thu, 09 May 2024)
Changed paths:
M compiler-rt/test/dfsan/release_shadow_space.c
Log Message:
-----------
Disable flaky test: dfsan/release_shadow_space.c (#91493)
The current pass rate on the bot is ~50%.
https://github.com/llvm/llvm-project/issues/91287
Commit: fa9e90f5d23312587b3a17920941334e0d1a58a1
https://github.com/llvm/llvm-project/commit/fa9e90f5d23312587b3a17920941334e0d1a58a1
Author: Joseph Huber <huberjn at outlook.com>
Date: 2024-05-09 (Thu, 09 May 2024)
Changed paths:
M clang/test/Driver/linker-wrapper-image.c
M llvm/lib/Frontend/Offloading/OffloadWrapper.cpp
M offload/include/PluginManager.h
M offload/include/device.h
M offload/plugins-nextgen/CMakeLists.txt
M offload/plugins-nextgen/amdgpu/CMakeLists.txt
M offload/plugins-nextgen/amdgpu/src/rtl.cpp
M offload/plugins-nextgen/common/CMakeLists.txt
M offload/plugins-nextgen/common/include/PluginInterface.h
M offload/plugins-nextgen/common/include/Utils/ELF.h
M offload/plugins-nextgen/common/src/JIT.cpp
M offload/plugins-nextgen/common/src/PluginInterface.cpp
M offload/plugins-nextgen/cuda/CMakeLists.txt
M offload/plugins-nextgen/cuda/src/rtl.cpp
M offload/plugins-nextgen/host/CMakeLists.txt
M offload/plugins-nextgen/host/src/rtl.cpp
M offload/src/CMakeLists.txt
M offload/src/OffloadRTL.cpp
M offload/src/OpenMP/InteropAPI.cpp
M offload/src/PluginManager.cpp
M offload/src/device.cpp
M offload/src/interface.cpp
M offload/tools/kernelreplay/llvm-omp-kernel-replay.cpp
M offload/unittests/Plugins/NextgenPluginsTest.cpp
Log Message:
-----------
[Reland][Libomptarget] Statically link all plugin runtimes (#87009)
This patch overhauls the `libomptarget` and plugin interface. Currently,
we define a C API and compile each plugin as a separate shared library.
Then, `libomptarget` loads these API functions and forwards its internal
calls to them. This was originally designed to allow multiple
implementations of a library to be live. However, since then no one has
used this functionality and it prevents us from using much nicer
interfaces. If the old behavior is desired it should instead be
implemented as a separate plugin.
This patch replaces the `PluginAdaptorTy` interface with the
`GenericPluginTy` that is used by the plugins. Each plugin exports a
`createPlugin_<name>` function that is used to get the specific
implementation. This code is now shared with `libomptarget`.
There are some notable improvements to this.
1. Massively improved lifetimes of life runtime objects
2. The plugins can use a C++ interface
3. Global state does not need to be duplicated for each plugin +
libomptarget
4. Easier to use and add features and improve error handling
5. Less function call overhead / Improved LTO performance.
Additional changes in this plugin are related to contending with the
fact that state is now shared. Initialization and deinitialization is
now handled correctly and in phase with the underlying runtime, allowing
us to actually know when something is getting deallocated.
Depends on https://github.com/llvm/llvm-project/pull/86971
https://github.com/llvm/llvm-project/pull/86875
https://github.com/llvm/llvm-project/pull/86868
Commit: fdede92d435068f31e7ea3a1dddb46d50343dd8c
https://github.com/llvm/llvm-project/commit/fdede92d435068f31e7ea3a1dddb46d50343dd8c
Author: Zequan Wu <zequanwu at google.com>
Date: 2024-05-09 (Thu, 09 May 2024)
Changed paths:
M lldb/source/Plugins/SymbolFile/DWARF/DWARFUnit.cpp
M lldb/test/Shell/SymbolFile/DWARF/x86/debug_rnglists.s
Log Message:
-----------
[lldb][DWARF] Sort ranges list in dwarf 5. (#91343)
Dwarf 5 says "There is no requirement that the entries be ordered in any
particular way" in 2.17.3 Non-Contiguous Address Ranges for rnglist.
Some places assume the ranges are already sorted but it's not.
For example, when [parsing function
info](https://github.com/llvm/llvm-project/blob/bc8a42762057d7036f6871211e62b1c3efb2738a/lldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARF.cpp#L922-L927),
it validates low and hi address of the function: GetMinRangeBase returns
the first range entry base and GetMaxRangeEnd returns the last range
end. If low >= hi, it stops parsing this function. This causes missing
inline stack frames for those functions.
This change fixes it and updates the test
`lldb/test/Shell/SymbolFile/DWARF/x86/debug_rnglists.s` so that two
ranges in `.debug_rnglists` are out of order and `image lookup -v -s
lookup_rnglists` is still able to produce sorted ranges for the inner
block.
Commit: aa9d467abaeb440dc70b64c0f35b8d5e731f3a19
https://github.com/llvm/llvm-project/commit/aa9d467abaeb440dc70b64c0f35b8d5e731f3a19
Author: Sander de Smalen <sander.desmalen at arm.com>
Date: 2024-05-09 (Thu, 09 May 2024)
Changed paths:
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-fma.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-reduce-fa64.ll
M llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-fp-reduce.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-to-int.ll
M llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-fp-vselect.ll
M llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-insert-vector-elt.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-mla-neon-fa64.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-to-fp.ll
M llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-int-vselect.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-load.ll
M llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-masked-store.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-splat-vector.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:
-----------
Revert "[AArch64] NFC: Add RUN lines for streaming-compatible code." (#91599)
Reverts llvm/llvm-project#90617
Commit: 87235fa9af06b639d7b4b1eb7ac5840fb56cc569
https://github.com/llvm/llvm-project/commit/87235fa9af06b639d7b4b1eb7ac5840fb56cc569
Author: Yuxuan Chen <yuxuanchen1997 at outlook.com>
Date: 2024-05-09 (Thu, 09 May 2024)
Changed paths:
M llvm/lib/Transforms/Coroutines/CoroElide.cpp
Log Message:
-----------
[NFC] CoroElide: Refactor `Lowerer` into `CoroIdElider` (#91539)
This patch contains no functional changes.
The main goal of this patch is to get better clarity out of the code, to
make intentions and assumptions clear.
One major design problem I had in the past were `Lowerer`. It previously
inherited from `coro::LowererBase` but it doesn't use any of the fields
or methods from `LowererBase`. It might be an artifact leftover from
previous designs of this code.
Furthermore, we should clarify that although one such instance is bound
to the function, `Lowerer` was dedicated to one `CoroId` instruction at
a time. We rely on a sequence of fragile constructs like
`CoroBegins.clear(); DestroyAddr.clear()`. This doesn't help understand
the code.
What's worse is that we have confusing calls like
`elideHeapAllocations(CoroId->getFunction(), ...` and it might get
confused with `CoroId->getCoroutine()`.
The new structure intends to make it clear that we always operate on one
`CoroId` at a time, which may have multiple `CoroBegin`s. Such structure
doesn't rely on frequent `.clear()` that's prone to miss.
Commit: fe0b7983a2f510cdede22cdf6c9227e32ded6a15
https://github.com/llvm/llvm-project/commit/fe0b7983a2f510cdede22cdf6c9227e32ded6a15
Author: Joe Nash <joseph.nash at amd.com>
Date: 2024-05-09 (Thu, 09 May 2024)
Changed paths:
M llvm/lib/Target/AMDGPU/AMDGPU.td
M llvm/lib/Target/AMDGPU/BUFInstructions.td
M llvm/lib/Target/AMDGPU/DSInstructions.td
M llvm/lib/Target/AMDGPU/EXPInstructions.td
M llvm/lib/Target/AMDGPU/FLATInstructions.td
M llvm/lib/Target/AMDGPU/MIMGInstructions.td
M llvm/lib/Target/AMDGPU/SIInstrInfo.td
M llvm/lib/Target/AMDGPU/SMInstructions.td
M llvm/lib/Target/AMDGPU/SOPInstructions.td
M llvm/lib/Target/AMDGPU/VOP1Instructions.td
M llvm/lib/Target/AMDGPU/VOP2Instructions.td
M llvm/lib/Target/AMDGPU/VOP3PInstructions.td
M llvm/lib/Target/AMDGPU/VOPCInstructions.td
M llvm/lib/Target/AMDGPU/VOPInstructions.td
Log Message:
-----------
[AMDGPU] Create AMDGPUMnemonicAlias tablegen class (#89288)
AMDGPUMnemonicAlias is a MnemonicAlias that inherits from
GCNPredicateControl, so that we can set predicates on the alias the same
way as Instructions.
Use AssemblerPredicate instead of Requires on aliases
NFC.
Commit: b1cbf4a7c3174471690e20360c2adae173608ae0
https://github.com/llvm/llvm-project/commit/b1cbf4a7c3174471690e20360c2adae173608ae0
Author: Andrzej Warzyński <andrzej.warzynski at arm.com>
Date: 2024-05-09 (Thu, 09 May 2024)
Changed paths:
M mlir/include/mlir/Dialect/ArmSME/IR/ArmSMEIntrinsicOps.td
M mlir/test/Conversion/ArmSMEToLLVM/tile-spills-and-fills.mlir
Log Message:
-----------
[mlir][ArmSME] Add comments in tile-spills-and-fills.mlir (#91450)
* adds comments in tile-spills-and-fills.mlir
* adds comments in ArmSMEIntrinsicOps.td
* updates test in tile-spills-and-fills.mlir not to return 2D scalable
vectors (e.g. vector<[4]x[4]xf32>) - that's not supported and not
needed for that test
Commit: aeab44d3861dbaac1eb8d68d818f432c86322759
https://github.com/llvm/llvm-project/commit/aeab44d3861dbaac1eb8d68d818f432c86322759
Author: Congcong Cai <congcongcai0907 at 163.com>
Date: 2024-05-09 (Thu, 09 May 2024)
Changed paths:
R clang-tools-extra/test/clang-tidy/checkers/readability/magic-numbers-todo.cpp
Log Message:
-----------
[NFC][clang-tidy] remove magic-numbers-todo.cpp (#91577)
This XFAIL test is written in 4 years ago and still todo.
4 is already in DefaultIgnoredIntegerValues so I do not think this XFAIL
case can be passed.
Commit: df21ee4c62e97239560485abdcc42aa340de65f7
https://github.com/llvm/llvm-project/commit/df21ee4c62e97239560485abdcc42aa340de65f7
Author: Simon Pilgrim <llvm-dev at redking.me.uk>
Date: 2024-05-09 (Thu, 09 May 2024)
Changed paths:
M llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
Log Message:
-----------
[DAG] Add clang-format off/on wrappers around compact switch handlers. NFC.
Avoids a problem identified in #90503
Commit: eb177803bfc31ea8ce784c6cf5a881a8bbce0bce
https://github.com/llvm/llvm-project/commit/eb177803bfc31ea8ce784c6cf5a881a8bbce0bce
Author: Yinying Li <yinyingli at google.com>
Date: 2024-05-09 (Thu, 09 May 2024)
Changed paths:
M mlir/lib/Dialect/SparseTensor/Transforms/SparseTensorRewriting.cpp
M mlir/test/Integration/Dialect/SparseTensor/CPU/block.mlir
M mlir/test/Integration/Dialect/SparseTensor/CPU/block_majors.mlir
M mlir/test/Integration/Dialect/SparseTensor/CPU/concatenate_dim_0.mlir
M mlir/test/Integration/Dialect/SparseTensor/CPU/concatenate_dim_0_permute.mlir
M mlir/test/Integration/Dialect/SparseTensor/CPU/concatenate_dim_1.mlir
M mlir/test/Integration/Dialect/SparseTensor/CPU/concatenate_dim_1_permute.mlir
M mlir/test/Integration/Dialect/SparseTensor/CPU/dense_output.mlir
M mlir/test/Integration/Dialect/SparseTensor/CPU/dense_output_bf16.mlir
M mlir/test/Integration/Dialect/SparseTensor/CPU/dense_output_f16.mlir
M mlir/test/Integration/Dialect/SparseTensor/CPU/dual_sparse_conv_2d.mlir
M mlir/test/Integration/Dialect/SparseTensor/CPU/sparse_abs.mlir
M mlir/test/Integration/Dialect/SparseTensor/CPU/sparse_binary.mlir
M mlir/test/Integration/Dialect/SparseTensor/CPU/sparse_block3d.mlir
M mlir/test/Integration/Dialect/SparseTensor/CPU/sparse_cmp.mlir
M mlir/test/Integration/Dialect/SparseTensor/CPU/sparse_collapse_shape.mlir
M mlir/test/Integration/Dialect/SparseTensor/CPU/sparse_complex32.mlir
M mlir/test/Integration/Dialect/SparseTensor/CPU/sparse_complex64.mlir
M mlir/test/Integration/Dialect/SparseTensor/CPU/sparse_complex_ops.mlir
M mlir/test/Integration/Dialect/SparseTensor/CPU/sparse_constant_to_sparse_tensor.mlir
M mlir/test/Integration/Dialect/SparseTensor/CPU/sparse_conv_1d_nwc_wcf.mlir
M mlir/test/Integration/Dialect/SparseTensor/CPU/sparse_conv_2d.mlir
M mlir/test/Integration/Dialect/SparseTensor/CPU/sparse_conv_2d_nhwc_hwcf.mlir
M mlir/test/Integration/Dialect/SparseTensor/CPU/sparse_conv_3d.mlir
M mlir/test/Integration/Dialect/SparseTensor/CPU/sparse_conv_3d_ndhwc_dhwcf.mlir
M mlir/test/Integration/Dialect/SparseTensor/CPU/sparse_conversion.mlir
M mlir/test/Integration/Dialect/SparseTensor/CPU/sparse_conversion_block.mlir
M mlir/test/Integration/Dialect/SparseTensor/CPU/sparse_conversion_dyn.mlir
M mlir/test/Integration/Dialect/SparseTensor/CPU/sparse_conversion_ptr.mlir
M mlir/test/Integration/Dialect/SparseTensor/CPU/sparse_coo_test.mlir
M mlir/test/Integration/Dialect/SparseTensor/CPU/sparse_dot.mlir
M mlir/test/Integration/Dialect/SparseTensor/CPU/sparse_ds.mlir
M mlir/test/Integration/Dialect/SparseTensor/CPU/sparse_empty.mlir
M mlir/test/Integration/Dialect/SparseTensor/CPU/sparse_expand.mlir
M mlir/test/Integration/Dialect/SparseTensor/CPU/sparse_expand_shape.mlir
M mlir/test/Integration/Dialect/SparseTensor/CPU/sparse_filter_conv2d.mlir
M mlir/test/Integration/Dialect/SparseTensor/CPU/sparse_index.mlir
M mlir/test/Integration/Dialect/SparseTensor/CPU/sparse_insert_1d.mlir
M mlir/test/Integration/Dialect/SparseTensor/CPU/sparse_insert_2d.mlir
M mlir/test/Integration/Dialect/SparseTensor/CPU/sparse_insert_3d.mlir
M mlir/test/Integration/Dialect/SparseTensor/CPU/sparse_loose.mlir
M mlir/test/Integration/Dialect/SparseTensor/CPU/sparse_matmul.mlir
M mlir/test/Integration/Dialect/SparseTensor/CPU/sparse_matmul_slice.mlir
M mlir/test/Integration/Dialect/SparseTensor/CPU/sparse_matrix_ops.mlir
M mlir/test/Integration/Dialect/SparseTensor/CPU/sparse_out_mult_elt.mlir
M mlir/test/Integration/Dialect/SparseTensor/CPU/sparse_out_reduction.mlir
M mlir/test/Integration/Dialect/SparseTensor/CPU/sparse_out_simple.mlir
M mlir/test/Integration/Dialect/SparseTensor/CPU/sparse_pack_d.mlir
M mlir/test/Integration/Dialect/SparseTensor/CPU/sparse_pooling_nhwc.mlir
M mlir/test/Integration/Dialect/SparseTensor/CPU/sparse_print.mlir
M mlir/test/Integration/Dialect/SparseTensor/CPU/sparse_print_3d.mlir
M mlir/test/Integration/Dialect/SparseTensor/CPU/sparse_re_im.mlir
M mlir/test/Integration/Dialect/SparseTensor/CPU/sparse_reduce_custom.mlir
M mlir/test/Integration/Dialect/SparseTensor/CPU/sparse_reduce_custom_prod.mlir
M mlir/test/Integration/Dialect/SparseTensor/CPU/sparse_reshape.mlir
M mlir/test/Integration/Dialect/SparseTensor/CPU/sparse_sampled_mm_fusion.mlir
M mlir/test/Integration/Dialect/SparseTensor/CPU/sparse_scale.mlir
M mlir/test/Integration/Dialect/SparseTensor/CPU/sparse_scf_nested.mlir
M mlir/test/Integration/Dialect/SparseTensor/CPU/sparse_select.mlir
M mlir/test/Integration/Dialect/SparseTensor/CPU/sparse_semiring_select.mlir
M mlir/test/Integration/Dialect/SparseTensor/CPU/sparse_sign.mlir
M mlir/test/Integration/Dialect/SparseTensor/CPU/sparse_sorted_coo.mlir
M mlir/test/Integration/Dialect/SparseTensor/CPU/sparse_storage.mlir
M mlir/test/Integration/Dialect/SparseTensor/CPU/sparse_tanh.mlir
M mlir/test/Integration/Dialect/SparseTensor/CPU/sparse_tensor_mul.mlir
M mlir/test/Integration/Dialect/SparseTensor/CPU/sparse_tensor_ops.mlir
M mlir/test/Integration/Dialect/SparseTensor/CPU/sparse_transpose.mlir
M mlir/test/Integration/Dialect/SparseTensor/CPU/sparse_transpose_coo.mlir
M mlir/test/Integration/Dialect/SparseTensor/CPU/sparse_unary.mlir
M mlir/test/Integration/Dialect/SparseTensor/CPU/sparse_vector_ops.mlir
M mlir/test/Integration/Dialect/SparseTensor/GPU/CUDA/sparse-gemm-lib.mlir
M mlir/test/Integration/Dialect/SparseTensor/GPU/CUDA/sparse-sampled-matmul-lib.mlir
M mlir/test/Integration/Dialect/SparseTensor/GPU/CUDA/sparse-sddmm-lib.mlir
Log Message:
-----------
[mlir][sparse] Change sparse_tensor.print format (#91528)
1. Remove the trailing comma for the last element of memref and add
closing parenthesis.
2. Change integration tests to use the new format.
Commit: 9e1a49cba71416d7e425eb420e86e1120199f4de
https://github.com/llvm/llvm-project/commit/9e1a49cba71416d7e425eb420e86e1120199f4de
Author: David Green <david.green at arm.com>
Date: 2024-05-09 (Thu, 09 May 2024)
Changed paths:
A llvm/test/CodeGen/AArch64/frem-power2.ll
A llvm/test/CodeGen/ARM/frem-power2.ll
Log Message:
-----------
[AArch64][ARM] Add tests for frem power2 lowering. NFC
Commit: 937643b8e1017ce6456de0c05b1673bd9ed0800d
https://github.com/llvm/llvm-project/commit/937643b8e1017ce6456de0c05b1673bd9ed0800d
Author: Mark de Wever <koraq at xs4all.nl>
Date: 2024-05-09 (Thu, 09 May 2024)
Changed paths:
M libcxx/test/support/constexpr_char_traits.h
M libcxx/test/support/nasty_string.h
Log Message:
-----------
[libc++][test] Fixes constexpr char_traits. (#90981)
The issue in nasty_char_traits was discovered by @StephanTLavavej who
provided
the solution they use in MSVC STL. This solution is based on that
example.
The same issue affects the constexpr_char_traits which was discovered in
https://github.com/llvm/llvm-project/pull/88389. This uses the same fix.
Fixes: https://github.com/llvm/llvm-project/issues/74221
Commit: 6c8356579b20a6522d39649bcaaaf77e8e324daf
https://github.com/llvm/llvm-project/commit/6c8356579b20a6522d39649bcaaaf77e8e324daf
Author: Tacet <advenam.tacet at trailofbits.com>
Date: 2024-05-09 (Thu, 09 May 2024)
Changed paths:
M libcxx/include/string
Log Message:
-----------
[libc++][ASan] Fix std::basic_string trait type (#91590)
Addresses the comment:
https://github.com/llvm/llvm-project/pull/79536#discussion_r1593652240
Changes the type to `void` instead of `false_type`.
The value is used here:
https://github.com/llvm/llvm-project/blob/6f1013a5b3f92d3ae6e378d6706584a2a44e6964/libcxx/include/__type_traits/is_trivially_relocatable.h#L35-L38
Commit: 2083e97e88ed13d39d9190d65696ad3866c23caa
https://github.com/llvm/llvm-project/commit/2083e97e88ed13d39d9190d65696ad3866c23caa
Author: Benoit Jacob <jacob.benoit.1 at gmail.com>
Date: 2024-05-09 (Thu, 09 May 2024)
Changed paths:
M mlir/lib/Dialect/Vector/Transforms/VectorEmulateNarrowType.cpp
Log Message:
-----------
Fix VectorEmulateNarrowType asserting on scalar type vs vector type. (#91613)
Commit: 28c427e5c022634ef479a98dc46291067a8c6c96
https://github.com/llvm/llvm-project/commit/28c427e5c022634ef479a98dc46291067a8c6c96
Author: Peter Klausler <35819229+klausler at users.noreply.github.com>
Date: 2024-05-09 (Thu, 09 May 2024)
Changed paths:
M flang/include/flang/Evaluate/tools.h
M flang/lib/Evaluate/fold-designator.cpp
M flang/lib/Evaluate/tools.cpp
M flang/test/Semantics/data01.f90
A flang/test/Semantics/data23.f90
Log Message:
-----------
[flang] Ensure that DATA converter can cope with proc ptr error (#90973)
Multiple definitions of a procedure pointer with DATA statements should
elicit an error message, not a compiler crash.
Fixes https://github.com/llvm/llvm-project/issues/90944.
Commit: e9be1292873428a81524f200aaa5cc23b857b22e
https://github.com/llvm/llvm-project/commit/e9be1292873428a81524f200aaa5cc23b857b22e
Author: Tulio Magno Quites Machado Filho <tuliom at redhat.com>
Date: 2024-05-09 (Thu, 09 May 2024)
Changed paths:
M offload/plugins-nextgen/host/src/rtl.cpp
Log Message:
-----------
[Offload] Fixes typo in aarch64 triple (#91622)
Use llvm::Triple:aarch64 as the little-endian triple.
Fixes commit 3e54768d7a0e1cfa65e892b6602993192ecad91e.
Commit: 41f0574c4654fb8a8cbb8c26d453f51a31cfd2a0
https://github.com/llvm/llvm-project/commit/41f0574c4654fb8a8cbb8c26d453f51a31cfd2a0
Author: Xiang Li <python3kgae at outlook.com>
Date: 2024-05-09 (Thu, 09 May 2024)
Changed paths:
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/DiagnosticParseKinds.td
M clang/include/clang/Basic/DiagnosticSemaKinds.td
M clang/lib/Parse/ParseHLSL.cpp
M clang/lib/Sema/SemaDeclAttr.cpp
M clang/lib/Sema/SemaHLSL.cpp
A clang/test/AST/HLSL/packoffset.hlsl
A clang/test/SemaHLSL/packoffset-invalid.hlsl
Log Message:
-----------
[HLSL] reenable add packoffset in AST (#91474)
This reapplies
https://github.com/llvm/llvm-project/commit/c5509fedc5757fffece385d9d068e36b26793ade
"[HLSL] Support packoffset attribute in AST
(https://github.com/llvm/llvm-project/pull/89836)" with a fix for the
test failure caused by missing -fnative-half-type.
Since we have to parse the attribute manually in ParseHLSLAnnotations,
we could create the ParsedAttribute with an integer offset parameter
instead of string. This approach avoids parsing the string if the offset
is saved as a string in HLSLPackOffsetAttr.
For #57914
Commit: d0bafb5435d5ebd90cdf965a9b35bdfa05dde23b
https://github.com/llvm/llvm-project/commit/d0bafb5435d5ebd90cdf965a9b35bdfa05dde23b
Author: Philip Reames <preames at rivosinc.com>
Date: 2024-05-09 (Thu, 09 May 2024)
Changed paths:
M llvm/test/CodeGen/RISCV/rv64zba.ll
Log Message:
-----------
[RISCV] Add coverage for zext.w/h interaction with shift transforms
Two cases where folding the and (which could be a zext.w) through
shifts in generic DAG result in net worse code quality. And one
negative case where keeping a zext.h would result in a longer
critical path.
Commit: 8ed7ea08962bb878d31052c15e811d1a6cda0f07
https://github.com/llvm/llvm-project/commit/8ed7ea08962bb878d31052c15e811d1a6cda0f07
Author: Peter Klausler <35819229+klausler at users.noreply.github.com>
Date: 2024-05-09 (Thu, 09 May 2024)
Changed paths:
M flang/lib/Semantics/resolve-names.cpp
M flang/test/Semantics/modfile12.f90
M flang/test/Semantics/modfile17.f90
A flang/test/Semantics/pdt03.f90
Log Message:
-----------
[flang] Defer conversion of PDT default initializers (#91026)
As the kinds of the integer types of type parameters may well depend on
the values of other type parameters, defer the attempt to convert their
values to the point of type instantiation instead of doing it during
declaration processing.
Commit: 4c3db2588e8b38f75744def6e2dd17c556950e46
https://github.com/llvm/llvm-project/commit/4c3db2588e8b38f75744def6e2dd17c556950e46
Author: Adam Siemieniuk <adam.siemieniuk at intel.com>
Date: 2024-05-09 (Thu, 09 May 2024)
Changed paths:
M mlir/include/mlir/Dialect/Linalg/Passes.td
M mlir/include/mlir/Dialect/Linalg/Transforms/Transforms.h
A mlir/lib/Dialect/Linalg/Transforms/BlockPackMatmul.cpp
M mlir/lib/Dialect/Linalg/Transforms/CMakeLists.txt
A mlir/test/Dialect/Linalg/block-pack-matmul-layout.mlir
A mlir/test/Dialect/Linalg/block-pack-matmul-padding.mlir
A mlir/test/Dialect/Linalg/block-pack-matmul.mlir
Log Message:
-----------
[mlir][linalg] Block pack matmul pass (#89782)
Pack a matmul MxNxK operation into 4D blocked layout. Any present batch
dimensions remain unchanged and the result is unpacked back to the
original layout.
Matmul block packing splits the operands into major blocks (outer
dimensions) and minor blocks (inner dimensions). The desired block
layout can be controlled through packing options.
Commit: 317e6ff6290c4c3065cb79c3eaf52f171e40cdfd
https://github.com/llvm/llvm-project/commit/317e6ff6290c4c3065cb79c3eaf52f171e40cdfd
Author: Danny Mösch <danny.moesch at icloud.com>
Date: 2024-05-09 (Thu, 09 May 2024)
Changed paths:
M llvm/include/llvm/LTO/legacy/LTOCodeGenerator.h
Log Message:
-----------
[NFC] Move parameter into field (#91065)
Fixes #89194.
Commit: e1f279e92ddda4e4fdd6fff165b950d0879fa41e
https://github.com/llvm/llvm-project/commit/e1f279e92ddda4e4fdd6fff165b950d0879fa41e
Author: lntue <35648136+lntue at users.noreply.github.com>
Date: 2024-05-09 (Thu, 09 May 2024)
Changed paths:
M libc/src/__support/FPUtil/FMA.h
R libc/src/__support/FPUtil/aarch64/FMA.h
R libc/src/__support/FPUtil/gpu/FMA.h
R libc/src/__support/FPUtil/riscv/FMA.h
R libc/src/__support/FPUtil/x86_64/FMA.h
M utils/bazel/llvm-project-overlay/libc/BUILD.bazel
Log Message:
-----------
[libc] Use __builtin_fma(f) by default if LIBC_TARGET_CPU_HAS_FMA is defined. (#91535)
Commit: ecae3ed958481cba7d60868cf3504292f7f4fdf5
https://github.com/llvm/llvm-project/commit/ecae3ed958481cba7d60868cf3504292f7f4fdf5
Author: Florian Hahn <flo at fhahn.com>
Date: 2024-05-09 (Thu, 09 May 2024)
Changed paths:
M llvm/lib/Analysis/LoopAccessAnalysis.cpp
M llvm/test/Analysis/LoopAccessAnalysis/offset-range-known-via-assume.ll
Log Message:
-----------
[LAA] Apply loop guards to dependence distance.
After supporting non-constant dependence distances in 933f49248bf,
applying information from loop guards can help further disambiguate
dependencies.
Commit: 785b143a402a282822c3d5e30bb4e2b1980c0b1e
https://github.com/llvm/llvm-project/commit/785b143a402a282822c3d5e30bb4e2b1980c0b1e
Author: Med Ismail Bennani <ismail at bennani.ma>
Date: 2024-05-09 (Thu, 09 May 2024)
Changed paths:
M lldb/examples/python/crashlog.py
M lldb/examples/python/crashlog_scripted_process.py
Log Message:
-----------
[lldb/crashlog] Enforce image loading policy (#91109)
In `27f27d1`, we changed the image loading logic to conform to the
various options (`-a|--load-all` & `-c|--crashed-only`) and loaded them
concurrently.
However, instead of the subset of images that matched the user option,
the thread pool would always run on all the crashlog images, causing
them to be all loaded in the target everytime.
This matches the `-a|--load-all` option behaviour but depending on the
report, it can cause lldb to load thousands of images, which can take a
very long time if the images are downloaded over the network.
This patch fixes that issue by keeping a list of `images_to_load` based
of
the user-provided option. This list will be used with our executor
thread pool to load the images according to the user selection, and
reinstates
the expected default behaviour, by only loading the crashed thread
images and
skipping all the others.
This patch also unifies the way we load images into a single method
that's shared by both the batch mode & the interactive scripted process.
rdar://123694062
Signed-off-by: Med Ismail Bennani <ismail at bennani.ma>
Commit: 22c59e01cd2f87164301415c93b60fc3c204dfb8
https://github.com/llvm/llvm-project/commit/22c59e01cd2f87164301415c93b60fc3c204dfb8
Author: Peter Klausler <35819229+klausler at users.noreply.github.com>
Date: 2024-05-09 (Thu, 09 May 2024)
Changed paths:
M flang/docs/Extensions.md
M flang/lib/Evaluate/formatting.cpp
M flang/lib/Semantics/expression.cpp
M flang/lib/Semantics/resolve-names.cpp
A flang/test/Semantics/array-constr-index01.f90
Log Message:
-----------
[flang] Don't crash on bad inherited implied DO type (#91073)
Fortran has an ambiguously defined rule about the typing of index
variables of implied DO loops in DATA statements and array constructors
that omit an explicit type specification. Such indices have the type
that they would have "if they were variables" in the innermost enclosing
scope. Although this could, and perhaps should, be read to mean that
implicit typing rules active in that innermost enclosing scope should be
applied, every other Fortran compiler interprets that language to mean
that if there is a type declaration for that name that is visible from
the enclosing scope, it is applied, and it is an error if that type is
not integer.
Fixes https://github.com/llvm/llvm-project/issues/91053.
Commit: 8585bf7542f1098bd03a667a408d42d2a815d305
https://github.com/llvm/llvm-project/commit/8585bf7542f1098bd03a667a408d42d2a815d305
Author: Med Ismail Bennani <ismail at bennani.ma>
Date: 2024-05-09 (Thu, 09 May 2024)
Changed paths:
M lldb/examples/python/crashlog.py
Log Message:
-----------
[lldb/crashlog] Update incorrect help message for `--no-crashed-only` option (#91162)
This patch rephrases the crashlog `--no-crashed-only` option help
message. This option is mainly used in batch mode to symbolicate and
dump all the threads backtraces, instead of only doing it for the
crashed thread which is the default behavior.
rdar://127391524
Signed-off-by: Med Ismail Bennani <ismail at bennani.ma>
Commit: b9e3fa84d3fdfe718a4a3085f7adeda3d81f2568
https://github.com/llvm/llvm-project/commit/b9e3fa84d3fdfe718a4a3085f7adeda3d81f2568
Author: Chelsea Cassanova <chelsea_cassanova at apple.com>
Date: 2024-05-09 (Thu, 09 May 2024)
Changed paths:
M lldb/include/lldb/Core/Debugger.h
M lldb/include/lldb/lldb-enumerations.h
M lldb/source/Core/Debugger.cpp
M lldb/source/Core/Progress.cpp
M lldb/unittests/Core/DiagnosticEventTest.cpp
M lldb/unittests/Core/ProgressReportTest.cpp
Log Message:
-----------
[lldb][enums] Remove broadcast bits from debugger (#91618)
Removes the debugger broadcast bits from `Debugger.h` and instead uses
the enum from `lldb-enumerations.h` and adds the
`eBroadcastSymbolChange` bit to the enum in `lldb-enumerations.h`. This fixes a bug wherein the incorrect broadcast bit could be referenced due both of these enums previously existing and being out-of-sync with each other.
Commit: 7c1b2898302c9f84fa43952f746d79817e1ead40
https://github.com/llvm/llvm-project/commit/7c1b2898302c9f84fa43952f746d79817e1ead40
Author: Peter Klausler <35819229+klausler at users.noreply.github.com>
Date: 2024-05-09 (Thu, 09 May 2024)
Changed paths:
M flang/include/flang/Parser/parse-tree.h
M flang/lib/Parser/program-parsers.cpp
Log Message:
-----------
[flang] Accept compiler directives between module subprograms (#91230)
Parse and represent compiler directives in a modules
module-subprogram-part between the module subprograms.
Commit: b3a835e129ed8a67cf393f9ee26989b36a3eff1c
https://github.com/llvm/llvm-project/commit/b3a835e129ed8a67cf393f9ee26989b36a3eff1c
Author: Med Ismail Bennani <ismail at bennani.ma>
Date: 2024-05-09 (Thu, 09 May 2024)
Changed paths:
M lldb/test/API/functionalities/scripted_process/TestScriptedProcess.py
M lldb/test/API/functionalities/scripted_process/dummy_scripted_process.py
Log Message:
-----------
[lldb] Verify target stop-hooks support with scripted process (#91107)
This patch makes sure that scripted process are compatible with target
stop-hooks. This wasn't tested in the past, but it turned out to be
working out of the box.
rdar://124396534
Signed-off-by: Med Ismail Bennani <ismail at bennani.ma>
Commit: 98c1ba460a697110c64f6d1dd362dcf7088a13ca
https://github.com/llvm/llvm-project/commit/98c1ba460a697110c64f6d1dd362dcf7088a13ca
Author: Mingming Liu <mingmingl at google.com>
Date: 2024-05-09 (Thu, 09 May 2024)
Changed paths:
M llvm/include/llvm/ProfileData/InstrProf.h
M llvm/lib/ProfileData/InstrProf.cpp
M llvm/unittests/ProfileData/InstrProfTest.cpp
Log Message:
-----------
[InstrProf] Add vtables with type metadata into symtab (#81051)
The indirect-call-promotion pass will look up the vtable to find out
the virtual function [1],
and add vtable-derived information in icall
candidate [2] for cost-benefit analysis.
[1] https://github.com/llvm/llvm-project/pull/81442/files#diff-a95d1ac8a0da69713fcb3346135d4b219f0a73920318d2549495620ea215191bR395-R416
[2] https://github.com/llvm/llvm-project/pull/81442/files#diff-a95d1ac8a0da69713fcb3346135d4b219f0a73920318d2549495620ea215191bR195-R199
Commit: 7b25ddc559fad078b605c7b3c0d9f4a35a973a52
https://github.com/llvm/llvm-project/commit/7b25ddc559fad078b605c7b3c0d9f4a35a973a52
Author: Peter Klausler <35819229+klausler at users.noreply.github.com>
Date: 2024-05-09 (Thu, 09 May 2024)
Changed paths:
M flang/lib/Semantics/expression.cpp
Log Message:
-----------
[flang] Don't crash in expression analysis after detecting error (#91234)
Avoid calling GetArguments() if a fatal error has been detected.
Fixes https://github.com/llvm/llvm-project/issues/91114.
Commit: bce3132cd26c9546a7429da534aed332f4d05d27
https://github.com/llvm/llvm-project/commit/bce3132cd26c9546a7429da534aed332f4d05d27
Author: Mark de Wever <koraq at xs4all.nl>
Date: 2024-05-09 (Thu, 09 May 2024)
Changed paths:
M libcxx/docs/Status/SpaceshipProjects.csv
Log Message:
-----------
[libc++][doc] Updates Spaceship status page.
The completed chrono parts no longer need an implementation.
Commit: d742c2aa25226c2b48f3917ed86a5a224cf25734
https://github.com/llvm/llvm-project/commit/d742c2aa25226c2b48f3917ed86a5a224cf25734
Author: Peter Klausler <35819229+klausler at users.noreply.github.com>
Date: 2024-05-09 (Thu, 09 May 2024)
Changed paths:
M flang/lib/Semantics/check-declarations.cpp
M flang/lib/Semantics/compute-offsets.cpp
M flang/lib/Semantics/resolve-names-utils.cpp
M flang/test/Semantics/equivalence01.f90
Log Message:
-----------
[flang] Move EQUIVALENCE object checking to check-declarations.cpp (#91259)
Move EQUIVALENCE object checking from resolve-names-utils.cpp to
check-declarations.cpp, where it can work on fully resolved symbols and
reduce clutter in name resolution. Add a check for EQUIVALENCE objects
that are not ObjectEntityDetails symbols so that attempts to equivalence
a procedure are caught.
Commit: 5ad418b55c167fbdce31b92467e90eb3a03d85ce
https://github.com/llvm/llvm-project/commit/5ad418b55c167fbdce31b92467e90eb3a03d85ce
Author: erichkeane <ekeane at nvidia.com>
Date: 2024-05-09 (Thu, 09 May 2024)
Changed paths:
M clang/lib/Parse/ParseOpenACC.cpp
Log Message:
-----------
Remove stale TODO comment
Commit: 90501be35b2c4ad314a45634062e0dfe878d8621
https://github.com/llvm/llvm-project/commit/90501be35b2c4ad314a45634062e0dfe878d8621
Author: Peter Klausler <35819229+klausler at users.noreply.github.com>
Date: 2024-05-09 (Thu, 09 May 2024)
Changed paths:
M flang/docs/Extensions.md
M flang/include/flang/Common/Fortran-features.h
M flang/lib/Semantics/check-declarations.cpp
M flang/test/Semantics/bind-c03.f90
M flang/test/Semantics/bind-c06.f90
M flang/test/Semantics/bindings01.f90
M flang/test/Semantics/resolve81.f90
M flang/test/Semantics/resolve85.f90
Log Message:
-----------
[flang] Accept interoperable types without BIND(C) (#91363)
A derived type that meets (most of) the requirements of an interoperable
type but doesn't actually have the BIND(C) attribute can be accepted as
an interoperable type, with optional warnings.
Commit: 8fd838a8c499b4ce2822d51d1c661058ccc08c7d
https://github.com/llvm/llvm-project/commit/8fd838a8c499b4ce2822d51d1c661058ccc08c7d
Author: Harald van Dijk <harald.vandijk at codeplay.com>
Date: 2024-05-09 (Thu, 09 May 2024)
Changed paths:
M llvm/lib/Target/RISCV/RISCVISelLowering.cpp
M llvm/test/Transforms/InterleavedAccess/RISCV/interleaved-accesses.ll
Log Message:
-----------
[RISC-V] Limit vscale interleaving to addrspace 0. (#91573)
The vlseg and vsseg intrinsic functions are not overloaded on pointer
type, so cannot handle non-default address spaces.
This fixes an error we see after #90583.
Commit: c3d2af0f4e180e67c4c5dd0f83bed1ea226f4565
https://github.com/llvm/llvm-project/commit/c3d2af0f4e180e67c4c5dd0f83bed1ea226f4565
Author: Florian Hahn <flo at fhahn.com>
Date: 2024-05-09 (Thu, 09 May 2024)
Changed paths:
M llvm/lib/Transforms/Vectorize/VPlan.h
M llvm/unittests/Transforms/Vectorize/VPlanTest.cpp
Log Message:
-----------
[VPlan] VPEVLBasedIVPHI is a VPSingleDefRecipe.
VPEVLBasedIVPHIRecipe inherits from VPSingleDefRecipe. Add
VPEVLBasedIVPHISC to VPSingleDefRecipe::classof to make isa/dyn_cast &
co work as expected.
Split off https://github.com/llvm/llvm-project/pull/67934.
Commit: b942c24845a39e6161c8623b1efc4e2083d879e9
https://github.com/llvm/llvm-project/commit/b942c24845a39e6161c8623b1efc4e2083d879e9
Author: Peter Klausler <35819229+klausler at users.noreply.github.com>
Date: 2024-05-09 (Thu, 09 May 2024)
Changed paths:
M flang/lib/Semantics/data-to-inits.cpp
Log Message:
-----------
[flang] Don't crash on not-yet-implemented feature (#91368)
A procedure pointer can be initialized in a DATA statement, but
semantics crashes if the initializer is the name of an intrinsic
function. This patch fixes that crash so that compilation survives to
the point where lowering admits that it doesn't yet support the feature.
Addresses https://github.com/llvm/llvm-project/issues/91295.
Commit: 19b41f40a4b93a6243c816b80b6e664a4418f79f
https://github.com/llvm/llvm-project/commit/19b41f40a4b93a6243c816b80b6e664a4418f79f
Author: Peter Klausler <35819229+klausler at users.noreply.github.com>
Date: 2024-05-09 (Thu, 09 May 2024)
Changed paths:
M flang/lib/Semantics/check-declarations.cpp
M flang/lib/Semantics/resolve-names.cpp
M flang/test/Semantics/entry01.f90
Log Message:
-----------
[flang] Complete RESULT() name constraint checking (#91476)
There are two constraints in the language that prohibit the use of an
ENTRY name being used as the RESULT() variable of the function or
another ENTRY name in the same function's scope; neither can the name of
the function be used as the RESULT() of an ENTRY.
Move most of the existing partial enforcement of these constraints from
name resolution into declaration checking, complete it, and add more
cases to the tests.
Commit: a51d92a44740fd1b17930de183c9ad6d993029b1
https://github.com/llvm/llvm-project/commit/a51d92a44740fd1b17930de183c9ad6d993029b1
Author: Peter Klausler <35819229+klausler at users.noreply.github.com>
Date: 2024-05-09 (Thu, 09 May 2024)
Changed paths:
M flang/lib/Semantics/tools.cpp
M flang/test/Semantics/stmt-func01.f90
Log Message:
-----------
[flang] Fix crash in semantics on error case (#91482)
An erroneous statement function declaration exposed an unhandled
situation in a utility routine in semantics. Patch that hole and add a
test.
Fixes https://github.com/llvm/llvm-project/issues/91429.
Commit: dcf92a249233cab103f848dd12e96e0d642a8899
https://github.com/llvm/llvm-project/commit/dcf92a249233cab103f848dd12e96e0d642a8899
Author: Vlad Serebrennikov <serebrennikov.vladislav at gmail.com>
Date: 2024-05-09 (Thu, 09 May 2024)
Changed paths:
A clang/test/CXX/dcl/dcl.init/aggr.cpp
Log Message:
-----------
[clang][NFC] Add examples from [dcl.init.aggr] to C++ conformance tests (#91435)
This patch adds examples from 2024-04-22 draft of
[[dcl.init.aggr]](http://eel.is/c++draft/dcl.init.aggr) to C++
conformance tests. Testing is done via constant evaluation and static
asserts. As far as I can see, the rest of the conformance suite is
typically testing the latest language mode at the time of writing (with
a notable exception of defect report tests), so I'm also testing in the
latest language mode.
Commit: d36b4abb51a9f84d436f184581b15021fdf22114
https://github.com/llvm/llvm-project/commit/d36b4abb51a9f84d436f184581b15021fdf22114
Author: Keith Smiley <keithbsmiley at gmail.com>
Date: 2024-05-09 (Thu, 09 May 2024)
Changed paths:
M utils/bazel/llvm-project-overlay/lldb/BUILD.bazel
Log Message:
-----------
[bazel] Rework liblldb (#91549)
Previously we were linking liblldb as a shared library, but also linking
the contents into the lldb binary. This is invalid and results in subtle
runtime issues because of duplicate constants, like the global plugin
registry. This now links the dylib to lldb directly. This requires we
switch to cc_binary instead because cc_shared_library expects your
library to export all symbols in your transitive dependency tree, where
we only want to export lldb symbols.
Commit: 75ebcbf24abb2e5b045ec920bc86f667516e4cc6
https://github.com/llvm/llvm-project/commit/75ebcbf24abb2e5b045ec920bc86f667516e4cc6
Author: Krystian Stasiowski <sdkrystian at gmail.com>
Date: 2024-05-09 (Thu, 09 May 2024)
Changed paths:
M clang/lib/Sema/SemaExprMember.cpp
M clang/lib/Sema/SemaLookup.cpp
M clang/lib/Sema/SemaTemplate.cpp
M clang/test/CXX/temp/temp.res/temp.dep/temp.dep.type/p4.cpp
Log Message:
-----------
[Clang][Sema] Revert changes to operator= lookup in templated classes from #91498, #90999, and #90152 (#91620)
This reverts changes in #91498, #90999, and #90152 which make
`operator=` dependent whenever the current class is templated.
Commit: 8ac928fea8d561261133e0337a2777fcda99f7ba
https://github.com/llvm/llvm-project/commit/8ac928fea8d561261133e0337a2777fcda99f7ba
Author: Schrodinger ZHU Yifan <yifanzhu at rochester.edu>
Date: 2024-05-09 (Thu, 09 May 2024)
Changed paths:
M libc/hdr/CMakeLists.txt
A libc/hdr/time_macros.h
M libc/hdr/types/CMakeLists.txt
A libc/hdr/types/clock_t.h
A libc/hdr/types/clockid_t.h
A libc/hdr/types/struct_timeval.h
A libc/hdr/types/suseconds_t.h
A libc/hdr/types/time_t.h
M libc/src/__support/CMakeLists.txt
A libc/src/__support/time/CMakeLists.txt
A libc/src/__support/time/clock_gettime.h
A libc/src/__support/time/linux/CMakeLists.txt
A libc/src/__support/time/linux/clock_gettime.cpp
A libc/src/__support/time/units.h
M libc/src/time/clock.h
M libc/src/time/clock_gettime.h
M libc/src/time/gettimeofday.h
M libc/src/time/linux/CMakeLists.txt
M libc/src/time/linux/clock.cpp
R libc/src/time/linux/clockGetTimeImpl.h
M libc/src/time/linux/clock_gettime.cpp
M libc/src/time/linux/gettimeofday.cpp
M libc/src/time/linux/time.cpp
M libc/src/time/nanosleep.h
M libc/src/time/time_func.h
Log Message:
-----------
[libc][NFC] adjust time related implementations (#91485)
Commit: ddad7c3c84a8706ad539f1a69660a31a00b411a2
https://github.com/llvm/llvm-project/commit/ddad7c3c84a8706ad539f1a69660a31a00b411a2
Author: Tomas Matheson <Tomas.Matheson at arm.com>
Date: 2024-05-09 (Thu, 09 May 2024)
Changed paths:
A clang/test/CodeGen/aarch64-fmv-dependencies.c
A clang/test/Driver/aarch64-fmv.c
Log Message:
-----------
[AArch64] add some more tests for FMV (#91490)
Add a couple of tests to make it clear:
- when FMV should be enabled and disabled by the driver.
- which extensions are enabled/disabled based on the dependencies
specified in TargetParser.
Commit: f4a7e1f9bac1f11e1db1c0a895f3f681838f89f2
https://github.com/llvm/llvm-project/commit/f4a7e1f9bac1f11e1db1c0a895f3f681838f89f2
Author: Med Ismail Bennani <ismail at bennani.ma>
Date: 2024-05-09 (Thu, 09 May 2024)
Changed paths:
M lldb/examples/python/crashlog.py
Log Message:
-----------
[lldb/crashlog] Fix module binary resolution (#91631)
This patch fixes a bug in when resolving and loading modules from the
binary image list.
When loading a module, we would first use the UUID from the binary image
list with `dsymForUUID` to fetch the dSYM bundle from our remote build
records and copy the executable locally.
If we failed to find a matching dSYM bundle for that UUID on the build
record, let's say if that module was built locally, we use Spotlight
(`mdfind`) to find the dSYM bundle once again using the UUID.
Prior to this patch, we would set the image path to be the same as the
symbol file. This resulted in trying to load the dSYM as a module in
lldb, which isn't allowed.
This patch address that by looking for a binary matching the image
identifier, next to the dSYM bundle and try to load that instead.
rdar://127433616
Signed-off-by: Med Ismail Bennani <ismail at bennani.ma>
Commit: 639a740035b732e9bc0f43f3f95d1ce3acf82e1b
https://github.com/llvm/llvm-project/commit/639a740035b732e9bc0f43f3f95d1ce3acf82e1b
Author: Tomas Matheson <Tomas.Matheson at arm.com>
Date: 2024-05-09 (Thu, 09 May 2024)
Changed paths:
M clang/test/Driver/aarch64-implied-sme-features.c
M clang/test/Driver/aarch64-implied-sve-features.c
M lldb/test/Shell/Commands/command-disassemble-aarch64-extensions.s
M llvm/include/llvm/TargetParser/AArch64TargetParser.h
M llvm/lib/Target/AArch64/AArch64Features.td
M llvm/unittests/TargetParser/TargetParserTest.cpp
M llvm/utils/TableGen/ARMTargetDefEmitter.cpp
Log Message:
-----------
[AArch64] move extension information into tablgen (#90987)
Generate TargetParser extension information from tablegen. This includes FMV extension information. FMV only extensions are represented by a separate tablegen class.
Use MArchName/ArchKindEnumSpelling to avoid renamings.
Cases where there is simply a case difference are handled by
consistently uppercasing the AEK_ name in the emitted code.
Remove some Extensions which were not needed.
These had AEK entries but were never actually used for anything.
They are not present in Extensions[] data.
Commit: 99f45b4c5b67cccb7845580a67b42776f49ef0e2
https://github.com/llvm/llvm-project/commit/99f45b4c5b67cccb7845580a67b42776f49ef0e2
Author: Keith Smiley <keithbsmiley at gmail.com>
Date: 2024-05-09 (Thu, 09 May 2024)
Changed paths:
M utils/bazel/llvm-project-overlay/llvm/BUILD.bazel
Log Message:
-----------
[bazel] Fix new CodeGen dep (#91654)
```
.../AMDGPUUtilsAndDesc/AMDGPUCallLowering.h:17:10: fatal error: 'llvm/CodeGen/GlobalISel/CallLowering.h' file not found
```
https://buildkite.com/llvm-project/upstream-bazel/builds/97166
Commit: db9421381980cdf3d6914f8898a77d3237325019
https://github.com/llvm/llvm-project/commit/db9421381980cdf3d6914f8898a77d3237325019
Author: Med Ismail Bennani <ismail at bennani.ma>
Date: 2024-05-09 (Thu, 09 May 2024)
Changed paths:
M lldb/examples/python/crashlog.py
Log Message:
-----------
[lldb/crashlog] Fix test failure when creating a target using command options (#91653)
This should fix the various crashlog test failures on the bots:
```
lldb-shell :: ScriptInterpreter/Python/Crashlog/app_specific_backtrace_crashlog.test
lldb-shell :: ScriptInterpreter/Python/Crashlog/interactive_crashlog_json.test
lldb-shell :: ScriptInterpreter/Python/Crashlog/interactive_crashlog_legacy.test
lldb-shell :: ScriptInterpreter/Python/Crashlog/last_exception_backtrace_crashlog.test
lldb-shell :: ScriptInterpreter/Python/Crashlog/skipped_status_interactive_crashlog.test
```
When we create a target by using the command option, we don't set it in
the crashlog object which later on cause us to fail loading the images.
rdar://127832961
Signed-off-by: Med Ismail Bennani <ismail at bennani.ma>
Commit: ca3917538de1deeb0e51f11fbdbe295b6d3768d1
https://github.com/llvm/llvm-project/commit/ca3917538de1deeb0e51f11fbdbe295b6d3768d1
Author: Yaxun (Sam) Liu <yaxun.liu at amd.com>
Date: 2024-05-09 (Thu, 09 May 2024)
Changed paths:
M clang/docs/ClangOffloadBundler.rst
M clang/lib/Driver/OffloadBundler.cpp
M clang/test/Driver/clang-offload-bundler.c
M clang/test/Driver/linker-wrapper.c
M clang/tools/clang-linker-wrapper/ClangLinkerWrapper.cpp
Log Message:
-----------
[ClangOffloadBundler] make hipv4 and hip compatible (#91637)
The distinction between the hip and hipv4 offload kinds is historically
based. Originally, these designations might have indicated different
versions of the code object ABI (Application Binary Interface). However,
as the system has evolved, the ABI version is now embedded directly
within the code object itself, making these historical distinctions
irrelevant during the unbundling process. Consequently, hip and hipv4
are treated as compatible in current implementations, facilitating
interchangeable handling of code objects without differentiation based
on offload kind. This change streamlines code management within the
ecosystem.
Commit: 5a0e0b659fb5c652c66a083224bf300b4ae32452
https://github.com/llvm/llvm-project/commit/5a0e0b659fb5c652c66a083224bf300b4ae32452
Author: Schrodinger ZHU Yifan <yifanzhu at rochester.edu>
Date: 2024-05-09 (Thu, 09 May 2024)
Changed paths:
M libc/hdr/CMakeLists.txt
R libc/hdr/time_macros.h
M libc/hdr/types/CMakeLists.txt
R libc/hdr/types/clock_t.h
R libc/hdr/types/clockid_t.h
R libc/hdr/types/struct_timeval.h
R libc/hdr/types/suseconds_t.h
R libc/hdr/types/time_t.h
M libc/src/__support/CMakeLists.txt
R libc/src/__support/time/CMakeLists.txt
R libc/src/__support/time/clock_gettime.h
R libc/src/__support/time/linux/CMakeLists.txt
R libc/src/__support/time/linux/clock_gettime.cpp
R libc/src/__support/time/units.h
M libc/src/time/clock.h
M libc/src/time/clock_gettime.h
M libc/src/time/gettimeofday.h
M libc/src/time/linux/CMakeLists.txt
M libc/src/time/linux/clock.cpp
A libc/src/time/linux/clockGetTimeImpl.h
M libc/src/time/linux/clock_gettime.cpp
M libc/src/time/linux/gettimeofday.cpp
M libc/src/time/linux/time.cpp
M libc/src/time/nanosleep.h
M libc/src/time/time_func.h
Log Message:
-----------
Revert "[libc][NFC] adjust time related implementations" (#91657)
Reverts llvm/llvm-project#91485. It breaks GPU and fuchisa.
Commit: dfff57e751f6bae12172a1a246e1f8b33db042f8
https://github.com/llvm/llvm-project/commit/dfff57e751f6bae12172a1a246e1f8b33db042f8
Author: Craig Topper <craig.topper at sifive.com>
Date: 2024-05-09 (Thu, 09 May 2024)
Changed paths:
M llvm/lib/Target/RISCV/RISCVISelDAGToDAG.cpp
M llvm/test/CodeGen/RISCV/rv64zba.ll
Log Message:
-----------
[RISCV] Add isel special case for (and (shl X, c2), c1) -> (slli_uw (srli x, c3-c2), c3). (#91638)
Where c1 is a shifted mask with 32 set bits and c3 trailing zeros.
Commit: a3457369cd12b093185a5bda3443e08a4390f3ed
https://github.com/llvm/llvm-project/commit/a3457369cd12b093185a5bda3443e08a4390f3ed
Author: Min Hsu <min.hsu at sifive.com>
Date: 2024-05-09 (Thu, 09 May 2024)
Changed paths:
M llvm/unittests/ExecutionEngine/Orc/CoreAPIsTest.cpp
Log Message:
-----------
[Orc] Fix `-Wsign-compare` warnings in unittest
Multiple compares against `LookupsCompleted`, which is effectively an
unsigned long, with constant signed integer were throwing -Wsign-compare
warnings.
This is effectively NFC.
Commit: 8466480bdad9d1ef858329ec51cd910c419036a0
https://github.com/llvm/llvm-project/commit/8466480bdad9d1ef858329ec51cd910c419036a0
Author: Min Hsu <min.hsu at sifive.com>
Date: 2024-05-09 (Thu, 09 May 2024)
Changed paths:
M llvm/unittests/ProfileData/InstrProfTest.cpp
Log Message:
-----------
[ProfData] Remove unused variable in unittest
Removed unused `VTables` in unittests/ProfileData/InstrProfTest.cpp.
NFC.
Commit: 04ce10357b485e5e03480b1ca2e91e75c50b1fef
https://github.com/llvm/llvm-project/commit/04ce10357b485e5e03480b1ca2e91e75c50b1fef
Author: MaheshRavishankar <1663364+MaheshRavishankar at users.noreply.github.com>
Date: 2024-05-09 (Thu, 09 May 2024)
Changed paths:
M mlir/lib/Dialect/SCF/Utils/Utils.cpp
M mlir/test/Dialect/SCF/transform-op-coalesce.mlir
Log Message:
-----------
[mlir][SCF] Avoid generating unnecessary div/rem operations during coalescing (#91562)
When coalescing is some of the loops are unit-trip we can avoid
generating div/rem instructions during delinearization. Ideally we could
use some thing like `affine.delinearize` to handle this but tthat causes
dependence issues.
Commit: ba66dfb11bcaef5e0dc21358b3712b491d61d020
https://github.com/llvm/llvm-project/commit/ba66dfb11bcaef5e0dc21358b3712b491d61d020
Author: Dmitry Vasilyev <dvassiliev at accesssoftek.com>
Date: 2024-05-10 (Fri, 10 May 2024)
Changed paths:
M lldb/packages/Python/lldbsuite/test/tools/lldb-server/gdbremote_testcase.py
M lldb/packages/Python/lldbsuite/test/tools/lldb-server/lldbgdbserverutils.py
Log Message:
-----------
[lldb] Fixed SyntaxWarning: invalid escape sequence \[ \d \s (#91146)
Reproduced with Python 3.12.3
Commit: 5d51db75e46155d0f3d70cf3253d3b075cfcf93a
https://github.com/llvm/llvm-project/commit/5d51db75e46155d0f3d70cf3253d3b075cfcf93a
Author: asraa <asraa at google.com>
Date: 2024-05-09 (Thu, 09 May 2024)
Changed paths:
M mlir/include/mlir/Dialect/Affine/Utils.h
M mlir/lib/Dialect/Affine/Transforms/AffineScalarReplacement.cpp
M mlir/lib/Dialect/Affine/Utils/Utils.cpp
M mlir/test/Dialect/Affine/scalrep.mlir
Log Message:
-----------
[mlir][affine] Use alias analysis to redetermine intervening memory effects in affine-scalrep (#90859)
This fixes a TODO to use alias analysis to determine whether a read op
intervenes between two write operations to the same memref.
Signed-off-by: Asra <asraa at google.com>
Commit: a99cb96dfa97c04c3313cb3770b876fee20eb131
https://github.com/llvm/llvm-project/commit/a99cb96dfa97c04c3313cb3770b876fee20eb131
Author: Ryosuke Niwa <rniwa at webkit.org>
Date: 2024-05-09 (Thu, 09 May 2024)
Changed paths:
M clang/lib/StaticAnalyzer/Checkers/WebKit/PtrTypesSemantics.cpp
M clang/test/Analysis/Checkers/WebKit/uncounted-obj-arg.cpp
Log Message:
-----------
[alpha.webkit.UncountedCallArgsChecker] Allow trivial operator++ (#91102)
This PR adds the support for trivial operator++ implementations. T&
operator++() and T operator++(int) are trivial if the callee is trivial.
Also allow incrementing and decrementing of a POD member variable.
Also treat any __builtin_ functions as trivial.
Commit: 8a3277acbc7b7af917f570f7d6430dda41c4d9ee
https://github.com/llvm/llvm-project/commit/8a3277acbc7b7af917f570f7d6430dda41c4d9ee
Author: Brendan Dahl <brendan.dahl at gmail.com>
Date: 2024-05-09 (Thu, 09 May 2024)
Changed paths:
M clang/include/clang/Basic/BuiltinsWebAssembly.def
M clang/lib/CodeGen/CGBuiltin.cpp
M clang/test/CodeGen/builtins-wasm.c
M llvm/include/llvm/IR/IntrinsicsWebAssembly.td
M llvm/lib/Target/WebAssembly/MCTargetDesc/WebAssemblyMCTargetDesc.h
M llvm/lib/Target/WebAssembly/WebAssemblyISelLowering.cpp
M llvm/lib/Target/WebAssembly/WebAssemblyInstrMemory.td
M llvm/test/CodeGen/WebAssembly/half-precision.ll
M llvm/test/CodeGen/WebAssembly/offset.ll
M llvm/test/MC/WebAssembly/simd-encodings.s
Log Message:
-----------
[WebAssembly] Implement prototype f32.store_f16 instruction. (#91545)
Adds a builtin and intrinsic for the f32.store_f16 instruction.
The instruction stores an f32 value as an f16 memory. Specified at:
https://github.com/WebAssembly/half-precision/blob/29a9b9462c9285d4ccc1a5dc39214ddfd1892658/proposals/half-precision/Overview.md
Note: the current spec has f32.store_f16 as opcode 0xFD0121, but this is
incorrect and will be changed to 0xFC31 soon.
Commit: 1e97d114b5b2b522de7e0aa9c950199de0798d53
https://github.com/llvm/llvm-project/commit/1e97d114b5b2b522de7e0aa9c950199de0798d53
Author: Jonas Devlieghere <jonas at devlieghere.com>
Date: 2024-05-09 (Thu, 09 May 2024)
Changed paths:
M llvm/docs/CommandGuide/dsymutil.rst
M llvm/test/tools/dsymutil/ARM/empty-map.test
M llvm/test/tools/dsymutil/cmdline.test
M llvm/tools/dsymutil/LinkUtils.h
M llvm/tools/dsymutil/Options.td
M llvm/tools/dsymutil/dsymutil.cpp
Log Message:
-----------
[dsymutil] Add -q/--quiet flag to suppress warnings (#91658)
Add a -q/--quiet flag to suppress dsymutil output. For now the flag is
limited to dsymutil, though there might be other places in the DWARF
linker that could be conditionalized by this flag.
The motivation is having a way to silence the "no debug symbols in
executable" warning. This is useful when we want to generate a dSYM for
a binary not containing debug symbols, but still want a dSYM that can be
indexed by spotlight.
rdar://127843467
Commit: 95f208f97e709139c3ecbce552bcf1e34b9fcf12
https://github.com/llvm/llvm-project/commit/95f208f97e709139c3ecbce552bcf1e34b9fcf12
Author: Anthony Ha <anthonyha96 at gmail.com>
Date: 2024-05-09 (Thu, 09 May 2024)
Changed paths:
M lldb/include/lldb/Target/Platform.h
M lldb/include/lldb/Target/RemoteAwarePlatform.h
M lldb/source/Plugins/Platform/MacOSX/PlatformDarwinDevice.cpp
M lldb/source/Plugins/Platform/gdb-server/PlatformRemoteGDBServer.cpp
M lldb/source/Plugins/Platform/gdb-server/PlatformRemoteGDBServer.h
M lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.cpp
M lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.h
M lldb/source/Target/Platform.cpp
M lldb/source/Target/RemoteAwarePlatform.cpp
M lldb/unittests/Process/gdb-remote/GDBRemoteCommunicationClientTest.cpp
Log Message:
-----------
[lldb] Unify CalculateMD5 return types (#91029)
This is a retake of https://github.com/llvm/llvm-project/pull/90921
which got reverted because I forgot to modify the CalculateMD5 unit test
I had added in https://github.com/llvm/llvm-project/pull/88812
The prior failing build is here:
https://lab.llvm.org/buildbot/#/builders/68/builds/73622
To make sure this error doesn't happen, I ran `ninja
ProcessGdbRemoteTests` and then executed the resulting test binary and
observed the `CalculateMD5` test passed.
# Overview
In my previous PR: https://github.com/llvm/llvm-project/pull/88812,
@JDevlieghere suggested to match return types of the various calculate
md5 functions.
This PR achieves that by changing the various calculate md5 functions to
return `llvm::ErrorOr<llvm::MD5::MD5Result>`.
The suggestion was to go for `std::optional<>` but I opted for
`llvm::ErrorOr<>` because local calculate md5 was already possibly
returning `ErrorOr`.
To make sure I didn't break the md5 calculation functionality, I ran
some tests for the gdb remote client, and things seem to work.
# Testing
1. Remote file doesn't exist
![image](https://github.com/llvm/llvm-project/assets/1326275/b26859e2-18c3-4685-be8f-c6b6a5a4bc77)
1. Remote file differs
![image](https://github.com/llvm/llvm-project/assets/1326275/cbdb3c58-555a-401b-9444-c5ff4c04c491)
1. Remote file matches
![image](https://github.com/llvm/llvm-project/assets/1326275/07561572-22d1-4e0a-988f-bc91b5c2ffce)
## Test gaps
Unfortunately, I had to modify
`lldb/source/Plugins/Platform/MacOSX/PlatformDarwinDevice.cpp` and I
can't test the changes there. Hopefully, the existing test suite / code
review from whomever is reading this will catch any issues.
Commit: f893dccbba372792e7e7095d741f98a234654875
https://github.com/llvm/llvm-project/commit/f893dccbba372792e7e7095d741f98a234654875
Author: Eli Friedman <efriedma at quicinc.com>
Date: 2024-05-09 (Thu, 09 May 2024)
Changed paths:
M llvm/include/llvm/Transforms/Scalar/JumpThreading.h
M llvm/lib/Analysis/BranchProbabilityInfo.cpp
M llvm/lib/Analysis/ConstantFolding.cpp
M llvm/lib/Analysis/InlineCost.cpp
M llvm/lib/Analysis/ScalarEvolution.cpp
M llvm/lib/IR/Constants.cpp
M llvm/lib/Target/AMDGPU/AMDGPUInstCombineIntrinsic.cpp
M llvm/lib/Target/X86/X86InstCombineIntrinsic.cpp
M llvm/lib/Transforms/InstCombine/InstCombineAndOrXor.cpp
M llvm/lib/Transforms/InstCombine/InstCombineCalls.cpp
M llvm/lib/Transforms/InstCombine/InstCombineCompares.cpp
M llvm/lib/Transforms/InstCombine/InstCombineSelect.cpp
M llvm/lib/Transforms/InstCombine/InstructionCombining.cpp
M llvm/lib/Transforms/Scalar/JumpThreading.cpp
M llvm/lib/Transforms/Utils/SimplifyCFG.cpp
M llvm/test/Transforms/JumpThreading/thread-two-bbs.ll
Log Message:
-----------
Replace uses of ConstantExpr::getCompare. (#91558)
Use ICmpInst::compare() where possible, ConstantFoldCompareInstOperands
in other places. This only changes places where the either the fold is
guaranteed to succeed, or the code doesn't use the resulting compare if
we fail to fold.
Commit: f865dbff17ca516d605b053d5556c1498c300a42
https://github.com/llvm/llvm-project/commit/f865dbff17ca516d605b053d5556c1498c300a42
Author: Jeffrey Byrnes <jeffrey.byrnes at amd.com>
Date: 2024-05-09 (Thu, 09 May 2024)
Changed paths:
M llvm/lib/Transforms/Scalar/SeparateConstOffsetFromGEP.cpp
M llvm/test/Transforms/SeparateConstOffsetFromGEP/AMDGPU/reorder-gep-inbounds.ll
M llvm/test/Transforms/SeparateConstOffsetFromGEP/AMDGPU/reorder-gep.ll
M llvm/test/Transforms/SeparateConstOffsetFromGEP/NVPTX/lower-gep-reorder.ll
M llvm/test/Transforms/SeparateConstOffsetFromGEP/reorder-gep.ll
Log Message:
-----------
[SeparateConstOffsetFromGEP] Support GEP reordering for different types (#90802)
This doesn't show up in existing lit tests, but has an impact on real
code -- especially after the canonicalization of GEPs to i8.
Alive2 tests for the inbounds handling:
Case 1: https://alive2.llvm.org/ce/z/6bfFY3
Case 2: https://alive2.llvm.org/ce/z/DkLMLF
Commit: e4763ca83b90eed96be6fd83a9867e435f4b8ffe
https://github.com/llvm/llvm-project/commit/e4763ca83b90eed96be6fd83a9867e435f4b8ffe
Author: Mircea Trofin <mtrofin at google.com>
Date: 2024-05-09 (Thu, 09 May 2024)
Changed paths:
M compiler-rt/lib/ctx_profile/CMakeLists.txt
A compiler-rt/lib/ctx_profile/CtxInstrContextNode.h
M compiler-rt/lib/ctx_profile/CtxInstrProfiling.cpp
M compiler-rt/lib/ctx_profile/CtxInstrProfiling.h
M compiler-rt/test/ctx_profile/CMakeLists.txt
A compiler-rt/test/ctx_profile/TestCases/check-same-ctx-node.test
A compiler-rt/test/ctx_profile/lit.cfg.py
A compiler-rt/test/ctx_profile/lit.site.cfg.py.in
M compiler-rt/test/lit.common.cfg.py
A llvm/lib/ProfileData/CtxInstrContextNode.h
Log Message:
-----------
[ctx_profile] Pull `ContextNode` in a `.inc` file (#91669)
This pulls out `ContextNode` as we need to use it pretty much as-is to implement a writer. The writer will be implemented on the LLVM side because it takes a dependency on BitStreamWriter.
Since we can't reuse a header between compiler-rt and llvm, we use a header file which is copied on both sides, and test that the 2 copies are identical.
The changes adds the necessary other stuff for compiler-rt/ctx_profile testing.
Commit: 0fd017ce43875283ecce55f18f721f47ba37a920
https://github.com/llvm/llvm-project/commit/0fd017ce43875283ecce55f18f721f47ba37a920
Author: Mircea Trofin <mtrofin at google.com>
Date: 2024-05-09 (Thu, 09 May 2024)
Changed paths:
M compiler-rt/lib/ctx_profile/CtxInstrContextNode.h
M compiler-rt/test/ctx_profile/TestCases/check-same-ctx-node.test
A llvm/include/llvm/ProfileData/CtxInstrContextNode.h
R llvm/lib/ProfileData/CtxInstrContextNode.h
Log Message:
-----------
[nfc][ctx_profile] Move `CtxInstrContextNode.h` in `include`
Follow-up from PR #91669.
Commit: db78ee0cb82669302a5e0f18a15fd53346a73823
https://github.com/llvm/llvm-project/commit/db78ee0cb82669302a5e0f18a15fd53346a73823
Author: alx32 <103613512+alx32 at users.noreply.github.com>
Date: 2024-05-09 (Thu, 09 May 2024)
Changed paths:
M lld/MachO/ObjC.cpp
Log Message:
-----------
[lld-macho] Fix address sanitizer for category merging (#91680)
FIxing the address sanitizer issue reported in
https://github.com/llvm/llvm-project/pull/91548 .
The problem comes from the assignment `auto bodyData = newSectionData`
which defaults to `SmallVector<uint8_t> data = newSectionData` - which
actually creates a copy of the data, placed on the stack.
By explicitly using `ArrayRef` instead, we make sure that the original
copy is used.
We also change the assignment in `ObjcCategoryMerger::newStringData`
from `auto` to `SmallVector<uint8_t> &` to make it explicit.
Commit: d24eaef92525d03b4b64c7b4acd07197bdfb57cc
https://github.com/llvm/llvm-project/commit/d24eaef92525d03b4b64c7b4acd07197bdfb57cc
Author: Luke Lau <luke at igalia.com>
Date: 2024-05-10 (Fri, 10 May 2024)
Changed paths:
M llvm/lib/Target/RISCV/RISCVISelLowering.cpp
M llvm/test/CodeGen/RISCV/rvv/sink-splat-operands.ll
Log Message:
-----------
[RISCV] Sink vector select splat operands (#91554)
vmerge.vxm allows us to splat the true operand of a select, so sink it
where possible to reduce vector register pressure.
Commit: 427beff2ad274f38f9de682f48f550cdcf5fc505
https://github.com/llvm/llvm-project/commit/427beff2ad274f38f9de682f48f550cdcf5fc505
Author: Kareem Ergawy <kareem.ergawy at amd.com>
Date: 2024-05-10 (Fri, 10 May 2024)
Changed paths:
M mlir/include/mlir/Dialect/OpenMP/OpenMPOps.td
M mlir/lib/Dialect/OpenMP/IR/OpenMPDialect.cpp
M mlir/test/Dialect/OpenMP/invalid.mlir
M mlir/test/Dialect/OpenMP/ops.mlir
Log Message:
-----------
[OpenMP][MLIR] Add `private` clause to `omp.target` (#91202)
Commit: e069bb7fd85b69abded27b44f33bf40a522ab9b6
https://github.com/llvm/llvm-project/commit/e069bb7fd85b69abded27b44f33bf40a522ab9b6
Author: Craig Topper <craig.topper at sifive.com>
Date: 2024-05-09 (Thu, 09 May 2024)
Changed paths:
M llvm/lib/TargetParser/RISCVISAInfo.cpp
Log Message:
-----------
[RISCV] Use map::count instead of hasExtension in RISCVISAInfo::updateCombination. NFC
hasExtension check isSupportedExtension before the map lookup. All
of the extensions we check for in updateCombination should be valid
extension names so we can bypass that to save some time.
Commit: 0d31ac8893c382117abfb238f52c9736b2a38a8d
https://github.com/llvm/llvm-project/commit/0d31ac8893c382117abfb238f52c9736b2a38a8d
Author: Tom Stellard <tstellar at redhat.com>
Date: 2024-05-09 (Thu, 09 May 2024)
Changed paths:
M .github/workflows/release-tasks.yml
Log Message:
-----------
workflows: Remove top-level permissions from release-tasks.yml (#91088)
This is the recommend best practice and we also don't need write access
for all jobs.
Commit: 720dfd94dfe83d8ce57ad3fe317563d7e1a9c602
https://github.com/llvm/llvm-project/commit/720dfd94dfe83d8ce57ad3fe317563d7e1a9c602
Author: Tom Stellard <tstellar at redhat.com>
Date: 2024-05-09 (Thu, 09 May 2024)
Changed paths:
M .github/workflows/release-doxygen.yml
Log Message:
-----------
workflows: Fix missing GITHUB_TOKEN in release-doxygen.yml upload step (#91091)
We were accidentally setting the GITHUB_TOKEN environment variable in
the previous step.
Commit: 181e2e8fb9efe6e8f3f7fc094516f125659b687c
https://github.com/llvm/llvm-project/commit/181e2e8fb9efe6e8f3f7fc094516f125659b687c
Author: Mircea Trofin <mtrofin at google.com>
Date: 2024-05-09 (Thu, 09 May 2024)
Changed paths:
M llvm/unittests/ProfileData/MemProfTest.cpp
Log Message:
-----------
[nfc][memprof] Add missing license to `MemProfTest` (#91695)
Commit: 21be8182239a9c87a50071d122d5532037fd8305
https://github.com/llvm/llvm-project/commit/21be8182239a9c87a50071d122d5532037fd8305
Author: Ryosuke Niwa <rniwa at webkit.org>
Date: 2024-05-09 (Thu, 09 May 2024)
Changed paths:
M clang/lib/StaticAnalyzer/Checkers/WebKit/ASTUtils.cpp
M clang/lib/StaticAnalyzer/Checkers/WebKit/ASTUtils.h
M clang/lib/StaticAnalyzer/Checkers/WebKit/UncountedCallArgsChecker.cpp
M clang/lib/StaticAnalyzer/Checkers/WebKit/UncountedLocalVarsChecker.cpp
M clang/test/Analysis/Checkers/WebKit/call-args.cpp
M clang/test/Analysis/Checkers/WebKit/uncounted-local-vars.cpp
Log Message:
-----------
[analyzer] Support determining origins in a conditional operator in WebKit checkers. (#91143)
This PR adds the support for determining the origin of a pointer in a
conditional operator.
Because such an expression can have two distinct origins each of which
needs to be visited, this PR refactors tryToFindPtrOrigin to take a
callback instead of returning a pair.
The callback is called for the second operand and the third operand of
the conditioanl operator (i.e. E2 and E3 in E1 ? E2 : E3).
Also treat nullptr and integer literal as safe pointer origins in the
local variable checker.
Commit: 2c5f470da6ab313f7c6a1aa53fb40dbcbde338f1
https://github.com/llvm/llvm-project/commit/2c5f470da6ab313f7c6a1aa53fb40dbcbde338f1
Author: Chaitanya <Krishna.Sankisa at amd.com>
Date: 2024-05-10 (Fri, 10 May 2024)
Changed paths:
M llvm/lib/Target/AMDGPU/AMDGPULowerModuleLDSPass.cpp
M llvm/lib/Target/AMDGPU/Utils/AMDGPUMemoryUtils.cpp
M llvm/lib/Target/AMDGPU/Utils/AMDGPUMemoryUtils.h
Log Message:
-----------
[AMDGPU] Move LDS utilities from amdgpu-lower-module-lds pass to AMDGPUMemoryUtils (#88002)
This moves some of the utility methods from amdgpu-lower-module-lds pass to AMDGPUMemoryUtils.
Commit: 87f3407856e61a73798af4e41b28bc33b5bf4ce6
https://github.com/llvm/llvm-project/commit/87f3407856e61a73798af4e41b28bc33b5bf4ce6
Author: Phoebe Wang <phoebe.wang at intel.com>
Date: 2024-05-10 (Fri, 10 May 2024)
Changed paths:
M llvm/lib/TargetParser/Host.cpp
Log Message:
-----------
[X86][Driver] Do not add `-evex512` for `-march=native` when the target doesn't support AVX512 (#91694)
Commit: 06ad86361ab29d344a5e2e22903c2739743c77be
https://github.com/llvm/llvm-project/commit/06ad86361ab29d344a5e2e22903c2739743c77be
Author: Danny Mösch <danny.moesch at icloud.com>
Date: 2024-05-10 (Fri, 10 May 2024)
Changed paths:
M llvm/include/llvm/Analysis/DOTGraphTraitsPass.h
Log Message:
-----------
[NFC] Prefer `str.resize(len)` over `str.substr(0, len)` (#91067)
Commit: 135d92f903161e66ff82ab846acfbc5015ef3096
https://github.com/llvm/llvm-project/commit/135d92f903161e66ff82ab846acfbc5015ef3096
Author: Kazu Hirata <kazu at google.com>
Date: 2024-05-09 (Thu, 09 May 2024)
Changed paths:
M clang/lib/Driver/Driver.cpp
M clang/lib/Driver/ToolChains/AIX.cpp
M clang/lib/Driver/ToolChains/AMDGPU.cpp
M clang/lib/Driver/ToolChains/Clang.cpp
M clang/lib/Driver/ToolChains/CommonArgs.cpp
M clang/lib/Driver/ToolChains/Flang.cpp
Log Message:
-----------
[Driver] Use StringRef::operator== instead of StringRef::equals (NFC) (#91698)
I'm planning to remove StringRef::equals in favor of
StringRef::operator==.
- StringRef::operator==/!= outnumber StringRef::equals by a factor of
13 under clang/ in terms of their usage.
- The elimination of StringRef::equals brings StringRef closer to
std::string_view, which has operator== but not equals.
- S == "foo" is more readable than S.equals("foo"), especially for
!Long.Expression.equals("str") vs Long.Expression != "str".
Commit: e7e13c6ffec58fe67a23d173387e96d5ebb8f84b
https://github.com/llvm/llvm-project/commit/e7e13c6ffec58fe67a23d173387e96d5ebb8f84b
Author: Lang Hames <lhames at gmail.com>
Date: 2024-05-10 (Fri, 10 May 2024)
Changed paths:
M llvm/lib/ExecutionEngine/Orc/EPCGenericDylibManager.cpp
Log Message:
-----------
[ORC] Fix another error fall-through in EPCGenericDylibManager::lookupAsync.
The early return added in this commit should have been added in cbf1535cc81.
No test-case: This would require a deliberately injected failure in a
remote-JIT test and we don't have the infrastructure for that at the moment.
rdar://126772381
Commit: 0ebe48f068c0ca69f76ed68b621c9294acd75f76
https://github.com/llvm/llvm-project/commit/0ebe48f068c0ca69f76ed68b621c9294acd75f76
Author: Luke Lau <luke at igalia.com>
Date: 2024-05-10 (Fri, 10 May 2024)
Changed paths:
M llvm/lib/Target/RISCV/RISCVTargetMachine.cpp
M llvm/test/CodeGen/RISCV/O0-pipeline.ll
M llvm/test/CodeGen/RISCV/O3-pipeline.ll
M llvm/test/CodeGen/RISCV/rvv/ceil-vp.ll
M llvm/test/CodeGen/RISCV/rvv/commutable.ll
M llvm/test/CodeGen/RISCV/rvv/ctlz-sdnode.ll
M llvm/test/CodeGen/RISCV/rvv/ctlz-vp.ll
M llvm/test/CodeGen/RISCV/rvv/cttz-sdnode.ll
M llvm/test/CodeGen/RISCV/rvv/double-round-conv.ll
M llvm/test/CodeGen/RISCV/rvv/fixed-vectors-ceil-vp.ll
M llvm/test/CodeGen/RISCV/rvv/fixed-vectors-ctlz.ll
M llvm/test/CodeGen/RISCV/rvv/fixed-vectors-cttz.ll
M llvm/test/CodeGen/RISCV/rvv/fixed-vectors-floor-vp.ll
M llvm/test/CodeGen/RISCV/rvv/fixed-vectors-round-vp.ll
M llvm/test/CodeGen/RISCV/rvv/fixed-vectors-roundeven-vp.ll
M llvm/test/CodeGen/RISCV/rvv/fixed-vectors-roundtozero-vp.ll
M llvm/test/CodeGen/RISCV/rvv/fixed-vectors-vaaddu.ll
M llvm/test/CodeGen/RISCV/rvv/float-round-conv.ll
M llvm/test/CodeGen/RISCV/rvv/floor-vp.ll
M llvm/test/CodeGen/RISCV/rvv/frm-insert.ll
M llvm/test/CodeGen/RISCV/rvv/half-round-conv.ll
M llvm/test/CodeGen/RISCV/rvv/masked-tama.ll
M llvm/test/CodeGen/RISCV/rvv/masked-tamu.ll
M llvm/test/CodeGen/RISCV/rvv/masked-tuma.ll
M llvm/test/CodeGen/RISCV/rvv/masked-tumu.ll
M llvm/test/CodeGen/RISCV/rvv/round-vp.ll
M llvm/test/CodeGen/RISCV/rvv/roundeven-vp.ll
M llvm/test/CodeGen/RISCV/rvv/roundtozero-vp.ll
M llvm/test/CodeGen/RISCV/rvv/rvv-peephole-vmerge-masked-vops.ll
M llvm/test/CodeGen/RISCV/rvv/rvv-peephole-vmerge-vops.ll
M llvm/test/CodeGen/RISCV/rvv/sf_vfnrclip_x_f_qf.ll
M llvm/test/CodeGen/RISCV/rvv/sf_vfnrclip_xu_f_qf.ll
M llvm/test/CodeGen/RISCV/rvv/unmasked-tu.ll
M llvm/test/CodeGen/RISCV/rvv/vaadd.ll
M llvm/test/CodeGen/RISCV/rvv/vaaddu-sdnode.ll
M llvm/test/CodeGen/RISCV/rvv/vaaddu.ll
M llvm/test/CodeGen/RISCV/rvv/vasub.ll
M llvm/test/CodeGen/RISCV/rvv/vasubu.ll
M llvm/test/CodeGen/RISCV/rvv/vfadd.ll
M llvm/test/CodeGen/RISCV/rvv/vfcvt-f-x.ll
M llvm/test/CodeGen/RISCV/rvv/vfcvt-f-xu.ll
M llvm/test/CodeGen/RISCV/rvv/vfcvt-x-f.ll
M llvm/test/CodeGen/RISCV/rvv/vfcvt-xu-f.ll
M llvm/test/CodeGen/RISCV/rvv/vfdiv.ll
M llvm/test/CodeGen/RISCV/rvv/vfmacc.ll
M llvm/test/CodeGen/RISCV/rvv/vfmadd.ll
M llvm/test/CodeGen/RISCV/rvv/vfmsac.ll
M llvm/test/CodeGen/RISCV/rvv/vfmsub.ll
M llvm/test/CodeGen/RISCV/rvv/vfmul.ll
M llvm/test/CodeGen/RISCV/rvv/vfncvt-f-f.ll
M llvm/test/CodeGen/RISCV/rvv/vfncvt-f-x.ll
M llvm/test/CodeGen/RISCV/rvv/vfncvt-f-xu.ll
M llvm/test/CodeGen/RISCV/rvv/vfncvt-x-f.ll
M llvm/test/CodeGen/RISCV/rvv/vfncvt-xu-f.ll
M llvm/test/CodeGen/RISCV/rvv/vfnmacc.ll
M llvm/test/CodeGen/RISCV/rvv/vfnmadd.ll
M llvm/test/CodeGen/RISCV/rvv/vfnmsac.ll
M llvm/test/CodeGen/RISCV/rvv/vfnmsub.ll
M llvm/test/CodeGen/RISCV/rvv/vfrdiv.ll
M llvm/test/CodeGen/RISCV/rvv/vfrec7.ll
M llvm/test/CodeGen/RISCV/rvv/vfredosum.ll
M llvm/test/CodeGen/RISCV/rvv/vfredusum.ll
M llvm/test/CodeGen/RISCV/rvv/vfsqrt.ll
M llvm/test/CodeGen/RISCV/rvv/vfwadd.ll
M llvm/test/CodeGen/RISCV/rvv/vfwadd.w.ll
M llvm/test/CodeGen/RISCV/rvv/vfwcvt-x-f.ll
M llvm/test/CodeGen/RISCV/rvv/vfwcvt-xu-f.ll
M llvm/test/CodeGen/RISCV/rvv/vfwmacc.ll
M llvm/test/CodeGen/RISCV/rvv/vfwmsac.ll
M llvm/test/CodeGen/RISCV/rvv/vfwmul.ll
M llvm/test/CodeGen/RISCV/rvv/vfwnmacc.ll
M llvm/test/CodeGen/RISCV/rvv/vfwnmsac.ll
M llvm/test/CodeGen/RISCV/rvv/vfwredosum.ll
M llvm/test/CodeGen/RISCV/rvv/vfwredusum.ll
M llvm/test/CodeGen/RISCV/rvv/vfwsub.ll
M llvm/test/CodeGen/RISCV/rvv/vfwsub.w.ll
M llvm/test/CodeGen/RISCV/rvv/vnclip.ll
M llvm/test/CodeGen/RISCV/rvv/vnclipu.ll
M llvm/test/CodeGen/RISCV/rvv/vsmul-rv32.ll
M llvm/test/CodeGen/RISCV/rvv/vsmul-rv64.ll
M llvm/test/CodeGen/RISCV/rvv/vssra-rv32.ll
M llvm/test/CodeGen/RISCV/rvv/vssra-rv64.ll
M llvm/test/CodeGen/RISCV/rvv/vssrl-rv32.ll
M llvm/test/CodeGen/RISCV/rvv/vssrl-rv64.ll
M llvm/test/CodeGen/RISCV/rvv/vxrm-insert.ll
M llvm/test/CodeGen/RISCV/rvv/vxrm.mir
Log Message:
-----------
[RISCV] Move RISCVInsertVSETVLI after CSR/VXRM passes (#91701)
This further splits off #91440 to inch RISCVInsertVSETVLI closer to post
vector regalloc.
As noted in #91440, most of the diffs are from moving vsetvli insertion
after the vxrm/csr insertion passes, but these are getting conflated
with the changes from moving to LiveIntervals.
One idea was that we could try and remove some of these diffs by
manually moving back the vsetvlis past the vxrm/csr instructions. But
this meant having to touch up the LiveIntervals again which seemed to
lead to even more diffs.
This instead just moves RISCVInsertVSETVLI after RISCVInsertReadWriteCSR
and RISCVInsertWriteVXRM so we can isolate those changes.
Commit: 5bde2aa1080ba90021f8f5e0c48744ddfc0d6f15
https://github.com/llvm/llvm-project/commit/5bde2aa1080ba90021f8f5e0c48744ddfc0d6f15
Author: Pavel Labath <pavel at labath.sk>
Date: 2024-05-10 (Fri, 10 May 2024)
Changed paths:
M lldb/include/lldb/Symbol/Type.h
M lldb/include/lldb/Symbol/TypeList.h
M lldb/include/lldb/Symbol/TypeMap.h
M lldb/source/Symbol/Type.cpp
M lldb/source/Symbol/TypeList.cpp
M lldb/source/Symbol/TypeMap.cpp
A lldb/test/API/python_api/sbmodule/FindTypes/Makefile
A lldb/test/API/python_api/sbmodule/FindTypes/TestSBModuleFindTypes.py
A lldb/test/API/python_api/sbmodule/FindTypes/main.cpp
M lldb/unittests/Symbol/TestType.cpp
Log Message:
-----------
[lldb] Improve type name parsing (#91586)
Parsing of '::' scopes in TypeQuery was very naive and failed for names
with '::''s in template arguments. Interestingly, one of the functions
it was calling (Type::GetTypeScopeAndBasename) was already doing the
same thing, and getting it (mostly (*)) right. This refactors the
function so that it can return the scope results, fixing the parsing of
names like std::vector<int, std::allocator<int>>::iterator.
Two callers of GetTypeScopeAndBasename are deleted as the functions are
not used (I presume they stopped being used once we started pruning type
search results more eagerly).
(*) This implementation is still not correct when one takes c++
operators into account -- e.g., something like `X<&A::operator<>::T` is
a legitimate type name. We do have an implementation that is able to
handle names like these (CPlusPlusLanguage::MethodName), but using it is
not trivial, because it is hidden in a language plugin and specific to
method name parsing.
---------
Co-authored-by: Michael Buch <michaelbuch12 at gmail.com>
Commit: 2dbe89d15046bedcc36a5de1242e20aa91a5e598
https://github.com/llvm/llvm-project/commit/2dbe89d15046bedcc36a5de1242e20aa91a5e598
Author: cor3ntin <corentinjabot at gmail.com>
Date: 2024-05-10 (Fri, 10 May 2024)
Changed paths:
M clang/docs/LanguageExtensions.rst
M clang/docs/ReleaseNotes.rst
M clang/include/clang/Basic/TokenKinds.def
M clang/lib/Lex/PPMacroExpansion.cpp
M clang/lib/Parse/ParseDeclCXX.cpp
M clang/lib/Parse/ParseExpr.cpp
M clang/lib/Sema/SemaExprCXX.cpp
M clang/test/SemaCXX/type-traits.cpp
M clang/www/cxx_status.html
Log Message:
-----------
[Clang] Implement __reference_converts_from_temporary (#91199)
This completes the required language support for P2255R2.
Commit: 7e52ad3b5b9509d0873965e8492ab01141342822
https://github.com/llvm/llvm-project/commit/7e52ad3b5b9509d0873965e8492ab01141342822
Author: NAKAMURA Takumi <geek4civic at gmail.com>
Date: 2024-05-10 (Fri, 10 May 2024)
Changed paths:
M clang/unittests/Analysis/FlowSensitive/WatchedLiteralsSolverTest.cpp
Log Message:
-----------
Fix a warning for #91455 [-Wc++20-extensions]
Commit: 2a61eebc66c0903cf3834a520b1f975ac3cdf92b
https://github.com/llvm/llvm-project/commit/2a61eebc66c0903cf3834a520b1f975ac3cdf92b
Author: NAKAMURA Takumi <geek4civic at gmail.com>
Date: 2024-05-10 (Fri, 10 May 2024)
Changed paths:
M clang/lib/CodeGen/CoverageMappingGen.cpp
M llvm/include/llvm/ProfileData/Coverage/CoverageMapping.h
M llvm/include/llvm/ProfileData/Coverage/MCDCTypes.h
M llvm/lib/ProfileData/Coverage/CoverageMapping.cpp
M llvm/lib/ProfileData/Coverage/CoverageMappingWriter.cpp
Log Message:
-----------
Cleanup asserts in BranchParameters and DecisionParameters
Commit: 6ce4c4ca2bb846c2b8d64dc2b3d3496785c9edff
https://github.com/llvm/llvm-project/commit/6ce4c4ca2bb846c2b8d64dc2b3d3496785c9edff
Author: Owen Pan <owenpiano at gmail.com>
Date: 2024-05-10 (Fri, 10 May 2024)
Changed paths:
M clang/lib/Format/UnwrappedLineParser.cpp
Log Message:
-----------
[clang-format][NFC] Drop a redundant clang::format::
Commit: 6aac30fa43f094ac25269bda163dc89a88cb8da7
https://github.com/llvm/llvm-project/commit/6aac30fa43f094ac25269bda163dc89a88cb8da7
Author: Jack Styles <jack.styles at arm.com>
Date: 2024-05-10 (Fri, 10 May 2024)
Changed paths:
M clang/lib/Basic/Targets/AArch64.cpp
M clang/lib/Driver/ToolChains/Clang.cpp
M clang/test/Preprocessor/aarch64-target-features.c
M llvm/docs/ReleaseNotes.rst
M llvm/include/llvm/TargetParser/AArch64TargetParser.h
M llvm/include/llvm/TargetParser/ARMTargetParserCommon.h
M llvm/lib/TargetParser/AArch64TargetParser.cpp
M llvm/lib/TargetParser/ARMTargetParserCommon.cpp
Log Message:
-----------
Update FEAT_PAuth_LR behaviour for AArch64 (#90614)
Currently, LLVM enables `-mbranch-protection=standard` as `bti+pac-ret`.
To align LLVM with the behaviour in GNU, this has been updated to
`bti+pac-ret+pc` when FEAT_PAuth_LR is enabled as an optional feature
via the `-mcpu=` options. If this is not enabled, then this will revert
to the existing behaviour.
Commit: 5d24217c2c1c06358168cae65d3ff8632b28cd7d
https://github.com/llvm/llvm-project/commit/5d24217c2c1c06358168cae65d3ff8632b28cd7d
Author: Petr Hosek <phosek at google.com>
Date: 2024-05-10 (Fri, 10 May 2024)
Changed paths:
M clang/lib/Driver/ToolChains/Clang.cpp
A clang/test/Driver/fseparate-named-sections.c
Log Message:
-----------
[Clang] Pass -fseparate-named-sections from the driver (#91567)
This is a follow up to #91028.
Commit: a76518cadc5eaa6b6d07334e2b5bc08382aabe49
https://github.com/llvm/llvm-project/commit/a76518cadc5eaa6b6d07334e2b5bc08382aabe49
Author: David Spickett <david.spickett at linaro.org>
Date: 2024-05-10 (Fri, 10 May 2024)
Changed paths:
M lldb/source/Plugins/ObjectFile/ELF/ObjectFileELF.cpp
M lldb/source/Plugins/ObjectFile/ELF/ObjectFileELF.h
Log Message:
-----------
[lldb][ELF] Return address class map changes from symbol table parsing methods (#91585)
Instead of updating the member of the ObjectFileELF instance. This means
that if one object file asks another to parse the symbol table, that
first object's can update its address class map with the same changes
that the other object did.
(I'm not returning a reference to the other object's m_address_class_map
member because there may be other things in there not related to the
symbol table being parsed)
This will fix the code added in
https://github.com/llvm/llvm-project/pull/90622 which broke the test
`Expr/TestStringLiteralExpr.test` on 32 bit Arm Linux.
This happened because we had the program file, then asked for a better
object file, which returned the same program file again. This creates a
second ObjectFileELF for the same file, so when we tell the second
instance to parse the symbol table it actually calls into the first
instance, leaving the address class map of the second instance empty.
Which caused us to put an Arm breakpoint instuction at a Thumb return
address and broke the ability to call mmap.
Commit: 23b673e5b4b73b42864fcd7d63c1e974317ed4d6
https://github.com/llvm/llvm-project/commit/23b673e5b4b73b42864fcd7d63c1e974317ed4d6
Author: David Green <david.green at arm.com>
Date: 2024-05-10 (Fri, 10 May 2024)
Changed paths:
M llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
M llvm/test/CodeGen/AArch64/sve-reassocadd.ll
Log Message:
-----------
[DAG][AArch64] Handle vscale addressing modes in reassociationCanBreakAddressingModePattern (#89908)
reassociationCanBreakAddressingModePattern tries to prevent bad add
reassociations that would break adrressing mode patterns. This adds
support for vscale offset addressing modes, making sure we don't break
patterns that already exist. It does not optimize _to_ the correct
addressing modes yet, but prevents us from optimizating _away_ from
them.
Commit: e6d29be566d19a6558597ed1ede4783e85485749
https://github.com/llvm/llvm-project/commit/e6d29be566d19a6558597ed1ede4783e85485749
Author: Tomas Matheson <tomas.matheson at arm.com>
Date: 2024-05-10 (Fri, 10 May 2024)
Changed paths:
M clang/test/Driver/aarch64-fmv.c
Log Message:
-----------
[clang] fix FMV test for Win x Arm builds (#91490)
Commit: 641949654910a533076e35517d084e2961adbdfa
https://github.com/llvm/llvm-project/commit/641949654910a533076e35517d084e2961adbdfa
Author: Abid Qadeer <haqadeer at amd.com>
Date: 2024-05-10 (Fri, 10 May 2024)
Changed paths:
A flang/test/Integration/debug-loc-1.f90
M llvm/lib/Frontend/OpenMP/OMPIRBuilder.cpp
Log Message:
-----------
[flang][OMPIRBuilder] Keep debug location in sync with insert point. (#89953)
A customer reported an issue which I have reduced to the test in the PR.
If built with debug info enabled, the build fails with the following
error in the verifier.
!dbg attachment points at wrong subprogram for function
The problem happened because some of the functions in OMPIRBuilder.cpp
updated the insertion point with the passed in location but did not
change the current debug location. This caused a stale debug location to
be attached to the instruction.
I have solved it by replacing restoreIP with updateToLocation which
updates both the insertion point and debug location. The
updateToLocation is used in many places already, so this PR brings
functions that I have changed in line with rest of the file.
Slight issue is that I am not checking the return type of
updateToLocation as there is no good value I could return in that case.
But if we have a condition where updateToLocation will return false,
these functions will fail in any case.
I have added a test that checks that build does not fail. I was not sure
what is the correct location for the test should be. Happy to move it to
more appropriate location.
Commit: fc57f88f007497a4ead0ec8607ac66e1847b02d6
https://github.com/llvm/llvm-project/commit/fc57f88f007497a4ead0ec8607ac66e1847b02d6
Author: cor3ntin <corentinjabot at gmail.com>
Date: 2024-05-10 (Fri, 10 May 2024)
Changed paths:
M clang/lib/Sema/SemaExprCXX.cpp
Log Message:
-----------
[Clang] Fix Undefined Behavior introduced by #91199 (#91718)
We stack allocated an OpaqueExpr that would be used after it was
destroyed.
e.g https://lab.llvm.org/buildbot/#/builders/57/builds/34909
Commit: 1aca8ed5a7eeed264fdc2694deca8a4a4dba3689
https://github.com/llvm/llvm-project/commit/1aca8ed5a7eeed264fdc2694deca8a4a4dba3689
Author: David Spickett <david.spickett at linaro.org>
Date: 2024-05-10 (Fri, 10 May 2024)
Changed paths:
M lldb/source/Plugins/ObjectFile/ELF/ObjectFileELF.h
Log Message:
-----------
[lldb][ELF] Add a comment to explain address class map type
It was pointed out that ordering is crucial here, so note that.
I also looked into using a vector instead, as described in
https://llvm.org/docs/ProgrammersManual.html#dss-sortedvectorset.
Which this is in theory perfect for, but we have at least 2 places
that update the map and both would need to sort/unique each time.
Plus this code is pretty bug prone.
If there is future refactoring it's one thing to consider.
Commit: b277bf56d7654877a1c4b59dc08bc96b4d75b649
https://github.com/llvm/llvm-project/commit/b277bf56d7654877a1c4b59dc08bc96b4d75b649
Author: Paul Walker <paul.walker at arm.com>
Date: 2024-05-10 (Fri, 10 May 2024)
Changed paths:
M llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
M llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
M llvm/lib/Target/AArch64/AArch64SVEInstrInfo.td
M llvm/lib/Target/AArch64/SVEInstrFormats.td
M llvm/test/CodeGen/AArch64/named-vector-shuffles-sve.ll
Log Message:
-----------
[LLVM][CodeGen][SVE] Clean up lowering of VECTOR_SPLICE operations. (#91330)
Remove DAG combine that is performing type legalisation and instead
add isel patterns for all legal types.
Commit: 64d4ade3bb7d0d8cc87a777f4964e68f2f25edf9
https://github.com/llvm/llvm-project/commit/64d4ade3bb7d0d8cc87a777f4964e68f2f25edf9
Author: Momchil Velikov <momchil.velikov at arm.com>
Date: 2024-05-10 (Fri, 10 May 2024)
Changed paths:
M clang/include/clang/Basic/arm_sme.td
A clang/test/CodeGen/aarch64-sme2-intrinsics/acle_sme2_fmlas16.c
A clang/test/Sema/aarch64-sme2-intrinsics/acle_sme2_fmlas16.c
M llvm/lib/Target/AArch64/AArch64SMEInstrInfo.td
M llvm/lib/Target/AArch64/SMEInstrFormats.td
A llvm/test/CodeGen/AArch64/sme2-intrinsics-fmlas16.ll
Log Message:
-----------
[AArch64] Add intrinsics for 16-bit non-widening FMLA/FMLS (#88553)
According to the specification in
https://github.com/ARM-software/acle/pull/309
add the following intrinsics
void svmla[_single]_za16[_f16]_vg1x2(uint32_t slice, svfloat16x2_t zn,
svfloat16_t zm)
void svmla[_single]_za16[_f16]_vg1x4(uint32_t slice, svfloat16x4_t zn,
svfloat16_t zm)
void svmls[_single]_za16[_f16]_vg1x2(uint32_t slice, svfloat16x2_t zn,
svfloat16_t zm)
void svmls[_single]_za16[_f16]_vg1x4(uint32_t slice, svfloat16x4_t zn,
svfloat16_t zm)
void svmla_za16[_f16]_vg1x2(uint32_t slice, svfloat16x2_t zn,
svfloat16x2_t zm)
void svmla_za16[_f16]_vg1x4(uint32_t slice, svfloat16x4_t zn,
svfloat16x4_t zm)
void svmls_za16[_f16]_vg1x2(uint32_t slice, svfloat16x2_t zn,
svfloat16x2_t zm)
void svmls_za16[_f16]_vg1x4(uint32_t slice, svfloat16x4_t zn,
svfloat16x4_t zm)
void svmla_lane_za16[_f16]_vg1x2(uint32_t slice, svfloat16x2_t zn,
svfloat16_t zm, uint64_t imm_idx)
void svmla_lane_za16[_f16]_vg1x4(uint32_t slice, svfloat16x4_t zn,
svfloat16_t zm, uint64_t imm_idx)
void svmls_lane_za16[_f16]_vg1x2(uint32_t slice, svfloat16x2_t zn,
svfloat16_t zm, uint64_t imm_idx)
void svmls_lane_za16[_f16]_vg1x4(uint32_t slice, svfloat16x4_t zn,
svfloat16_t zm, uint64_t imm_idx)
as well as the corresponding `_bf16` variants.
Commit: 2e8d8155969f90b8f17634ce9a8e4541fb21dbab
https://github.com/llvm/llvm-project/commit/2e8d8155969f90b8f17634ce9a8e4541fb21dbab
Author: Graham Hunter <graham.hunter at arm.com>
Date: 2024-05-10 (Fri, 10 May 2024)
Changed paths:
M llvm/include/llvm/Analysis/TargetTransformInfo.h
M llvm/include/llvm/Analysis/TargetTransformInfoImpl.h
M llvm/include/llvm/CodeGen/BasicTTIImpl.h
M llvm/lib/Analysis/TargetTransformInfo.cpp
M llvm/lib/Target/AArch64/AArch64TargetTransformInfo.cpp
M llvm/lib/Target/AArch64/AArch64TargetTransformInfo.h
M llvm/lib/Target/ARM/ARMTargetTransformInfo.cpp
M llvm/lib/Target/ARM/ARMTargetTransformInfo.h
M llvm/lib/Target/X86/X86TargetTransformInfo.cpp
M llvm/lib/Target/X86/X86TargetTransformInfo.h
M llvm/lib/Transforms/Scalar/LoopStrengthReduce.cpp
Log Message:
-----------
[TTI] Support scalable offsets in getScalingFactorCost (#88113)
Part of the work to support vscale-relative immediates in LSR.
Commit: 28767afd53353d9333b0adf6f0fafa1592092532
https://github.com/llvm/llvm-project/commit/28767afd53353d9333b0adf6f0fafa1592092532
Author: Florian Hahn <flo at fhahn.com>
Date: 2024-05-10 (Fri, 10 May 2024)
Changed paths:
M llvm/include/llvm/Analysis/LoopAccessAnalysis.h
M llvm/lib/Analysis/LoopAccessAnalysis.cpp
M llvm/lib/Transforms/Scalar/LoopFlatten.cpp
M llvm/lib/Transforms/Scalar/LoopVersioningLICM.cpp
M llvm/test/Analysis/LoopAccessAnalysis/multiple-strides-rt-memory-checks.ll
M llvm/test/Analysis/LoopAccessAnalysis/non-constant-distance-backward.ll
M llvm/unittests/Transforms/Vectorize/VPlanSlpTest.cpp
Log Message:
-----------
[LAA] Support backward dependences with non-constant distance. (#91525)
Following up to 933f49248, also update the code reasoning about
backwards dependences to support non-constant distances.
Update the code to use the signed minimum distance instead of a constant
distance
This means e checked the lower bound of the dependence distance and the
distance may be larger at runtime (and safe for vectorization). Whether
to classify it as Unknown or Backwards depends on the vector width and
LAA was updated to take TTI to get the maximum vector register width.
If the minimum dependence distance is larger than the max vector width,
we consider it as backwards-vectorizable. Otherwise we classify them as
Unknown, so we re-try with runtime checks.
PR: https://github.com/llvm/llvm-project/pull/91525
Commit: fa4e8995cb6b6281a94261bee34242a39fd9f462
https://github.com/llvm/llvm-project/commit/fa4e8995cb6b6281a94261bee34242a39fd9f462
Author: Tomas Matheson <tomas.matheson at arm.com>
Date: 2024-05-10 (Fri, 10 May 2024)
Changed paths:
M llvm/lib/Target/AArch64/AArch64Features.td
Log Message:
-----------
[AArch64] Make wfxt a full Extension (#90987)
Before #90987 WFxT did not have an AEK_WFXT, so it was assumed to be an
FMV-only extension. However it also had a SubtargetFeature. This commit
combines the two. This fixes an issue where -mattr=+wfxt was ignored,
but has the side effect of allowing +wfxt as an option to -march.
Commit: 2371a6410dd83e82862e1c4dce1f7411efbe6b1c
https://github.com/llvm/llvm-project/commit/2371a6410dd83e82862e1c4dce1f7411efbe6b1c
Author: Momchil Velikov <momchil.velikov at arm.com>
Date: 2024-05-10 (Fri, 10 May 2024)
Changed paths:
M clang/include/clang/Basic/arm_sme.td
A clang/test/CodeGen/aarch64-sme2-intrinsics/acle_sme2_mopa_nonwide.c
A clang/test/Sema/aarch64-sme2-intrinsics/acle_sme2_mopa_nonwide.c
M llvm/include/llvm/IR/IntrinsicsAArch64.td
M llvm/lib/Target/AArch64/AArch64SMEInstrInfo.td
M llvm/lib/Target/AArch64/SMEInstrFormats.td
A llvm/test/CodeGen/AArch64/sme2-intrinsics-mopa.ll
Log Message:
-----------
[AArch64] Add intrinsics for non-widening FMOPA/FMOPS (#88105)
According to the specification in
https://github.com/ARM-software/acle/pull/309 this adds the intrinsics
void svmopa_za16[_f16]_m(uint64_t tile, svbool_t pn, svbool_t pm,
svfloat16_t zn, svfloat16_t zm)
__arm_streaming __arm_inout("za");
void svmops_za16[_f16]_m(uint64_t tile, svbool_t pn,
svbool_t pm, svfloat16_t zn, svfloat16_t zm)
__arm_streaming __arm_inout("za");
as well as the corresponding `bf16` variants.
Commit: f5e49279c01436971001e107a0a3435510b9ae98
https://github.com/llvm/llvm-project/commit/f5e49279c01436971001e107a0a3435510b9ae98
Author: Petar Avramovic <Petar.Avramovic at amd.com>
Date: 2024-05-10 (Fri, 10 May 2024)
Changed paths:
M llvm/include/llvm/ADT/GenericCycleImpl.h
M llvm/include/llvm/ADT/GenericCycleInfo.h
M llvm/lib/Target/AMDGPU/SIInstrInfo.cpp
A llvm/test/CodeGen/AMDGPU/GlobalISel/is-safe-to-sink-bug.ll
Log Message:
-----------
AMDGPU: fix isSafeToSink expecting exactly one predecessor (#89224)
isSafeToSink needs to check if machine cycle has divergent exit branch
but first it needs the MBB that contains cycle exit branch.
Early-tailduplication can delete exit block created by structurize-cfg
so there is still exactly one cycle exit block but the new cycle exit
block can have multiple predecessors.
Simplify search for MBBs that contain cycle exit branch by introducing
helper method getExitingBlocks in GenericCycle.
Fixes #89200
Commit: 73681b8fee930274e6dc11d4471b44666d6d0dfd
https://github.com/llvm/llvm-project/commit/73681b8fee930274e6dc11d4471b44666d6d0dfd
Author: Paul Walker <paul.walker at arm.com>
Date: 2024-05-10 (Fri, 10 May 2024)
Changed paths:
M llvm/lib/Target/AArch64/AArch64SVEInstrInfo.td
Log Message:
-----------
[NFC][LLVM] Simplify SVE isel DAG patterns. (#91510)
We have many instances of (Ty ZPR:$op) than can be written as Ty:$Op.
Whilst other operands can also be simplified this patch focuses on
removing redundant instances of PPR, PNR and ZPR only.
Commit: 5ad7a210ff850eed1f255f81f0609efedabe3bb7
https://github.com/llvm/llvm-project/commit/5ad7a210ff850eed1f255f81f0609efedabe3bb7
Author: Tomas Matheson <tomas.matheson at arm.com>
Date: 2024-05-10 (Fri, 10 May 2024)
Changed paths:
M llvm/lib/Target/AArch64/AArch64Features.td
Log Message:
-----------
[AArch64] wfxt must depend on itself (#90987)
Commit: f52ca632787a5d4227689726e14dae6749e1e650
https://github.com/llvm/llvm-project/commit/f52ca632787a5d4227689726e14dae6749e1e650
Author: Florian Hahn <flo at fhahn.com>
Date: 2024-05-10 (Fri, 10 May 2024)
Changed paths:
M llvm/test/Analysis/LoopAccessAnalysis/multiple-strides-rt-memory-checks.ll
Log Message:
-----------
[LAA] Drop x86_64 target triple to fix test on builds with X86.
Follow-up o fix test after 28767afd53353d9333b0adf6f0fafa1592092532.
Commit: 200f3bd39562f4d605f13567398025d30fa27d61
https://github.com/llvm/llvm-project/commit/200f3bd39562f4d605f13567398025d30fa27d61
Author: Qizhi Hu <836744285 at qq.com>
Date: 2024-05-10 (Fri, 10 May 2024)
Changed paths:
M clang/docs/ReleaseNotes.rst
M clang/include/clang/Sema/Scope.h
M clang/lib/Parse/ParseDecl.cpp
M clang/lib/Sema/Scope.cpp
M clang/lib/Sema/SemaAccess.cpp
A clang/test/SemaCXX/PR12361.cpp
Log Message:
-----------
[Clang][Sema] access checking of friend declaration should not be delayed (#91430)
attempt to fix https://github.com/llvm/llvm-project/issues/12361
Consider this example:
```cpp
class D {
class E{
class F{};
friend void foo(D::E::F& q);
};
friend void foo(D::E::F& q);
};
void foo(D::E::F& q) {}
```
The first friend declaration of foo is correct. After that, the second
friend declaration delayed access checking and set its previous
declaration to be the first one. When doing access checking of `F`(which
is private filed of `E`), we put its canonical declaration(the first
friend declaration) into `EffectiveContext.Functions`. Actually, we are
still checking the first one. This is incorrect due to the delayed
checking.
Creating a new scope to indicate we are parsing a friend declaration and
doing access checking in time.
Commit: 8c852ab57932a5cd954cb0d050c3d2ab486428df
https://github.com/llvm/llvm-project/commit/8c852ab57932a5cd954cb0d050c3d2ab486428df
Author: Younan Zhang <zyn7109 at gmail.com>
Date: 2024-05-10 (Fri, 10 May 2024)
Changed paths:
M clang/lib/Sema/SemaTemplate.cpp
M clang/test/SemaTemplate/nested-implicit-deduction-guides.cpp
Log Message:
-----------
[Clang][Sema] Revise the transformation of CTAD parameters of nested class templates (#91628)
This fixes a regression introduced by bee78b88f.
When we form a deduction guide for a constructor, basically, we do the
following work:
- Collect template parameters from the constructor's surrounding class
template, if present.
- Collect template parameters from the constructor.
- Splice these template parameters together into a new template
parameter list.
- Turn all the references (e.g. the function parameter list) to the
invented parameter list by applying a `TreeTransform` to the function
type.
In the previous fix, we handled cases of nested class templates by
substituting the "outer" template parameters (i.e. those not declared at
the surrounding class template or the constructor) with the
instantiating template arguments. The approach per se makes sense, but
there was a flaw in the following case:
```cpp
template <typename U, typename... Us> struct X {
template <typename V> struct Y {
template <typename T> Y(T) {}
};
template <typename T> Y(T) -> Y<T>;
};
X<int>::Y y(42);
```
While we're transforming the parameters for `Y(T)`, we first attempt to
transform all references to `V` and `T`; then, we handle the references
to outer parameters `U` and `Us` using the template arguments from
`X<int>` by transforming the same `ParamDecl`. However, the first step
results in the reference `T` being `<template-param-0-1>` because the
invented `T` is the last of the parameter list of the deduction guide,
and what we're substituting with is a corresponding parameter pack
(which is `Us`, though empty). Hence we're messing up the substitution.
I think we can resolve it by reversing the substitution order, which
means handling outer template parameters first and then the inner
parameters.
There's no release note because this is a regression in 18, and I hope
we can catch up with the last release.
Fixes https://github.com/llvm/llvm-project/issues/88142
Commit: 452f4393c70e0ffecf8e394f82b1eaeaa8d224af
https://github.com/llvm/llvm-project/commit/452f4393c70e0ffecf8e394f82b1eaeaa8d224af
Author: Alex Bradbury <asb at igalia.com>
Date: 2024-05-10 (Fri, 10 May 2024)
Changed paths:
M llvm/test/Transforms/InstCombine/icmp-shr-lt-gt.ll
Log Message:
-----------
[InstCombine] Precommit tests for #86111
The upcoming patch adds logic to prefer to use constants close to
power-of-two in these ashr exact + slt/ult patterns when it has a choice
on which constant can be used.
Commit: 3be8e2c95d3dca5b2fdea889649a69dce8605e65
https://github.com/llvm/llvm-project/commit/3be8e2c95d3dca5b2fdea889649a69dce8605e65
Author: Alex Bradbury <asb at igalia.com>
Date: 2024-05-10 (Fri, 10 May 2024)
Changed paths:
M llvm/lib/Transforms/InstCombine/InstCombineCompares.cpp
M llvm/test/Transforms/InstCombine/icmp-shr-lt-gt.ll
Log Message:
-----------
[InstCombine] Prefer to keep power-of-2 constants when combining ashr exact and slt/ult of a constant (#86111)
We have flexibility in what constant to use when combining an `ashr
exact` with a slt or ult of a constant, and it's not possible to revisit
this decision later in the compilation pipeline after the `ashr exact`
is removed. Keeping a constant close to power-of-2 (pow2val + 1) should
be no worse than neutral, and in some cases may allow better codegen
later on for targets that can more cheaply generate power of 2 (which
may be selectable if converting back to setle/setge) or near power of 2
constants.
Alive2 proofs:
<https://alive2.llvm.org/ce/z/2BmPnq> and
<https://alive2.llvm.org/ce/z/DtuhnR>
Commit: d48bf8aef2abeb915b1e04e1b78051869088df42
https://github.com/llvm/llvm-project/commit/d48bf8aef2abeb915b1e04e1b78051869088df42
Author: DianQK <dianqk at dianqk.net>
Date: 2024-05-10 (Fri, 10 May 2024)
Changed paths:
M llvm/lib/Analysis/InlineCost.cpp
A llvm/test/Transforms/Inline/inline-cost-switch-default.ll
M llvm/test/Transforms/Inline/inline-switch-default-2.ll
M llvm/test/Transforms/Inline/inline-switch-default.ll
Log Message:
-----------
Reapply "[InlineCost] Correct the default branch cost for the switch statement (#85160)"
This reverts commit c6e4f6309184814dfc4bb855ddbdb5375cc971e0.
Commit: 561b6ab96e9d5b38a5d2672e6cc6823389b75a3f
https://github.com/llvm/llvm-project/commit/561b6ab96e9d5b38a5d2672e6cc6823389b75a3f
Author: Xing Xue <xingxue at outlook.com>
Date: 2024-05-10 (Fri, 10 May 2024)
Changed paths:
M openmp/runtime/CMakeLists.txt
M openmp/runtime/src/z_Linux_util.cpp
Log Message:
-----------
[OpenMP][AIX] Implement __kmp_get_load_balance() for AIX (#91520)
AIX has the `/proc` filesystem where `/proc/<pid>/lwp/<tid>/lwpsinfo` has
the thread state in binary, similar to Linux's
`/proc/<pid>/task/<tid>/stat` where the state is in ASCII. However, the
definition of state info `R` in `lwpsinfo` is `runnable`. In Linux,
state `R` means the thread is `running`. Therefore, `lwpsinfo` is not
ideal for our purpose of getting the current load of the system. This
patch uses `perfstat_cpu()` in AIX system library `libperfstat.a` to
obtain the number of threads current running on logical CPUs.
Commit: 195d8ac26d91ca798733c3a5f58d67992d43503d
https://github.com/llvm/llvm-project/commit/195d8ac26d91ca798733c3a5f58d67992d43503d
Author: Xiang Li <python3kgae at outlook.com>
Date: 2024-05-10 (Fri, 10 May 2024)
Changed paths:
M llvm/include/llvm/BinaryFormat/DXContainer.h
M llvm/include/llvm/TargetParser/Triple.h
M llvm/lib/MC/MCDXContainerWriter.cpp
M llvm/lib/TargetParser/Triple.cpp
M llvm/test/CodeGen/DirectX/embed-dxil.ll
M llvm/unittests/Object/DXContainerTest.cpp
Log Message:
-----------
[DirectX] Fix DXIL part header version encoding (#91506)
Move MinorVersion be the lower 8 bit.
Set DXIL version in DXContainerObjectWriter::writeObject.
Fixes #89952
Commit: 4cf3f032283d8426c9b7829c7ccf0ab01939c7db
https://github.com/llvm/llvm-project/commit/4cf3f032283d8426c9b7829c7ccf0ab01939c7db
Author: Congcong Cai <congcongcai0907 at 163.com>
Date: 2024-05-10 (Fri, 10 May 2024)
Changed paths:
M clang-tools-extra/clang-tidy/ClangTidy.cpp
Log Message:
-----------
[clang-tidy] use llvm::any_of refactor getAnalyzerCheckersAndPackages [NFC] (#91713)
Commit: 8fc9e3d577c02d2b97c952fbafb75db0100462a9
https://github.com/llvm/llvm-project/commit/8fc9e3d577c02d2b97c952fbafb75db0100462a9
Author: David Green <david.green at arm.com>
Date: 2024-05-10 (Fri, 10 May 2024)
Changed paths:
M llvm/include/llvm/CodeGen/SelectionDAG.h
M llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
M llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
M llvm/test/CodeGen/AArch64/frem-power2.ll
M llvm/test/CodeGen/ARM/frem-power2.ll
Log Message:
-----------
[DAG] Lower frem of power-2 using div/trunc/mul+sub (#91148)
If we are lowering a frem and the divisor is known to be an integer power-2, we
can use the formula 'frem = x - trunc(x / d) * d'. This avoids the more
expensive call to fmod. The results are identical as fmod so long as d is a
power-2 (so the mul does not round incorrectly), and the sign of the return is
either always positive or not important for zeroes (nsz).
Unfortunately Alive2 does not handle this well at the moment. I was using
exhaustive checking to test this:
(https://gist.github.com/davemgreen/6078015f30d3bacd1e9572f8db5d4b64).
I found this in cpythons implementation of float_pow. I currently added it as a
DAG combine for frem with power-2 fp constants.
Commit: 63177422a834f4b81d59b827b5f2a1c5a9083749
https://github.com/llvm/llvm-project/commit/63177422a834f4b81d59b827b5f2a1c5a9083749
Author: erichkeane <ekeane at nvidia.com>
Date: 2024-05-10 (Fri, 10 May 2024)
Changed paths:
M clang/include/clang/AST/OpenACCClause.h
M clang/include/clang/AST/StmtOpenACC.h
M clang/lib/AST/OpenACCClause.cpp
M clang/lib/Serialization/ASTWriter.cpp
Log Message:
-----------
[OpenACC][NFC] Fix isa behavior for OpenACC types
I discovered while working on a different patch that I'd not implemented
the 'classof' for any of the Clauses, which resulted in 'isa' always
returning 'true' for all of the types. This patch goes through all the
existing clauses and adds 'classof' such that it will work correctly.
Additionally, in doing this, I found a bug where I was doing a cast to
the wrong type in the ASTWriter, so this fixes that problem as well.
Commit: 331f22af4b4c849a97c97e6803e0c8cab57fa10b
https://github.com/llvm/llvm-project/commit/331f22af4b4c849a97c97e6803e0c8cab57fa10b
Author: Jay Foad <jay.foad at amd.com>
Date: 2024-05-10 (Fri, 10 May 2024)
Changed paths:
M llvm/lib/Target/AMDGPU/EXPInstructions.td
M llvm/lib/Target/AMDGPU/MIMGInstructions.td
Log Message:
-----------
[AMDGPU] Remove unnecessary predicates from aliases. NFC. (#91602)
So long as the target of the alias is predicated with HasImageInsts or
similar, the alias itself does not need this predicate.
Commit: 52271a5c11f6abde1fa1221db304212b5eb8ec7c
https://github.com/llvm/llvm-project/commit/52271a5c11f6abde1fa1221db304212b5eb8ec7c
Author: Hui <hui.xie1990 at gmail.com>
Date: 2024-05-10 (Fri, 10 May 2024)
Changed paths:
M libcxx/docs/ReleaseNotes/19.rst
M libcxx/docs/Status/Cxx20.rst
M libcxx/docs/Status/Cxx20Papers.csv
M libcxx/include/variant
M libcxx/test/std/utilities/variant/variant.variant/variant.assign/T.pass.cpp
M libcxx/test/std/utilities/variant/variant.variant/variant.assign/copy.pass.cpp
M libcxx/test/std/utilities/variant/variant.variant/variant.assign/move.pass.cpp
M libcxx/test/std/utilities/variant/variant.variant/variant.ctor/copy.pass.cpp
M libcxx/test/std/utilities/variant/variant.variant/variant.ctor/default.pass.cpp
M libcxx/test/std/utilities/variant/variant.variant/variant.ctor/move.pass.cpp
M libcxx/test/std/utilities/variant/variant.variant/variant.dtor/dtor.pass.cpp
M libcxx/test/std/utilities/variant/variant.variant/variant.mod/emplace_index_args.pass.cpp
M libcxx/test/std/utilities/variant/variant.variant/variant.mod/emplace_index_init_list_args.pass.cpp
M libcxx/test/std/utilities/variant/variant.variant/variant.mod/emplace_type_args.pass.cpp
M libcxx/test/std/utilities/variant/variant.variant/variant.mod/emplace_type_init_list_args.pass.cpp
M libcxx/test/std/utilities/variant/variant.variant/variant.swap/swap.pass.cpp
Log Message:
-----------
[libc++] Make `constexpr std::variant`. Implement P2231R1 (#83335)
Fixes #86686
Commit: 9232591b04d7a4586e88bdbd1c3e513775c73560
https://github.com/llvm/llvm-project/commit/9232591b04d7a4586e88bdbd1c3e513775c73560
Author: Louis Dionne <ldionne.2 at gmail.com>
Date: 2024-05-10 (Fri, 10 May 2024)
Changed paths:
M libcxx/test/support/atomic_helpers.h
Log Message:
-----------
[libc++][NFC] Use TestEachPointerType in TestEachAtomicType (#91480)
That way, if we ever expand TestEachPointerType we will pick up those
changes in TestEachAtomicType.
Commit: c5c8ae43545e917e624edd93695d1b265bae1e5c
https://github.com/llvm/llvm-project/commit/c5c8ae43545e917e624edd93695d1b265bae1e5c
Author: Razvan Lupusoru <razvan.lupusoru at gmail.com>
Date: 2024-05-10 (Fri, 10 May 2024)
Changed paths:
M flang/lib/Optimizer/Builder/IntrinsicCall.cpp
M flang/test/Lower/Intrinsics/system-optional.f90
M flang/test/Lower/Intrinsics/system.f90
Log Message:
-----------
[flang] Use i16 instead of i2 for cmdstat (#91647)
The code for preparing cmdstat was generating an i2 constant with value
0, casting it, and then storing it into i16 storage. Just generate i16
constant directly.
Commit: 92dfe20acd4b101c58d7eb72cb7c0a9d4ae36385
https://github.com/llvm/llvm-project/commit/92dfe20acd4b101c58d7eb72cb7c0a9d4ae36385
Author: lntue <35648136+lntue at users.noreply.github.com>
Date: 2024-05-10 (Fri, 10 May 2024)
Changed paths:
M libc/src/math/generic/powf.cpp
M libc/test/src/math/powf_test.cpp
Log Message:
-----------
[libc][math] Fix exact cases for powf. (#91488)
It was reported from the CORE-MATH project that the `powf`
implementation did not round correctly when `x^y` is either exact for
exactly half-way.
This PR deals with the potential exact cases when `y` is an integer `2 <
y < 25`. In such cases, the results of `x^y` is exactly representable in
double precision.
Commit: 023cdfcc1a5bdef7f12bb6da9328f93b477c38b8
https://github.com/llvm/llvm-project/commit/023cdfcc1a5bdef7f12bb6da9328f93b477c38b8
Author: Haojian Wu <hokein.wu at gmail.com>
Date: 2024-05-10 (Fri, 10 May 2024)
Changed paths:
M libcxxabi/src/demangle/ItaniumDemangle.h
M llvm/include/llvm/Demangle/ItaniumDemangle.h
Log Message:
-----------
Update stale comments of the demangler, NFC (#91740)
To reflect what the actual code does.
Commit: b8f4f39d3d43d348e31fc5709b72e1f51392e52d
https://github.com/llvm/llvm-project/commit/b8f4f39d3d43d348e31fc5709b72e1f51392e52d
Author: Schrodinger ZHU Yifan <yifanzhu at rochester.edu>
Date: 2024-05-10 (Fri, 10 May 2024)
Changed paths:
M libc/src/__support/threads/linux/callonce.cpp
Log Message:
-----------
[libc] avoid cmpxchg on the fastpath of callonce (#91748)
Avoid `cmpxchg` operation if the function has already been called.
The destination operand of `cmpxchg` may receive a write cycle without
regard to the result of the comparison
Commit: d8f8ac8f5f9c787df94ba1ed99b04795afa40ba7
https://github.com/llvm/llvm-project/commit/d8f8ac8f5f9c787df94ba1ed99b04795afa40ba7
Author: Craig Topper <craig.topper at sifive.com>
Date: 2024-05-10 (Fri, 10 May 2024)
Changed paths:
M llvm/lib/TargetParser/RISCVISAInfo.cpp
M llvm/unittests/TargetParser/RISCVISAInfoTest.cpp
Log Message:
-----------
[RISCV] Don't pre-split before the loop in parseNormalizedArchString. (#91684)
We can extract each extension as we process them without much
complexity.
I changed the error message for cases where there are double underscores
or a trailing underscore. I think this is an improvement over the
previous error.
Commit: d358b2de458e0611a3f474a9c3e3deff926c07c4
https://github.com/llvm/llvm-project/commit/d358b2de458e0611a3f474a9c3e3deff926c07c4
Author: Vlad Serebrennikov <serebrennikov.vladislav at gmail.com>
Date: 2024-05-10 (Fri, 10 May 2024)
Changed paths:
A clang/test/CXX/drs/cwg0xx.cpp
A clang/test/CXX/drs/cwg10xx.cpp
A clang/test/CXX/drs/cwg11xx.cpp
A clang/test/CXX/drs/cwg12xx.cpp
A clang/test/CXX/drs/cwg13xx.cpp
A clang/test/CXX/drs/cwg14xx.cpp
A clang/test/CXX/drs/cwg15xx.cpp
A clang/test/CXX/drs/cwg16xx.cpp
A clang/test/CXX/drs/cwg17xx.cpp
A clang/test/CXX/drs/cwg18xx.cpp
A clang/test/CXX/drs/cwg19xx.cpp
A clang/test/CXX/drs/cwg1xx.cpp
A clang/test/CXX/drs/cwg20xx.cpp
A clang/test/CXX/drs/cwg21xx.cpp
A clang/test/CXX/drs/cwg22xx.cpp
A clang/test/CXX/drs/cwg23xx.cpp
A clang/test/CXX/drs/cwg24xx.cpp
A clang/test/CXX/drs/cwg25xx.cpp
A clang/test/CXX/drs/cwg26xx.cpp
A clang/test/CXX/drs/cwg27xx.cpp
A clang/test/CXX/drs/cwg28xx.cpp
A clang/test/CXX/drs/cwg2xx.cpp
A clang/test/CXX/drs/cwg3xx.cpp
A clang/test/CXX/drs/cwg4xx.cpp
A clang/test/CXX/drs/cwg5xx.cpp
A clang/test/CXX/drs/cwg6xx.cpp
A clang/test/CXX/drs/cwg7xx.cpp
A clang/test/CXX/drs/cwg8xx.cpp
A clang/test/CXX/drs/cwg9xx.cpp
R clang/test/CXX/drs/dr0xx.cpp
R clang/test/CXX/drs/dr10xx.cpp
R clang/test/CXX/drs/dr11xx.cpp
R clang/test/CXX/drs/dr12xx.cpp
R clang/test/CXX/drs/dr13xx.cpp
R clang/test/CXX/drs/dr14xx.cpp
R clang/test/CXX/drs/dr15xx.cpp
R clang/test/CXX/drs/dr16xx.cpp
R clang/test/CXX/drs/dr17xx.cpp
R clang/test/CXX/drs/dr18xx.cpp
R clang/test/CXX/drs/dr19xx.cpp
R clang/test/CXX/drs/dr1xx.cpp
R clang/test/CXX/drs/dr20xx.cpp
R clang/test/CXX/drs/dr21xx.cpp
R clang/test/CXX/drs/dr22xx.cpp
R clang/test/CXX/drs/dr23xx.cpp
R clang/test/CXX/drs/dr24xx.cpp
R clang/test/CXX/drs/dr25xx.cpp
R clang/test/CXX/drs/dr26xx.cpp
R clang/test/CXX/drs/dr27xx.cpp
R clang/test/CXX/drs/dr28xx.cpp
R clang/test/CXX/drs/dr2xx.cpp
R clang/test/CXX/drs/dr3xx.cpp
R clang/test/CXX/drs/dr4xx.cpp
R clang/test/CXX/drs/dr5xx.cpp
R clang/test/CXX/drs/dr6xx.cpp
R clang/test/CXX/drs/dr7xx.cpp
R clang/test/CXX/drs/dr8xx.cpp
R clang/test/CXX/drs/dr9xx.cpp
Log Message:
-----------
[clang][NFC] Rename C++ CWG DR test files to use `cwg` prefix
This is a follow-up for ed128c7df9b4e60bfd814dc9fd22de1dde4a2c1c
Commit: ef71c79d85fb3f94f19a92a84ab44719d112c1bd
https://github.com/llvm/llvm-project/commit/ef71c79d85fb3f94f19a92a84ab44719d112c1bd
Author: Vlad Serebrennikov <serebrennikov.vladislav at gmail.com>
Date: 2024-05-10 (Fri, 10 May 2024)
Changed paths:
M clang/www/cxx_dr_status.html
Log Message:
-----------
[clang][NFC] Update C++ DR status page
Commit: 099c1527f6088305fc253e9598685faa85544a8e
https://github.com/llvm/llvm-project/commit/099c1527f6088305fc253e9598685faa85544a8e
Author: Haojian Wu <hokein.wu at gmail.com>
Date: 2024-05-10 (Fri, 10 May 2024)
Changed paths:
M clang/lib/AST/ASTConcept.cpp
M clang/unittests/AST/CMakeLists.txt
A clang/unittests/AST/ConceptPrinterTest.cpp
M llvm/utils/gn/secondary/clang/unittests/AST/BUILD.gn
Log Message:
-----------
[AST] Print the separator "," for template arguments in ConceptReference::print (#91750)
Commit: 9a7262c2601874e5aa64c5db19746770212d4b44
https://github.com/llvm/llvm-project/commit/9a7262c2601874e5aa64c5db19746770212d4b44
Author: Zequan Wu <zequanwu at google.com>
Date: 2024-05-10 (Fri, 10 May 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/source/Plugins/SymbolFile/DWARF/SymbolFileDWARF.h
M lldb/source/Plugins/SymbolFile/DWARF/UniqueDWARFASTType.cpp
M lldb/source/Plugins/SymbolFile/DWARF/UniqueDWARFASTType.h
A lldb/test/Shell/SymbolFile/DWARF/delayed-definition-die-searching.test
Log Message:
-----------
[lldb][DWARF] Delay struct/class/union definition DIE searching when parsing declaration DIEs. (#90663)
This is the implementation for
https://discourse.llvm.org/t/rfc-delay-definition-die-searching-when-parse-a-declaration-die-for-record-type/78526.
#### Motivation
Currently, lldb eagerly searches for definition DIE when parsing a
declaration DIE for struct/class/union definition DIE. It will search
for all definition DIEs with the same unqualified name (just
`DW_AT_name` ) and then find out those DIEs with same fully qualified
name. Then lldb will try to resolve those DIEs to create the Types from
definition DIEs. It works fine most time. However, when built with
`-gsimple-template-names`, the search graph expands very quickly,
because for the specialized-template classes, they don’t have template
parameter names encoded inside `DW_AT_name`. They have
`DW_TAG_template_type_parameter` to reference the types used as template
parameters. In order to identify if a definition DIE matches a
declaration DIE, lldb needs to resolve all template parameter types
first and those template parameter types might be template classes as
well, and so on… So, the search graph explodes, causing a lot
unnecessary searching/type-resolving to just get the fully qualified
names for a specialized-template class. This causes lldb stack overflow
for us internally on template-heavy libraries.
#### Implementation
Instead of searching for definition DIEs when parsing declaration DIEs,
we always construct the record type from the DIE regardless if it's
definition or declaration. The process of searching for definition DIE
is refactored to `DWARFASTParserClang::FindDefinitionTypeForDIE` which
is invoked when 1) completing the type on
`SymbolFileDWARF::CompleteType`. 2) the record type needs to start its
definition as a containing type so that nested classes can be added into
it in `PrepareContextToReceiveMembers`.
The key difference is `SymbolFileDWARF::ResolveType` return a `Type*`
that might be created from declaration DIE, which means it hasn't starts
its definition yet. We also need to change according in places where we
want the type to start definition, like `PrepareContextToReceiveMembers`
(I'm not aware of any other places, but this should be a simple call to
`SymbolFileDWARF::FindDefinitionDIE`)
#### Result
It fixes the stack overflow of lldb for the internal binary built with
simple template name. When constructing the fully qualified name built
with `-gsimple-template-names`, it gets the name of the type parameter
by resolving the referenced DIE, which might be a declaration (we won't
try to search for the definition DIE to just get the name).
I got rough measurement about the time using the same commands (set
breakpoint, run, expr this, exit). For the binary built without
`-gsimple-template-names`, this change has no impact on time, still
taking 41 seconds to complete. When built with
`-gsimple-template-names`, it also takes about 41 seconds to complete
wit this change.
Commit: 062f6fe324e98b0994e49bc14eb45b20aa0807c4
https://github.com/llvm/llvm-project/commit/062f6fe324e98b0994e49bc14eb45b20aa0807c4
Author: Cyndy Ishida <cyndy_ishida at apple.com>
Date: 2024-05-10 (Fri, 10 May 2024)
Changed paths:
M clang/include/clang/Basic/DiagnosticInstallAPIKinds.td
M clang/include/clang/InstallAPI/MachO.h
A clang/test/InstallAPI/Inputs/Foundation/Foundation.framework/Modules/module.modulemap
A clang/test/InstallAPI/Inputs/LibFoo/usr/include/foo.h
A clang/test/InstallAPI/Inputs/LibFoo/usr/include/macro_defs.h
A clang/test/InstallAPI/Inputs/LibFoo/usr/include/public.h
A clang/test/InstallAPI/Inputs/Zippered/Zippered.framework/Headers/Zippered.h
A clang/test/InstallAPI/Inputs/Zippered/Zippered.framework/PrivateHeaders/Zippered_Private.h
A clang/test/InstallAPI/Inputs/Zippered/Zippered.tbd
A clang/test/InstallAPI/Inputs/Zippered/Zippered.yaml
A clang/test/InstallAPI/exclusive-passes-2.test
A clang/test/InstallAPI/exclusive-passes-platform.test
A clang/test/InstallAPI/exclusive-passes-zippered.test
A clang/test/InstallAPI/exclusive-passes.test
A clang/test/InstallAPI/invalid-exclusive-passes.test
A clang/test/InstallAPI/project-header-only-args.test
M clang/tools/clang-installapi/ClangInstallAPI.cpp
M clang/tools/clang-installapi/InstallAPIOpts.td
M clang/tools/clang-installapi/Options.cpp
M clang/tools/clang-installapi/Options.h
M llvm/include/llvm/TextAPI/Utils.h
M llvm/lib/TextAPI/Utils.cpp
Log Message:
-----------
[InstallAPI] Support mutually exclusive parse options (#90686)
Projects like libc use mutually exclusive macros to compile files
multiple times and then merge the result into the final library. For
installapi to accept these, we'd need to parse the same declarations in
different ways. This patch adds the basic pipelining for installapi to
create the correct TBD file.
* -Xproject allows: -fmodules, -fobjc-arc, fvisibility=hidden, prefix
headers
* -Xlabel allows: -D and -U settings
* Error on 'private' and 'public' labels -X<label>
* Xplatform allows: -iframework <path> This is to support the case where
zippered frameworks want to pass in iOSSupport search path.
Commit: 871f4839f988a1ef59ea0371e0f25c8651a899f2
https://github.com/llvm/llvm-project/commit/871f4839f988a1ef59ea0371e0f25c8651a899f2
Author: Pavel Labath <pavel at labath.sk>
Date: 2024-05-10 (Fri, 10 May 2024)
Changed paths:
M lldb/tools/lldb-dap/DAP.cpp
M lldb/tools/lldb-dap/DAP.h
M lldb/tools/lldb-dap/lldb-dap.cpp
Log Message:
-----------
[lldb-dap] Fix a race during shutdown (#91591)
lldb-dap was setting a flag which was meant to shut it down as soon as
it sent a terminated event. The problem with this flag is two-fold:
- as far as I can tell (definitely not an expert here), there's no
justification for this in the protocol spec. The only way I found to
shut the server down was to send it a disconnect request.
- the flag did not actually work most of the time, because it's only
checked between requests so nothing will happen if the server starts
listening for a new request before a different thread manages to send
the terminated event. And since the next request is usually the
disconnect request, everything will operate normally.
The combination of these two things meant that the issue was largely
unnoticable, except for rare flaky test failures, which happened when
the handler thread was too slow, and checked the flag after it has
already been said. This caused the test suite to complain as it did not
get a response to the disconnect request. This situation could be
s(t)imulated by adding a sleep to the and of the main loop, which
delayed the flag check, and caused the DAP tests to fail reliably.
This patch changes the shutdown condition to only trigger when the
disconnect request has been received. Since the flag can now only be set
from the handler thread, it no longer needs to be atomic.
Commit: 3bde7983986d8ce637f6bb506860859249787751
https://github.com/llvm/llvm-project/commit/3bde7983986d8ce637f6bb506860859249787751
Author: Alex Langford <alangford at apple.com>
Date: 2024-05-10 (Fri, 10 May 2024)
Changed paths:
M lldb/scripts/generate-sbapi-dwarf-enum.py
Log Message:
-----------
[lldb] Put SBSourceLanguageName in lldb namespace (#91685)
Commit: 265953cc26b40c4f9a3300baa18c2b7a45074b74
https://github.com/llvm/llvm-project/commit/265953cc26b40c4f9a3300baa18c2b7a45074b74
Author: Mircea Trofin <mtrofin at google.com>
Date: 2024-05-10 (Fri, 10 May 2024)
Changed paths:
M compiler-rt/lib/ctx_profile/CtxInstrProfiling.cpp
M compiler-rt/lib/ctx_profile/CtxInstrProfiling.h
M compiler-rt/lib/ctx_profile/tests/CtxInstrProfilingTest.cpp
Log Message:
-----------
[ctx_profile] Arena should zero-initialize its allocation area.
Commit: 7c555cb2349b7f5f3b8336c40f38965aca354472
https://github.com/llvm/llvm-project/commit/7c555cb2349b7f5f3b8336c40f38965aca354472
Author: Valentin Clement (バレンタイン クレメン) <clementval at gmail.com>
Date: 2024-05-10 (Fri, 10 May 2024)
Changed paths:
M flang/lib/Semantics/check-declarations.cpp
M flang/test/Semantics/cuf02.cuf
Log Message:
-----------
[flang][cuda] Reapply restriction on kernel subprogram but not device (#91764)
The restriction was completely removed in #89677. This was a bit too
much. Reapply the restriction on elemental, pure and recursive but only
for kernel subprogram (`grid_global` and `global` attributes).
Commit: 842f7b0fe7f70f5f66d925e57bab0123eedcc5d2
https://github.com/llvm/llvm-project/commit/842f7b0fe7f70f5f66d925e57bab0123eedcc5d2
Author: Tomas Matheson <tomas.matheson at arm.com>
Date: 2024-05-10 (Fri, 10 May 2024)
Changed paths:
M llvm/lib/Target/AArch64/AArch64Features.td
Log Message:
-----------
[AArch64] make +dit non-FMV-only (#90987)
Required to fix an llvm-test-suite failure:
error: expected writable system register or pstate: "msr DIT, x0"
Commit: 514d80b4feea3c788c1b0821959e96f63c8b8f3d
https://github.com/llvm/llvm-project/commit/514d80b4feea3c788c1b0821959e96f63c8b8f3d
Author: Fangrui Song <i at maskray.me>
Date: 2024-05-10 (Fri, 10 May 2024)
Changed paths:
M clang/test/Driver/fp-contract.c
M clang/test/Driver/fp-model.c
Log Message:
-----------
[Driver,test] Add -Werror to -ffp-contract/-ffp-model tests
Test that these combinations do not lead to a warning.
-funsafe-math-optimizations -ffp-contract=off
and
-ffast-math -ffp-contract=off
may issue a warning after #91271.
Commit: e513f2c69b13322d0289cbb74c91a84996382baa
https://github.com/llvm/llvm-project/commit/e513f2c69b13322d0289cbb74c91a84996382baa
Author: Spenser Bauman <sbauman at mathworks.com>
Date: 2024-05-10 (Fri, 10 May 2024)
Changed paths:
M mlir/lib/Dialect/Tosa/Transforms/TosaInferShapes.cpp
Log Message:
-----------
[mlir][tosa] Cleanups for post-merge review comments in tosa-infer-shapes (#87660)
This change addresses some of the additional review feedback on
https://github.com/llvm/llvm-project/pull/87234.
A summary of the changes:
1. Cleaned up the language to use 'roll back' rather than revert to
reduce the chance of confusion. Improved some function names as well.
2. Eliminated string comparisons on dialect names.
3. Prevented the introduction of redundant tensor.cast operations for
the same value.
---------
Co-authored-by: Spenser Bauman <sabauma at fastmail>
Commit: af0b293b5068e71e34704fa4c997fc3295e673fe
https://github.com/llvm/llvm-project/commit/af0b293b5068e71e34704fa4c997fc3295e673fe
Author: agozillon <Andrew.Gozillon at amd.com>
Date: 2024-05-10 (Fri, 10 May 2024)
Changed paths:
A offload/test/offloading/fortran/target-map-derived-type-full-1.f90
A offload/test/offloading/fortran/target-map-derived-type-full-2.f90
A offload/test/offloading/fortran/target-map-derived-type-full-implicit-1.f90
A offload/test/offloading/fortran/target-map-derived-type-full-implicit-2.f90
A offload/test/offloading/fortran/target-map-double-large-nested-dtype-multi-member.f90
A offload/test/offloading/fortran/target-map-double-nested-dtype-array-bounds.f90
A offload/test/offloading/fortran/target-map-double-nested-dtype-double-array-bounds.f90
A offload/test/offloading/fortran/target-map-double-nested-dtype-single-member.f90
A offload/test/offloading/fortran/target-map-dtype-arr-bounds-member-enter-exit-update.f90
A offload/test/offloading/fortran/target-map-dtype-arr-bounds-member-enter-exit.f90
A offload/test/offloading/fortran/target-map-dtype-explicit-individual-array-member.f90
A offload/test/offloading/fortran/target-map-dtype-multi-explicit-array-3D-member-bounds.f90
A offload/test/offloading/fortran/target-map-dtype-multi-explicit-array-member-bounds.f90
A offload/test/offloading/fortran/target-map-dtype-multi-explicit-array-member.f90
A offload/test/offloading/fortran/target-map-dtype-multi-explicit-member.f90
M offload/test/offloading/fortran/target-map-enter-exit-array-2.f90
M offload/test/offloading/fortran/target-map-enter-exit-array-bounds.f90
M offload/test/offloading/fortran/target-map-enter-exit-scalar.f90
A offload/test/offloading/fortran/target-map-individual-dtype-member-map.f90
A offload/test/offloading/fortran/target-map-large-nested-dtype-multi-member.f90
A offload/test/offloading/fortran/target-map-nested-dtype-complex-member.f90
A offload/test/offloading/fortran/target-map-nested-dtype-derived-member.f90
A offload/test/offloading/fortran/target-map-nested-dtype-multi-member.f90
A offload/test/offloading/fortran/target-map-nested-dtype-single-member.f90
A offload/test/offloading/fortran/target-map-two-dtype-explicit-member.f90
A offload/test/offloading/fortran/target-map-two-dtype-individual-member-array-1D-bounds.f90
A offload/test/offloading/fortran/target-map-two-dtype-mixed-implicit-explicit-capture-1.f90
A offload/test/offloading/fortran/target-map-two-dtype-mixed-implicit-explicit-capture-2.f90
A offload/test/offloading/fortran/target-map-two-dtype-multi-member-array-1D-bounds.f90
A offload/test/offloading/fortran/target-map-two-nested-dtype-member-array-map.f90
Log Message:
-----------
[Flang][OpenMP] Derived type member map fortran offload runtime tests (#82850)
This is a large series of runtime tests that help to add coverage for
the specific cases intended to be supported by the PR stack
that extends derived type map support in Flang+OpenMP. Primarily this will add functionality coverage, there's cases where
things may work, but not optimally (or at least similarly to the status quo in Clang), additional IR tests are added in the
relevant segments of the related PRs to test for breakages like that.
Commit: 05f88b1769db90c10ca66810720b2092f9d73e34
https://github.com/llvm/llvm-project/commit/05f88b1769db90c10ca66810720b2092f9d73e34
Author: Nikolas Klauser <nikolasklauser at berlin.de>
Date: 2024-05-10 (Fri, 10 May 2024)
Changed paths:
M libcxx/include/CMakeLists.txt
M libcxx/include/__tuple/make_tuple_types.h
R libcxx/include/__type_traits/apply_cv.h
M libcxx/include/__type_traits/make_signed.h
M libcxx/include/__type_traits/make_unsigned.h
M libcxx/include/cwchar
M libcxx/include/module.modulemap
M libcxx/include/tuple
M libcxx/include/type_traits
Log Message:
-----------
[libc++][NFC] Replace __apply_cv with __copy_cv or __copy_cvref (#90867)
`__apply_cv_t` and `__copy_cvref_t` are very closely related. They are
in fact identical except that `__copy_cvref_t` handles rvalue references
properly. Some uses don't actually require handling of references, so
they are replaced with `__copy_cv_t`.
Commit: cfdc2bc72e1747f18516e59bdfa4d7447ce4e0ce
https://github.com/llvm/llvm-project/commit/cfdc2bc72e1747f18516e59bdfa4d7447ce4e0ce
Author: agozillon <Andrew.Gozillon at amd.com>
Date: 2024-05-10 (Fri, 10 May 2024)
Changed paths:
R offload/test/offloading/fortran/target-map-derived-type-full-1.f90
R offload/test/offloading/fortran/target-map-derived-type-full-2.f90
R offload/test/offloading/fortran/target-map-derived-type-full-implicit-1.f90
R offload/test/offloading/fortran/target-map-derived-type-full-implicit-2.f90
R offload/test/offloading/fortran/target-map-double-large-nested-dtype-multi-member.f90
R offload/test/offloading/fortran/target-map-double-nested-dtype-array-bounds.f90
R offload/test/offloading/fortran/target-map-double-nested-dtype-double-array-bounds.f90
R offload/test/offloading/fortran/target-map-double-nested-dtype-single-member.f90
R offload/test/offloading/fortran/target-map-dtype-arr-bounds-member-enter-exit-update.f90
R offload/test/offloading/fortran/target-map-dtype-arr-bounds-member-enter-exit.f90
R offload/test/offloading/fortran/target-map-dtype-explicit-individual-array-member.f90
R offload/test/offloading/fortran/target-map-dtype-multi-explicit-array-3D-member-bounds.f90
R offload/test/offloading/fortran/target-map-dtype-multi-explicit-array-member-bounds.f90
R offload/test/offloading/fortran/target-map-dtype-multi-explicit-array-member.f90
R offload/test/offloading/fortran/target-map-dtype-multi-explicit-member.f90
M offload/test/offloading/fortran/target-map-enter-exit-array-2.f90
M offload/test/offloading/fortran/target-map-enter-exit-array-bounds.f90
M offload/test/offloading/fortran/target-map-enter-exit-scalar.f90
R offload/test/offloading/fortran/target-map-individual-dtype-member-map.f90
R offload/test/offloading/fortran/target-map-large-nested-dtype-multi-member.f90
R offload/test/offloading/fortran/target-map-nested-dtype-complex-member.f90
R offload/test/offloading/fortran/target-map-nested-dtype-derived-member.f90
R offload/test/offloading/fortran/target-map-nested-dtype-multi-member.f90
R offload/test/offloading/fortran/target-map-nested-dtype-single-member.f90
R offload/test/offloading/fortran/target-map-two-dtype-explicit-member.f90
R offload/test/offloading/fortran/target-map-two-dtype-individual-member-array-1D-bounds.f90
R offload/test/offloading/fortran/target-map-two-dtype-mixed-implicit-explicit-capture-1.f90
R offload/test/offloading/fortran/target-map-two-dtype-mixed-implicit-explicit-capture-2.f90
R offload/test/offloading/fortran/target-map-two-dtype-multi-member-array-1D-bounds.f90
R offload/test/offloading/fortran/target-map-two-nested-dtype-member-array-map.f90
Log Message:
-----------
Revert "[Flang][OpenMP] Derived type member map fortran offload runtime tests" (#91784)
Reverts llvm/llvm-project#82850, applied accidentally without the rest of the PR series.
Commit: 77a59c32105379b289ee3f7b6abbdf483bcb65c1
https://github.com/llvm/llvm-project/commit/77a59c32105379b289ee3f7b6abbdf483bcb65c1
Author: Mircea Trofin <mtrofin at google.com>
Date: 2024-05-10 (Fri, 10 May 2024)
Changed paths:
M compiler-rt/lib/ctx_profile/tests/CtxInstrProfilingTest.cpp
Log Message:
-----------
[ctx_profile] Fix signed-ness in CtxInstrProfilingTest.cpp
Follow-up from `265953c`
Commit: 13af97a70e7202507dcca89d2f732e5126d2bbcd
https://github.com/llvm/llvm-project/commit/13af97a70e7202507dcca89d2f732e5126d2bbcd
Author: Peiming Liu <peiming at google.com>
Date: 2024-05-10 (Fri, 10 May 2024)
Changed paths:
M mlir/lib/Dialect/SparseTensor/IR/SparseTensorDialect.cpp
M mlir/test/Dialect/SparseTensor/roundtrip_encoding.mlir
Log Message:
-----------
[mlir][sparse] allow multiple COO segments in sparse encodings. (#91786)
**NOTE**: we still have implementation holes when handling multiple COO
segments in the encoding. But the format should be considered to be
legal.
Commit: d655054395e2dba2b949e170d7764cc8c9c8a597
https://github.com/llvm/llvm-project/commit/d655054395e2dba2b949e170d7764cc8c9c8a597
Author: Justin Bogner <mail at justinbogner.com>
Date: 2024-05-10 (Fri, 10 May 2024)
Changed paths:
M llvm/include/llvm/BinaryFormat/DXContainer.h
M llvm/include/llvm/TargetParser/Triple.h
M llvm/lib/MC/MCDXContainerWriter.cpp
M llvm/lib/TargetParser/Triple.cpp
M llvm/test/CodeGen/DirectX/embed-dxil.ll
M llvm/unittests/Object/DXContainerTest.cpp
Log Message:
-----------
Revert "[DirectX] Fix DXIL part header version encoding" (#91791)
Test failures on big endian bots after this change.
Reverts llvm/llvm-project#91506
Commit: 88da8756a6f54a8ae441750eaa890c2450b94490
https://github.com/llvm/llvm-project/commit/88da8756a6f54a8ae441750eaa890c2450b94490
Author: Momchil Velikov <momchil.velikov at arm.com>
Date: 2024-05-10 (Fri, 10 May 2024)
Changed paths:
M llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
A llvm/test/CodeGen/AArch64/get-active-lane-mask-extract.ll
Log Message:
-----------
[AArch64] Combine getActiveLaneMask with vector_extract (#81139)
... into a `whilelo` instruction with a pair of predicate registers.
Commit: 00e3620a0e7ceb8ab1c0cae303e40ad2528fdebe
https://github.com/llvm/llvm-project/commit/00e3620a0e7ceb8ab1c0cae303e40ad2528fdebe
Author: Joyce <joycebrum at google.com>
Date: 2024-05-10 (Fri, 10 May 2024)
Changed paths:
M llvm/utils/git/requirements.txt
M llvm/utils/git/requirements_formatting.txt
Log Message:
-----------
Generate a new requirements.txt to fix CVEs (#90109)
Hi! Here is a patch for #81859 that fix the vulnerabilities found in
gitpython, cryptography, urllib3 and requests.
I have just regenerated the requirements.txt files running pip-compile
again. Fortunately, this was enough to set all the dependencies on safe
versions.
I have also checked if new vulnerabilities were introduced by running
scorecard on my fork, but none has been introduced.
Thanks!
Signed-off-by: Joyce Brum <joycebrum at google.com>
Commit: d009bd7c69ee338b9f550d65edd5ddaa4e032e00
https://github.com/llvm/llvm-project/commit/d009bd7c69ee338b9f550d65edd5ddaa4e032e00
Author: LLVM GN Syncbot <llvmgnsyncbot at gmail.com>
Date: 2024-05-10 (Fri, 10 May 2024)
Changed paths:
M llvm/utils/gn/secondary/libcxx/include/BUILD.gn
Log Message:
-----------
[gn build] Port 05f88b1769db
Commit: 7fd6cb293975b05406e24aba1cc8e83275cb6bf9
https://github.com/llvm/llvm-project/commit/7fd6cb293975b05406e24aba1cc8e83275cb6bf9
Author: Andrew Gozillon <Andrew.Gozillon at amd.com>
Date: 2024-05-10 (Fri, 10 May 2024)
Changed paths:
A offload/test/offloading/fortran/target-map-derived-type-full-1.f90
A offload/test/offloading/fortran/target-map-derived-type-full-2.f90
A offload/test/offloading/fortran/target-map-derived-type-full-implicit-1.f90
A offload/test/offloading/fortran/target-map-derived-type-full-implicit-2.f90
A offload/test/offloading/fortran/target-map-double-large-nested-dtype-multi-member.f90
A offload/test/offloading/fortran/target-map-double-nested-dtype-array-bounds.f90
A offload/test/offloading/fortran/target-map-double-nested-dtype-double-array-bounds.f90
A offload/test/offloading/fortran/target-map-double-nested-dtype-single-member.f90
A offload/test/offloading/fortran/target-map-dtype-arr-bounds-member-enter-exit-update.f90
A offload/test/offloading/fortran/target-map-dtype-arr-bounds-member-enter-exit.f90
A offload/test/offloading/fortran/target-map-dtype-explicit-individual-array-member.f90
A offload/test/offloading/fortran/target-map-dtype-multi-explicit-array-3D-member-bounds.f90
A offload/test/offloading/fortran/target-map-dtype-multi-explicit-array-member-bounds.f90
A offload/test/offloading/fortran/target-map-dtype-multi-explicit-array-member.f90
A offload/test/offloading/fortran/target-map-dtype-multi-explicit-member.f90
M offload/test/offloading/fortran/target-map-enter-exit-array-2.f90
M offload/test/offloading/fortran/target-map-enter-exit-array-bounds.f90
M offload/test/offloading/fortran/target-map-enter-exit-scalar.f90
A offload/test/offloading/fortran/target-map-individual-dtype-member-map.f90
A offload/test/offloading/fortran/target-map-large-nested-dtype-multi-member.f90
A offload/test/offloading/fortran/target-map-nested-dtype-complex-member.f90
A offload/test/offloading/fortran/target-map-nested-dtype-derived-member.f90
A offload/test/offloading/fortran/target-map-nested-dtype-multi-member.f90
A offload/test/offloading/fortran/target-map-nested-dtype-single-member.f90
A offload/test/offloading/fortran/target-map-two-dtype-explicit-member.f90
A offload/test/offloading/fortran/target-map-two-dtype-individual-member-array-1D-bounds.f90
A offload/test/offloading/fortran/target-map-two-dtype-mixed-implicit-explicit-capture-1.f90
A offload/test/offloading/fortran/target-map-two-dtype-mixed-implicit-explicit-capture-2.f90
A offload/test/offloading/fortran/target-map-two-dtype-multi-member-array-1D-bounds.f90
A offload/test/offloading/fortran/target-map-two-nested-dtype-member-array-map.f90
Log Message:
-----------
[Flang][OpenMP] Derived type member map fortran offload runtime tests
This is a large series of runtime tests that help to add coverage for the specific cases intended to be supported by the PR stack
that extends derived type map support in Flang+OpenMP. Primarily this will add functionality coverage, there's cases where
things may work, but not optimally (or at least similarly to the status quo in Clang), addiitonal IR tests are added in the
relevant segments of the related PRs to test for breakages like that.
Pull Request: https://github.com/llvm/llvm-project/pull/82850
Commit: 50df0ff515697090983b3cb951c48377bcfb6ddf
https://github.com/llvm/llvm-project/commit/50df0ff515697090983b3cb951c48377bcfb6ddf
Author: Andrew Gozillon <Andrew.Gozillon at amd.com>
Date: 2024-05-10 (Fri, 10 May 2024)
Changed paths:
M mlir/include/mlir/Dialect/OpenMP/OpenMPOps.td
M mlir/lib/Dialect/OpenMP/IR/OpenMPDialect.cpp
M mlir/test/Dialect/OpenMP/ops.mlir
Log Message:
-----------
[OpenMP][MLIR] Add new arguments to map_info to help support record type maps
This PR adds two new fields to omp.map_info, one BoolAttr and one I64ArrayAttr.
The BoolAttr is named partial_map, and is a flag that indicates if the record type captured by
the map_info operation is a partial map, or if it is mapped in its entirety, this currently helps
the later lowering determine the type of map entries that need to be generated.
The I64ArrayAttr named members_index is intended to track the placement of each member
map_info operations (and by extension mapped member variable) placement in the parent
record type. This may need to be extended to an N-D array for nested member mapping.
Pull Request: https://github.com/llvm/llvm-project/pull/82851
Commit: 462435f089b7ca67ed1eed60f369e16b71e76b74
https://github.com/llvm/llvm-project/commit/462435f089b7ca67ed1eed60f369e16b71e76b74
Author: Andrew Gozillon <Andrew.Gozillon at amd.com>
Date: 2024-05-10 (Fri, 10 May 2024)
Changed paths:
M mlir/lib/Target/LLVMIR/Dialect/OpenMP/OpenMPToLLVMIRTranslation.cpp
M mlir/test/Target/LLVMIR/omptarget-fortran-allocatable-types-host.mlir
M mlir/test/Target/LLVMIR/omptarget-llvm.mlir
A mlir/test/Target/LLVMIR/omptarget-nested-record-type-mapping-host.mlir
A mlir/test/Target/LLVMIR/omptarget-record-type-mapping-host.mlir
Log Message:
-----------
[OpenMP][MLIR] Extend record member map support for omp dialect to LLVM-IR
This patch seeks to refactor slightly and extend the current record type map
support that was put in place for Fortran's descriptor types to handle explicit
member mapping for record types at a single level of depth (the case of explicit
mapping of nested record types is currently unsupported).
This patch seeks to support this by extending the OpenMPToLLVMIRTranslation phase
to more generally support record types, building on the prior groundwork in the
Fortran allocatables/pointers patch. It now supports different kinds of record type
mapping, in this case full record type mapping and then explicit member mapping
in which there is a special case for certain types when mapped individually to not
require any parent map link in the kernel argument structure. To facilitate this
required:
* The movement of the setting of the map flag type "ptr_and_obj" to respective
frontends, now supporting it as a possible flag that can be read and printed
in mlir form. Some minor changes to declare target map type setting was
neccesary for this.
* The addition of a member index array operand, which tracks the position
of the member in the parent, required for caclulating the appropriate size
to offload to the target, alongside the parents offload pointer (always the
first member currently being mapped).
* A partial mapping attribute operand, to indicate if the entire record type is
being mapped or just member components, aiding the ability to lower
record types in the different manners that are possible.
* Refactoring bounds calculation for record types and general arrays to one
location (as well as load/store generation prior to assigning to the kernel
argument structure), as a side affect enter/exit/update/data mapping
should now be more correct and fully support bounds mapping, previously
this would have only worked for target.
Pull Request: https://github.com/llvm/llvm-project/pull/82852
Commit: 435e850ba97ab567a14b6c84d2b27cadb771cb27
https://github.com/llvm/llvm-project/commit/435e850ba97ab567a14b6c84d2b27cadb771cb27
Author: Andrew Gozillon <Andrew.Gozillon at amd.com>
Date: 2024-05-10 (Fri, 10 May 2024)
Changed paths:
M flang/docs/OpenMP-descriptor-management.md
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/Lower/OpenMP/ClauseProcessor.cpp
M flang/lib/Lower/OpenMP/ClauseProcessor.h
M flang/lib/Lower/OpenMP/OpenMP.cpp
M flang/lib/Lower/OpenMP/Utils.cpp
M flang/lib/Lower/OpenMP/Utils.h
M flang/lib/Optimizer/Transforms/CMakeLists.txt
R flang/lib/Optimizer/Transforms/OMPDescriptorMapInfoGen.cpp
A flang/lib/Optimizer/Transforms/OMPMapInfoFinalization.cpp
M flang/test/Fir/convert-to-llvm-openmp-and-fir.fir
M flang/test/Integration/OpenMP/map-types-and-sizes.f90
M flang/test/Lower/OpenMP/allocatable-array-bounds.f90
M flang/test/Lower/OpenMP/allocatable-map.f90
M flang/test/Lower/OpenMP/array-bounds.f90
A flang/test/Lower/OpenMP/derived-type-map.f90
M flang/test/Lower/OpenMP/map-component-ref.f90
M flang/test/Lower/OpenMP/target.f90
R flang/test/Transforms/omp-descriptor-map-info-gen.fir
A flang/test/Transforms/omp-map-info-finalization.fir
Log Message:
-----------
[Flang][OpenMP][MLIR] Initial derived type member map support
This patch is one in a series of four patches that seeks to refactor
slightly and extend the current record type map support that was
put in place for Fortran's descriptor types to handle explicit
member mapping for record types at a single level of depth.
For example, the below case where two members of a Fortran
derived type are mapped explicitly:
''''
type :: scalar_and_array
real(4) :: real
integer(4) :: array(10)
integer(4) :: int
end type scalar_and_array
type(scalar_and_array) :: scalar_arr
!$omp target map(tofrom: scalar_arr%int, scalar_arr%real)
''''
Current cases of derived type mapping left for future work are:
> explicit member mapping of nested members (e.g. two layers of
record types where we explicitly map a member from the internal
record type)
> Fortran's automagical mapping of all elements and nested elements
of a derived type
> explicit member mapping of a derived type and then constituient members
(redundant in Fortran due to former case but still legal as far as I am aware)
> explicit member mapping of a record type (may be handled reasonably, just
not fully tested in this iteration)
> explicit member mapping for Fortran allocatable types (a variation of nested
record types)
This patch seeks to support this by extending the Flang-new OpenMP lowering to
support generation of this newly required information, creating the neccessary
parent <-to-> member map_info links, calculating the member indices and
setting if it's a partial map.
The OMPDescriptorMapInfoGen pass has also been generalized into a map
finalization phase, now named OMPMapInfoFinalization. This pass was extended
to support the insertion of member maps into the BlockArg and MapOperands of
relevant map carrying operations. Similar to the method in which descriptor types
are expanded and constituient members inserted.
Pull Request: https://github.com/llvm/llvm-project/pull/82853
Commit: 7237bef5da57e8d67db25df7c22379e81e5903a7
https://github.com/llvm/llvm-project/commit/7237bef5da57e8d67db25df7c22379e81e5903a7
Author: Craig Topper <craig.topper at sifive.com>
Date: 2024-05-10 (Fri, 10 May 2024)
Changed paths:
M llvm/lib/TargetParser/RISCVISAInfo.cpp
Log Message:
-----------
[RISCV] Use map::count instead of hasExtension in computeDefaultABI. NFC
hasExtension checks if the extension name is a known extension name.
That should always be true for the extensions listed here so we can
skip that check.
Commit: d8e73752a5f4f79ef4293d8f446c03062010233d
https://github.com/llvm/llvm-project/commit/d8e73752a5f4f79ef4293d8f446c03062010233d
Author: Schrodinger ZHU Yifan <yifanzhu at rochester.edu>
Date: 2024-05-10 (Fri, 10 May 2024)
Changed paths:
M libc/hdr/CMakeLists.txt
A libc/hdr/time_macros.h
M libc/hdr/types/CMakeLists.txt
A libc/hdr/types/clock_t.h
A libc/hdr/types/clockid_t.h
A libc/hdr/types/struct_timeval.h
A libc/hdr/types/suseconds_t.h
A libc/hdr/types/time_t.h
M libc/src/__support/CMakeLists.txt
A libc/src/__support/time/CMakeLists.txt
A libc/src/__support/time/linux/CMakeLists.txt
A libc/src/__support/time/linux/clock_gettime.cpp
A libc/src/__support/time/linux/clock_gettime.h
A libc/src/__support/time/units.h
M libc/src/time/clock.h
M libc/src/time/clock_gettime.h
M libc/src/time/gettimeofday.h
M libc/src/time/gpu/CMakeLists.txt
M libc/src/time/gpu/clock.cpp
M libc/src/time/gpu/time_utils.h
M libc/src/time/linux/CMakeLists.txt
M libc/src/time/linux/clock.cpp
R libc/src/time/linux/clockGetTimeImpl.h
M libc/src/time/linux/clock_gettime.cpp
M libc/src/time/linux/gettimeofday.cpp
M libc/src/time/linux/time.cpp
M libc/src/time/nanosleep.h
M libc/src/time/time_func.h
Log Message:
-----------
Reland "[libc][NFC] adjust time related implementations"" (#91687)
Reverts llvm/llvm-project#91657 and Relands #91485
Commit: d2d08ea93b5a5958f46ed03e65ce1808e9fbbd0e
https://github.com/llvm/llvm-project/commit/d2d08ea93b5a5958f46ed03e65ce1808e9fbbd0e
Author: agozillon <Andrew.Gozillon at amd.com>
Date: 2024-05-10 (Fri, 10 May 2024)
Changed paths:
M offload/test/offloading/fortran/target-map-nested-dtype-complex-member.f90
M offload/test/offloading/fortran/target-map-nested-dtype-derived-member.f90
Log Message:
-----------
[Offload] Fix new fortran OpenMP offload test failures via addition of requires
Commit: 91feb130d5cd3cafce94bbaf7ad67d1542623a75
https://github.com/llvm/llvm-project/commit/91feb130d5cd3cafce94bbaf7ad67d1542623a75
Author: Ramkumar Ramachandra <r at artagnon.com>
Date: 2024-05-10 (Fri, 10 May 2024)
Changed paths:
M llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
M llvm/lib/Target/AArch64/AArch64ISelLowering.h
A llvm/test/CodeGen/AArch64/sve-fixed-vector-llrint.ll
A llvm/test/CodeGen/AArch64/sve-fixed-vector-lrint.ll
A llvm/test/CodeGen/AArch64/sve-llrint.ll
A llvm/test/CodeGen/AArch64/sve-lrint.ll
M llvm/test/CodeGen/AArch64/vector-llrint.ll
M llvm/test/CodeGen/AArch64/vector-lrint.ll
Log Message:
-----------
ISel/AArch64: custom lower vector ISD::[L]LRINT (#89035)
Since 98c90a1 (ISel: introduce vector ISD::LRINT, ISD::LLRINT; custom
RISCV lowering), ISD::LRINT and ISD::LLRINT now have vector variants,
that are custom lowered on RISCV, and scalarized on all other targets.
Since 2302e4c (Reland "VectorUtils: mark xrint as trivially
vectorizable"), lrint and llrint are trivially vectorizable, so all the
vectorizers in-tree will produce vector variants when possible. Add a
custom lowering for AArch64 to custom-lower the vector variants natively
using a combination of frintx, fcvte, and fcvtzs.
Commit: e3ca558ffb1441cb16da7aba021e12c6f110000f
https://github.com/llvm/llvm-project/commit/e3ca558ffb1441cb16da7aba021e12c6f110000f
Author: agozillon <Andrew.Gozillon at amd.com>
Date: 2024-05-10 (Fri, 10 May 2024)
Changed paths:
M flang/lib/Lower/OpenMP/Utils.cpp
Log Message:
-----------
[Flang] Remove deprecated cast style that snuck in during landing of 435e850ba97ab567a14b6c84d2b27cadb771cb27
Commit: a427aa9346295fe7dd3be5955214d28c8be2ad4a
https://github.com/llvm/llvm-project/commit/a427aa9346295fe7dd3be5955214d28c8be2ad4a
Author: Krzysztof Parzyszek <Krzysztof.Parzyszek at amd.com>
Date: 2024-05-10 (Fri, 10 May 2024)
Changed paths:
M flang/lib/Lower/Bridge.cpp
A flang/test/Lower/branching-directive.f90
Log Message:
-----------
[flang][Lower] Treat directives with nested evaluations as constructs (#91614)
When generating block terminators in `genFIR(Evaluation)`, treat
`Directives` with nested evaluations the same way as `Constructs` to
determine the successor block.
This fixes https://github.com/llvm/llvm-project/issues/91526
Commit: 6b9bca8faaa759c56fdd6e8697f9be38d201bd71
https://github.com/llvm/llvm-project/commit/6b9bca8faaa759c56fdd6e8697f9be38d201bd71
Author: Amir Ayupov <aaupov at fb.com>
Date: 2024-05-10 (Fri, 10 May 2024)
Changed paths:
M bolt/lib/Passes/BinaryPasses.cpp
M bolt/test/X86/sctc-bug4.test
Log Message:
-----------
[BOLT] Preserve Offset annotation in SCTC (#91693)
Offset annotation is used in writing BAT tables.
Test Plan: updated sctc-bug4.test
Commit: e9f53e4095d8a8600b5c5d445c73e2d5a6f45abb
https://github.com/llvm/llvm-project/commit/e9f53e4095d8a8600b5c5d445c73e2d5a6f45abb
Author: Fangrui Song <i at maskray.me>
Date: 2024-05-10 (Fri, 10 May 2024)
Changed paths:
A clang/test/CodeGen/RISCV/attr-rvv-vector-bits-bitcast.c
A clang/test/CodeGen/RISCV/attr-rvv-vector-bits-call.c
A clang/test/CodeGen/RISCV/attr-rvv-vector-bits-cast.c
A clang/test/CodeGen/RISCV/attr-rvv-vector-bits-codegen.c
A clang/test/CodeGen/RISCV/attr-rvv-vector-bits-globals.c
A clang/test/CodeGen/RISCV/attr-rvv-vector-bits-types.c
A clang/test/CodeGen/RISCV/riscv32-ilp32d-abi.cpp
A clang/test/CodeGen/RISCV/rvv-vls-arith-ops.c
A clang/test/CodeGen/RISCV/rvv-vls-bitwise-ops.c
A clang/test/CodeGen/RISCV/rvv-vls-compare-ops.c
A clang/test/CodeGen/RISCV/rvv-vls-shift-ops.c
A clang/test/CodeGen/RISCV/rvv-vls-subscript-ops.c
A clang/test/CodeGen/RISCV/vector-bits-vscale-range.c
R clang/test/CodeGen/attr-riscv-rvv-vector-bits-bitcast.c
R clang/test/CodeGen/attr-riscv-rvv-vector-bits-call.c
R clang/test/CodeGen/attr-riscv-rvv-vector-bits-cast.c
R clang/test/CodeGen/attr-riscv-rvv-vector-bits-codegen.c
R clang/test/CodeGen/attr-riscv-rvv-vector-bits-globals.c
R clang/test/CodeGen/attr-riscv-rvv-vector-bits-types.c
R clang/test/CodeGen/riscv-rvv-vls-arith-ops.c
R clang/test/CodeGen/riscv-rvv-vls-bitwise-ops.c
R clang/test/CodeGen/riscv-rvv-vls-compare-ops.c
R clang/test/CodeGen/riscv-rvv-vls-shift-ops.c
R clang/test/CodeGen/riscv-rvv-vls-subscript-ops.c
R clang/test/CodeGen/riscv-vector-bits-vscale-range.c
R clang/test/CodeGen/riscv32-ilp32d-abi.cpp
Log Message:
-----------
[test] Move RISCV tests to clang/test/CodeGen/RISCV/
The directory was created by 2f1fe9a3a60d6f18998c5f3b7e643d4cbaa4e65d
(2020).
Pull Request: https://github.com/llvm/llvm-project/pull/91783
Commit: a7eff59f78f08f8ef0487dfe2a136fb311af4fd0
https://github.com/llvm/llvm-project/commit/a7eff59f78f08f8ef0487dfe2a136fb311af4fd0
Author: Zequan Wu <zequanwu at google.com>
Date: 2024-05-10 (Fri, 10 May 2024)
Changed paths:
M lldb/source/Plugins/SymbolFile/DWARF/DWARFASTParserClang.cpp
Log Message:
-----------
[lldb][DWARF] Do not complete type from declaration die. (#91799)
Fix the problem:
https://github.com/llvm/llvm-project/pull/90663#issuecomment-2105164917
by enhancing a double-check for #90663
Commit: f32f6d199ac36e0c45433a648691f5165893deec
https://github.com/llvm/llvm-project/commit/f32f6d199ac36e0c45433a648691f5165893deec
Author: Valentin Clement (バレンタイン クレメン) <clementval at gmail.com>
Date: 2024-05-10 (Fri, 10 May 2024)
Changed paths:
M flang/include/flang/Semantics/semantics.h
M flang/lib/Semantics/check-cuda.cpp
M flang/lib/Semantics/resolve-names.cpp
M flang/lib/Semantics/semantics.cpp
A flang/module/__cuda_device_builtins.f90
A flang/module/cudadevice.f90
A flang/test/Semantics/cuf-device-procedures01.cuf
A flang/test/Semantics/cuf-device-procedures02.cuf
M flang/tools/f18/CMakeLists.txt
Log Message:
-----------
[flang][cuda] Implicitly load cudadevice module in device/global subprogram (#91668)
Some functions and subroutines are available in device context
(device/global). These functions have interfaces declared in the
`cudadevice` module.
This patch adds interfaces as `__cuda_device_builtins_<fctname>` in a
builtin module and they are USE'd rename in the `cudadevice` module. The
module is implicitly used in device/global subprograms.
The builtin module only contains procedures from section 3.6.4 for now.
Commit: 666c686d5917be3f6260036ae536d9b44855ac34
https://github.com/llvm/llvm-project/commit/666c686d5917be3f6260036ae536d9b44855ac34
Author: Keith Smiley <keithbsmiley at gmail.com>
Date: 2024-05-10 (Fri, 10 May 2024)
Changed paths:
M utils/bazel/WORKSPACE
M utils/bazel/llvm-project-overlay/lldb/BUILD.bazel
Log Message:
-----------
[bazel] Codesign debugserver on macOS (#91789)
This tool doesn't work unless it's signed with the entitlements used
here. We should probably consider using the
macos_command_line_application rule from rules_apple which manages this
more flexibly for us, but for now this works. This uses apple_genrule as
opposed to genrule since the former encodes the Xcode environment info
into the action so it is correctly invalidated if that changes.
Commit: aa0776de464984e78ae1cc329bf541e9dd43631f
https://github.com/llvm/llvm-project/commit/aa0776de464984e78ae1cc329bf541e9dd43631f
Author: Reid Kleckner <rnk at google.com>
Date: 2024-05-10 (Fri, 10 May 2024)
Changed paths:
R clang/test/CodeGenCoroutines/coro-elide-thinlto.cpp
M llvm/lib/Passes/PassBuilderPipelines.cpp
M llvm/test/Other/new-pm-thinlto-prelink-defaults.ll
M llvm/test/Other/new-pm-thinlto-prelink-pgo-defaults.ll
M llvm/test/Other/new-pm-thinlto-prelink-samplepgo-defaults.ll
Log Message:
-----------
Revert "[Pipelines] Do not run CoroSplit and CoroCleanup in LTO pre-link pipeline (#90310)" and related patches
This change is incorrect when thinlto and asan are enabled, and this can
be observed by adding `-fsanitize=address` to the provided
coro-elide-thinlto.cpp test. It results in the error "Coroutines cannot
handle non static allocas yet", and ASan introduces a dynamic alloca.
In other words, we must preserve the invariant that CoroSplit runs
before ASan. If we move CoroSplit to the post post-link compile stage,
ASan has to be moved to the post-link compile stage first. It would
also be correct to make CoroSplit handle dynamic allocas so the pass
ordering doesn't matter, but sanitizer instrumentation really ought to
be last, after coroutine splitting.
This reverts commit bafc5f42c0132171287d7cba7f5c14459be1f7b7.
This reverts commit b1b1bfa7bea0ce489b5ea9134e17a43c695df5ec.
This reverts commit 0232b77e145577ab78e3ed1fdbb7eacc5a7381ab.
This reverts commit fb2d3056618e3d03ba9a695627c7b002458e59f0.
This reverts commit 1cb33713910501c6352d0eb2a15b7a15e6e18695.
This reverts commit cd68d7b3c0ebf6da5e235cfabd5e6381737eb7fe.
Commit: 2d5634a4b39d8e5497b6a67caa54049b3cfade8e
https://github.com/llvm/llvm-project/commit/2d5634a4b39d8e5497b6a67caa54049b3cfade8e
Author: Matheus Izvekov <mizvekov at gmail.com>
Date: 2024-05-10 (Fri, 10 May 2024)
Changed paths:
M clang/lib/Driver/ToolChains/Clang.cpp
M clang/test/Driver/frelaxed-template-template-args.cpp
Log Message:
-----------
[clang] Revert default behavior change of P0522R0 implementation (#91811)
This partially reverts b86e0992bfa6c58be077d82d824016f590ac5d90.
Just the default is changed back, on the Driver side.
No Frontend changes.
The positive spelling of the flag is undeprecated.
No documentation changes or changelog entries because we plan to revert
this revert as soon as https://github.com/llvm/llvm-project/issues/62529
is fixed.
Commit: 5d18d575d8d304e4336483d8be7394d0f4694cb1
https://github.com/llvm/llvm-project/commit/5d18d575d8d304e4336483d8be7394d0f4694cb1
Author: Stanislav Mekhanoshin <rampitec at users.noreply.github.com>
Date: 2024-05-10 (Fri, 10 May 2024)
Changed paths:
M llvm/lib/Target/AMDGPU/AMDGPUISelLowering.cpp
M llvm/lib/Target/AMDGPU/SIISelLowering.cpp
M llvm/lib/Target/AMDGPU/SIInstructions.td
M llvm/test/CodeGen/AMDGPU/bf16.ll
Log Message:
-----------
[AMDGPU] Make fneg/fabs/copysign legal for bf16 (#91676)
These are just bit operations, exactly the same as with f16.
Commit: fb3f4b013c3acab0ea3cb14c4d29f4e6d9caa33c
https://github.com/llvm/llvm-project/commit/fb3f4b013c3acab0ea3cb14c4d29f4e6d9caa33c
Author: Joseph Huber <huberjn at outlook.com>
Date: 2024-05-10 (Fri, 10 May 2024)
Changed paths:
M libc/src/__support/GPU/amdgpu/utils.h
M libc/src/__support/GPU/nvptx/utils.h
Log Message:
-----------
[libc] Add memory fence utility to the GPU utilities (#91756)
Summary:
GPUs like to execute instructions in the background until something
excplitely consumes them. We are working on adding some
microbenchmarking code, which requires flushing the pending memory
operations beforehand. This patch simply adds these utility functions
that will be used in the near future.
Commit: 7e6879b245f7feaf00367874cbef7db973455553
https://github.com/llvm/llvm-project/commit/7e6879b245f7feaf00367874cbef7db973455553
Author: Simon Pilgrim <llvm-dev at redking.me.uk>
Date: 2024-05-10 (Fri, 10 May 2024)
Changed paths:
M llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
Log Message:
-----------
[X86] scalarizeExtractedBinop - reuse existing SDLoc. NFC.
Commit: 7f3e3785d0be00c727e3d2938b6348748499de99
https://github.com/llvm/llvm-project/commit/7f3e3785d0be00c727e3d2938b6348748499de99
Author: Simon Pilgrim <llvm-dev at redking.me.uk>
Date: 2024-05-10 (Fri, 10 May 2024)
Changed paths:
M llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
Log Message:
-----------
Fix MSVC "result of 32-bit shift implicitly converted to 64 bits" warning. NFC.
Commit: cb037d071c43baab7e8ef3b818a21858905560c0
https://github.com/llvm/llvm-project/commit/cb037d071c43baab7e8ef3b818a21858905560c0
Author: Stanislav Mekhanoshin <rampitec at users.noreply.github.com>
Date: 2024-05-10 (Fri, 10 May 2024)
Changed paths:
M llvm/lib/Target/AMDGPU/SIInstructions.td
Log Message:
-----------
[AMDGPU] Combine build_vector patterns for i16 and f16. NFCI. (#91806)
Commit: 3dcd604eb1d6612fda667793dbb52c5dfaa5fc4f
https://github.com/llvm/llvm-project/commit/3dcd604eb1d6612fda667793dbb52c5dfaa5fc4f
Author: Janek van Oirschot <5994977+JanekvO at users.noreply.github.com>
Date: 2024-05-10 (Fri, 10 May 2024)
Changed paths:
M llvm/unittests/MC/AMDGPU/SIProgramInfoMCExprs.cpp
Log Message:
-----------
[AMDGPU] Initialize MachineFunctionInfo for unittest (#91820)
Initializes the MachineFunctionInfo for unittest introduced in #88257
Additionally, also rephrases the test condition considering the abort/exit does not occur within emitKernel but is generally triggered through the Ctx.hadError() call.
Commit: 30aa49cbc2ece32bebcb06cc9e64f1daeb1dbbcb
https://github.com/llvm/llvm-project/commit/30aa49cbc2ece32bebcb06cc9e64f1daeb1dbbcb
Author: Craig Topper <craig.topper at sifive.com>
Date: 2024-05-10 (Fri, 10 May 2024)
Changed paths:
M llvm/lib/TargetParser/RISCVISAInfo.cpp
Log Message:
-----------
[RISCV] Remove the pre-split from RISCVISAInfo::parseArchString. NFCI
We can extract each extension as we process them without much
complexity.
Commit: d9ce33a0eea701719651dafbf88deae0ece96976
https://github.com/llvm/llvm-project/commit/d9ce33a0eea701719651dafbf88deae0ece96976
Author: Thurston Dang <thurston at google.com>
Date: 2024-05-10 (Fri, 10 May 2024)
Changed paths:
M compiler-rt/lib/fuzzer/FuzzerDriver.cpp
Log Message:
-----------
[libfuzzer] Prevent MSan false positive when printing log with -jobs (#91679)
libfuzzer's -jobs option will, depending on the number of CPUs, spin up
a
WorkerThread and end up printing the log file using CopyFileToErr.
This leads to an MSan false positive. This patch disables the MSan
interceptor checks,
similarly to other instances in https://reviews.llvm.org/D48891
Side-note: this false positive issue first appeared when printf()
was replaced by puts() (90b4d1bcb20180c591385131b12fa90d2e4860b1).
The interceptor check was always present; however, MSan does not
check_printf by default.
Commit: 4198aebc96cb0236fc63e29a92d886e6a2e3fedb
https://github.com/llvm/llvm-project/commit/4198aebc96cb0236fc63e29a92d886e6a2e3fedb
Author: cor3ntin <corentinjabot at gmail.com>
Date: 2024-05-11 (Sat, 11 May 2024)
Changed paths:
M clang/test/Driver/rewrite-legacy-objc.m
M clang/test/Driver/rewrite-objc.m
Log Message:
-----------
[Clang] Fix tests broken by #91811 (#91822)
A few tests were checking for all driver flags.
We should revert this commit when we revert #91811
Commit: f8063ffe73a3a1d704b9738169bb76ebb0f8a5e0
https://github.com/llvm/llvm-project/commit/f8063ffe73a3a1d704b9738169bb76ebb0f8a5e0
Author: Min-Yih Hsu <min.hsu at sifive.com>
Date: 2024-05-10 (Fri, 10 May 2024)
Changed paths:
M llvm/docs/LangRef.rst
M llvm/include/llvm/IR/Intrinsics.td
M llvm/include/llvm/IR/VPIntrinsics.def
M llvm/lib/CodeGen/ExpandVectorPredication.cpp
M llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp
M llvm/lib/CodeGen/SelectionDAG/LegalizeVectorTypes.cpp
M llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
M llvm/lib/Target/RISCV/RISCVISelLowering.cpp
M llvm/test/CodeGen/Generic/expand-vp.ll
M llvm/test/CodeGen/RISCV/rvv/undef-vp-ops.ll
M llvm/test/CodeGen/RISCV/rvv/vreductions-fp-vp.ll
M llvm/test/Verifier/vp-intrinsics.ll
M llvm/unittests/IR/VPIntrinsicTest.cpp
Log Message:
-----------
[VP][RISCV] Add vp.reduce.fmaximum/fminimum and its RISC-V codegen (#91782)
`vp.reduce.fmaximum/fminimum` are the VP version of
`vector.reduce.fmaximum/fminimum`.
Commit: 504cf554639360525c3f746e7296a242350b2af9
https://github.com/llvm/llvm-project/commit/504cf554639360525c3f746e7296a242350b2af9
Author: Cyndy Ishida <cyndy_ishida at apple.com>
Date: 2024-05-10 (Fri, 10 May 2024)
Changed paths:
M clang/test/InstallAPI/project-header-only-args.test
M clang/tools/clang-installapi/Options.cpp
Log Message:
-----------
[InstallAPI] Pass explicit module cache to avoid permissions issues.
Fixes: https://lab.llvm.org/buildbot/#/builders/192/builds/9313
Commit: 38b275598391dd6bd2d034e6b815c3febde0b1fe
https://github.com/llvm/llvm-project/commit/38b275598391dd6bd2d034e6b815c3febde0b1fe
Author: Valentin Clement (バレンタイン クレメン) <clementval at gmail.com>
Date: 2024-05-10 (Fri, 10 May 2024)
Changed paths:
M flang/include/flang/Semantics/semantics.h
M flang/lib/Semantics/check-cuda.cpp
M flang/lib/Semantics/resolve-names.cpp
M flang/lib/Semantics/semantics.cpp
R flang/module/__cuda_device_builtins.f90
R flang/module/cudadevice.f90
R flang/test/Semantics/cuf-device-procedures01.cuf
R flang/test/Semantics/cuf-device-procedures02.cuf
M flang/tools/f18/CMakeLists.txt
Log Message:
-----------
Revert "[flang][cuda] Implicitly load cudadevice module in device/global subprogram" (#91827)
Reverts llvm/llvm-project#91668
Commit: 11cb3c300d8e8f05dddbc1a4f8ab1c86e864544a
https://github.com/llvm/llvm-project/commit/11cb3c300d8e8f05dddbc1a4f8ab1c86e864544a
Author: Noah Goldstein <goldstein.w.n at gmail.com>
Date: 2024-05-10 (Fri, 10 May 2024)
Changed paths:
M llvm/include/llvm/IR/PatternMatch.h
M llvm/unittests/IR/PatternMatch.cpp
Log Message:
-----------
[IR][PatternMatch] Make `m_Checked{Int,Fp}` accept `Constant *` output instead of `APInt *`
The `APInt *` version is pretty useless as any case one needs an
`APInt *` out, they could just replace whatever they have the
`m_Checked...` lambda with direct checks on the `APInt`.
Leaving other helpers such as `m_Negative`, `m_Power2`,
etc... unchanged as the `APInt` out version is used mostly for
convenience and rarely change functionality when converted output a
`Constant *`.
Closes #91377
Commit: df88d610ab10c1e3f22d7f5daf3794158972c584
https://github.com/llvm/llvm-project/commit/df88d610ab10c1e3f22d7f5daf3794158972c584
Author: Fangrui Song <i at maskray.me>
Date: 2024-05-10 (Fri, 10 May 2024)
Changed paths:
M clang/include/clang/Driver/Driver.h
Log Message:
-----------
[Driver] Remove unused getInstalledDir
The uses have been removed by commit 2b5cd8be3af43e5aa5b76b6aeb1edd3141b803ca
Commit: e62ce1f8842cca36eb14126d79dcca0a85bf6d36
https://github.com/llvm/llvm-project/commit/e62ce1f8842cca36eb14126d79dcca0a85bf6d36
Author: Owen Pan <owenpiano at gmail.com>
Date: 2024-05-10 (Fri, 10 May 2024)
Changed paths:
M clang/lib/Format/Format.cpp
M clang/lib/Format/FormatToken.cpp
M clang/lib/Format/FormatToken.h
M clang/lib/Format/FormatTokenLexer.cpp
M clang/lib/Format/QualifierAlignmentFixer.cpp
M clang/lib/Format/QualifierAlignmentFixer.h
M clang/lib/Format/TokenAnalyzer.cpp
M clang/lib/Format/TokenAnalyzer.h
M clang/lib/Format/TokenAnnotator.cpp
M clang/lib/Format/TokenAnnotator.h
M clang/lib/Format/UnwrappedLineParser.cpp
M clang/lib/Format/UnwrappedLineParser.h
M clang/unittests/Format/QualifierFixerTest.cpp
Log Message:
-----------
[clang-format] Fix FormatToken::isSimpleTypeSpecifier() (#91712)
Remove FormatToken::isSimpleTypeSpecifier() and call
Token::isSimpleTypeSpecifier(LangOpts) instead.
Commit: 65c9b8460b1aa309d012a5fe031524dbb813d64e
https://github.com/llvm/llvm-project/commit/65c9b8460b1aa309d012a5fe031524dbb813d64e
Author: Fangrui Song <i at maskray.me>
Date: 2024-05-10 (Fri, 10 May 2024)
Changed paths:
M lld/ELF/Driver.cpp
M lld/ELF/LinkerScript.cpp
M lld/ELF/LinkerScript.h
Log Message:
-----------
[Driver] Remove elf::script indirection. NFC
There are 100+ references.
Use a wrapper similar to a623a4c8b4d5cc933ebc1856ce30aac935f62b18
Commit: 3676b0945c800e3105f648d178b331953246716a
https://github.com/llvm/llvm-project/commit/3676b0945c800e3105f648d178b331953246716a
Author: Congcong Cai <congcongcai0907 at 163.com>
Date: 2024-05-11 (Sat, 11 May 2024)
Changed paths:
M clang-tools-extra/clang-tidy/readability/SimplifyBooleanExprCheck.cpp
M clang-tools-extra/clang-tidy/readability/SimplifyBooleanExprCheck.h
M clang-tools-extra/docs/ReleaseNotes.rst
M clang-tools-extra/test/clang-tidy/checkers/readability/simplify-boolean-expr-macros.cpp
Log Message:
-----------
[clang-tidy] `readability-simplify-boolean-expr` avoid to warn expression expand from macro when ``IgnoreMacro`` option is enabled. (#91757)
Fixes: #91487
Commit: bbcdd4f4b2f77b461e9cfd259b4c73d985c2dd9d
https://github.com/llvm/llvm-project/commit/bbcdd4f4b2f77b461e9cfd259b4c73d985c2dd9d
Author: Amir Ayupov <aaupov at fb.com>
Date: 2024-05-10 (Fri, 10 May 2024)
Changed paths:
M bolt/lib/Profile/DataAggregator.cpp
M bolt/test/X86/register-fragments-bolt-symbols.s
Log Message:
-----------
[BOLT] Use disambiguated local names in BAT YAML
Align BAT YAML to fdata profile.
Test Plan: updated register-fragments-bolt-symbols.s
Reviewers: dcci, rafaelauler, ayermolo, maksfb
Reviewed By: dcci
Pull Request: https://github.com/llvm/llvm-project/pull/91773
Commit: 4f127667ca57875f0984f81d5790479b902022e0
https://github.com/llvm/llvm-project/commit/4f127667ca57875f0984f81d5790479b902022e0
Author: Amir Ayupov <aaupov at fb.com>
Date: 2024-05-10 (Fri, 10 May 2024)
Changed paths:
M bolt/lib/Profile/DataAggregator.cpp
M bolt/test/X86/bolt-address-translation-yaml.test
Log Message:
-----------
[BOLT] Set entry counts in BAT YAML profile (#91775)
Align with DataReader::readProfile that sets entry block counts from
FuncBranchData->EntryData.
Test Plan: updated bolt-address-translation-yaml.test
Commit: 5cd280433e8e063bf3c2390eaf152e726db5b0fb
https://github.com/llvm/llvm-project/commit/5cd280433e8e063bf3c2390eaf152e726db5b0fb
Author: Owen Pan <owenpiano at gmail.com>
Date: 2024-05-10 (Fri, 10 May 2024)
Changed paths:
M clang/unittests/Format/QualifierFixerTest.cpp
Log Message:
-----------
[clang-format] Move QualifierFixerTest::LangOpts to IsQualifierType test
This should fix buildbot failures in:
https://lab.llvm.org/buildbot/#/builders/5/builds/43303
https://lab.llvm.org/buildbot/#/builders/168/builds/20347
Commit: 1351aabf542b25e3ff1d36f4f2abe6727d0f19aa
https://github.com/llvm/llvm-project/commit/1351aabf542b25e3ff1d36f4f2abe6727d0f19aa
Author: Vlad Serebrennikov <serebrennikov.vladislav at gmail.com>
Date: 2024-05-11 (Sat, 11 May 2024)
Changed paths:
M clang/test/CXX/drs/cwg18xx.cpp
M clang/www/cxx_dr_status.html
Log Message:
-----------
[clang] Add test for CWG1820 "Qualified typedef names" (#91765)
[P1787R6](https://wg21.link/p1787r6):
> [CWG1820](https://cplusplus.github.io/CWG/issues/1820.html) is
resolved by requiring that a qualified declarator-id declare an entity.
P1787R6 changes wording of [dcl.pre]/9. Quote from the current draft
([[dcl.pre]/5](https://eel.is/c++draft/dcl.pre#5)):
> If a
[declarator-id](https://eel.is/c++draft/dcl.decl.general#nt:declarator-id)
is a name, the
[init-declarator](https://eel.is/c++draft/dcl.decl.general#nt:init-declarator)
and (hence) the declaration introduce that
name[.](https://eel.is/c++draft/dcl.pre#5.sentence-1)
> [Note [3](https://eel.is/c++draft/dcl.pre#note-3): Otherwise, the
[declarator-id](https://eel.is/c++draft/dcl.decl.general#nt:declarator-id)
is a
[qualified-id](https://eel.is/c++draft/expr.prim.id.qual#nt:qualified-id)
or names a destructor or its
[unqualified-id](https://eel.is/c++draft/expr.prim.id.unqual#nt:unqualified-id)
is a [template-id](https://eel.is/c++draft/temp.names#nt:template-id)
and no name is
introduced[.](https://eel.is/c++draft/dcl.pre#5.sentence-2)
— end note]
Commit: 52c5a81001663d4ca8fca5e7b1634a6a5b0bd021
https://github.com/llvm/llvm-project/commit/52c5a81001663d4ca8fca5e7b1634a6a5b0bd021
Author: Jonas Hahnfeld <jonas.hahnfeld at cern.ch>
Date: 2024-05-11 (Sat, 11 May 2024)
Changed paths:
M llvm/lib/Target/AMDGPU/AMDGPUHSAMetadataStreamer.h
M llvm/lib/Target/AMDGPU/SIProgramInfo.h
M llvm/unittests/MC/AMDGPU/SIProgramInfoMCExprs.cpp
Log Message:
-----------
[AMDGPU] Fix unittest linking error with `LLVM_LINK_LLVM_DYLIB` (#91727)
Follow-up to https://github.com/llvm/llvm-project/pull/88257
Commit: 575177f610274e909a17450c29d2e997f7a7f13d
https://github.com/llvm/llvm-project/commit/575177f610274e909a17450c29d2e997f7a7f13d
Author: Shengchen Kan <shengchen.kan at intel.com>
Date: 2024-05-11 (Sat, 11 May 2024)
Changed paths:
M clang/include/clang/Driver/Options.td
M clang/lib/Basic/Targets/X86.cpp
M clang/lib/Basic/Targets/X86.h
M clang/lib/Driver/ToolChains/Arch/X86.cpp
M clang/test/Driver/x86-target-features.c
M clang/test/Preprocessor/x86_target_features.c
M llvm/include/llvm/TargetParser/X86TargetParser.def
M llvm/lib/Target/X86/X86.td
M llvm/lib/TargetParser/X86TargetParser.cpp
Log Message:
-----------
[X86] Add sub-feature nf (no flags update) for APX
This is a follow-up patch for #74199
Commit: 31774b6a8a88b435ce79f9ba048ef8bb00e2817e
https://github.com/llvm/llvm-project/commit/31774b6a8a88b435ce79f9ba048ef8bb00e2817e
Author: Ryosuke Niwa <rniwa at webkit.org>
Date: 2024-05-11 (Sat, 11 May 2024)
Changed paths:
M clang/lib/StaticAnalyzer/Checkers/WebKit/PtrTypesSemantics.cpp
M clang/test/Analysis/Checkers/WebKit/uncounted-obj-arg.cpp
Log Message:
-----------
[analyzer] Treat bitwise_cast, std::addressof, and new as trivial in WebKit checkers. (#91830)
Commit: 9d66dcaf172cdaa78a6709df989bcaaf90d2ccee
https://github.com/llvm/llvm-project/commit/9d66dcaf172cdaa78a6709df989bcaaf90d2ccee
Author: Spenser Bauman <sbauman at mathworks.com>
Date: 2024-05-11 (Sat, 11 May 2024)
Changed paths:
M mlir/lib/Conversion/TosaToTensor/TosaToTensor.cpp
M mlir/test/Conversion/TosaToTensor/tosa-to-tensor.mlir
Log Message:
-----------
[mlir][tosa] Work around GCC bug in tosa-to-tensor (#91521)
GCC 12 and 13 generate incorrect code for a pattern in the
tosa-to-tensor pass responsible for lowering tosa.reshape. This results
in the tosa.reshape lowering producing IR which fails to verify. I've
narrowed down the set of cmake flags needed to reproduce the issue to
this:
cmake -G Ninja ../llvm \
-DLLVM_ENABLE_PROJECTS="mlir" \
-DLLVM_TARGETS_TO_BUILD=host \
-DLLVM_ENABLE_PROJECTS=mlir \
-DCMAKE_BUILD_TYPE="Release" \
-DCMAKE_CXX_FLAGS_RELEASE="-O2" \
-DCMAKE_CXX_FLAGS="-O2" \
-DCMAKE_CXX_COMPILER=g++ \
-DCMAKE_C_COMPILER=gcc
This is the failing test case:
func.func @fails_in_gcc_12(%arg0: tensor<?xf32>) -> tensor<1x1x1x?xf32>
{
%0 = tosa.reshape %arg0 {new_shape = array<i64: 1, 1, 1, -1>} :
(tensor<?xf32>) -> tensor<1x1x1x?xf32>
return %0 : tensor<1x1x1x?xf32>
}
This should lower to a tensor.expand_shape operation like so:
func.func @foo(%arg0: tensor<?xf32>) -> tensor<1x1x1x?xf32> {
%c0 = arith.constant 0 : index
%dim = tensor.dim %arg0, %c0 : tensor<?xf32>
%c1 = arith.constant 1 : index
%expanded = tensor.expand_shape %arg0 [[0, 1, 2, 3]] output_shape [1, 1,
1, %dim] : tensor<?xf32> into tensor<1x1x1x?xf32>
return %expanded : tensor<1x1x1x?xf32>
}
Under GCC 12/13 with the above cmake configuration, the
tensor.expand_shape looks like this
%2 = "tensor.expand_shape"(%arg0) <{reassociation = [[0, 1, 2, 3]],
static_output_shape = array<i64>}> : (tensor<?xf32>) ->
tensor<?x1x1x?xf32>
The key difference is the computed output type of `tensor<?x1x1x?xf32>`
rather than the expected `tensor<1x1x1x?xf32>`. This expand_shape fails
to verify with this error message:
error: 'tensor.expand_shape' op expected number of static shape dims to
be equal to the output rank (4) but found 0 inputs instead
The problematic code is calculating the intermediate shape of the
generated tensor.expand_shape operation in the
expand_shape/collapse_shape sequence that implements tosa.reshape.
// Compute result shape
bool resultIsStatic = true;
auto resultShape = llvm::map_to_vector(newShape, [&](int64_t size) {
// Omitted
// If we do not know the total size of the tensor, keep this dimension
// dynamic in the result shape.
if (!inputIsStatic) {
resultIsStatic = false;
return ShapedType::kDynamic;
}
});
if (resultIsStatic) {
// do something
return;
}
// do something else
return;
The failure point seems to be the update of the resultIsStatic variable
in the lambda body. The assignment of false is not propagated to the use
in the if-statement, resulting in the branch being taken when it should
not.
I've found several modification to the code that gets around the bug.
The version I settled on is one which makes the logic a little more
obvious.
Commit: 079fdef7d26d2004b5bfd467fddadf1906bc814b
https://github.com/llvm/llvm-project/commit/079fdef7d26d2004b5bfd467fddadf1906bc814b
Author: Simon Pilgrim <llvm-dev at redking.me.uk>
Date: 2024-05-11 (Sat, 11 May 2024)
Changed paths:
M llvm/include/llvm/CodeGen/BasicTTIImpl.h
M llvm/test/Analysis/CostModel/AArch64/masked_ldst.ll
M llvm/test/Analysis/CostModel/AArch64/mem-op-cost-model.ll
M llvm/test/Analysis/CostModel/AArch64/sve-gather.ll
M llvm/test/Analysis/CostModel/AArch64/sve-intrinsics.ll
M llvm/test/Analysis/CostModel/RISCV/masked_ldst.ll
M llvm/test/Transforms/LoopVectorize/AArch64/masked-op-cost.ll
Log Message:
-----------
[TTI] getCommonMaskedMemoryOpCost - use the target getMemoryOpCost/getCFInstrCost implementations.
We were using the default implementations instead of the CRTP versions.
Commit: 23fe1fc6b78b7643a801ce3eb53d14b47b1dd0ff
https://github.com/llvm/llvm-project/commit/23fe1fc6b78b7643a801ce3eb53d14b47b1dd0ff
Author: Simon Pilgrim <llvm-dev at redking.me.uk>
Date: 2024-05-11 (Sat, 11 May 2024)
Changed paths:
M llvm/lib/Target/X86/X86TargetTransformInfo.cpp
M llvm/test/Analysis/CostModel/X86/intrinsic-cost-kinds.ll
M llvm/test/Analysis/CostModel/X86/masked-gather-i32-with-i8-index.ll
M llvm/test/Analysis/CostModel/X86/masked-gather-i64-with-i8-index.ll
M llvm/test/Analysis/CostModel/X86/masked-intrinsic-cost-inseltpoison.ll
M llvm/test/Analysis/CostModel/X86/masked-intrinsic-cost.ll
Log Message:
-----------
[TTI][X86] getGSScalarCost - don't bother with adding cost of ICMP for each i1 mask element
These can nearly always be folded into the existing cost of the branch, and brings the throughput costs of the scalarised gather/scatter code much closer to the llvm-mca/uica estimates
Commit: 3773191fc4e088fb06592e0404296f6051b1d4f7
https://github.com/llvm/llvm-project/commit/3773191fc4e088fb06592e0404296f6051b1d4f7
Author: Shan Huang <52285902006 at stu.ecnu.edu.cn>
Date: 2024-05-11 (Sat, 11 May 2024)
Changed paths:
M llvm/lib/Transforms/Scalar/JumpThreading.cpp
M llvm/test/Transforms/JumpThreading/guard-split-debuginfo.ll
A llvm/test/Transforms/JumpThreading/preserving-debugloc-bitcast.ll
A llvm/test/Transforms/JumpThreading/preserving-debugloc-fold-select.ll
Log Message:
-----------
[DebugInfo][JumpThreading] Fix missing debug location updates (#91581)
Commit: cdd782183dc6a074baa1dbc92b37f1f4dbb4725f
https://github.com/llvm/llvm-project/commit/cdd782183dc6a074baa1dbc92b37f1f4dbb4725f
Author: Shan Huang <52285902006 at stu.ecnu.edu.cn>
Date: 2024-05-11 (Sat, 11 May 2024)
Changed paths:
M llvm/lib/Transforms/Scalar/LICM.cpp
A llvm/test/Transforms/LICM/debugloc-preserve-fmul-drop-fdiv.ll
Log Message:
-----------
[DebugInfo][LICM] Fix missing debug location updates (#91729)
Commit: 1337622a492f4e77604b09ac8ff97042e46d8d42
https://github.com/llvm/llvm-project/commit/1337622a492f4e77604b09ac8ff97042e46d8d42
Author: Théo Degioanni <theo.degioanni.llvm.deluge062 at simplelogin.fr>
Date: 2024-05-11 (Sat, 11 May 2024)
Changed paths:
A mlir/include/mlir-c/Dialect/IRDL.h
M mlir/lib/CAPI/Dialect/CMakeLists.txt
A mlir/lib/CAPI/Dialect/IRDL.cpp
M mlir/test/CAPI/CMakeLists.txt
A mlir/test/CAPI/irdl.c
M mlir/test/CMakeLists.txt
M mlir/test/lit.cfg.py
Log Message:
-----------
[MLIR] Add IRDL dialect loading to C API (#91852)
Being able to add custom dialects is one of the big missing pieces of
the C API. This change should make it achievable via IRDL. Hopefully
this should open custom dialect definition to non-C++ users of MLIR.
Commit: 379b77773cf653352f30f8c7cca393f4df9389be
https://github.com/llvm/llvm-project/commit/379b77773cf653352f30f8c7cca393f4df9389be
Author: Timm Bäder <tbaeder at redhat.com>
Date: 2024-05-11 (Sat, 11 May 2024)
Changed paths:
M clang/lib/AST/Interp/Pointer.h
M clang/unittests/AST/Interp/Descriptor.cpp
Log Message:
-----------
[clang][Interp] Use pointee metadata size in isRoot()
Previously, isRoot() would return true for pointers with a base
of sizeof(InlineDescriptor), even if the actual metadata size of the
pointee was 0.
Commit: deffae5da123b32098914d8346bf4358a6792bdc
https://github.com/llvm/llvm-project/commit/deffae5da123b32098914d8346bf4358a6792bdc
Author: Kazu Hirata <kazu at google.com>
Date: 2024-05-11 (Sat, 11 May 2024)
Changed paths:
M clang/include/clang/Basic/IdentifierTable.h
M clang/include/clang/Basic/SourceManager.h
M clang/lib/ARCMigrate/ObjCMT.cpp
M clang/lib/AST/PrintfFormatString.cpp
M clang/lib/ASTMatchers/Dynamic/Marshallers.cpp
M clang/lib/Basic/Builtins.cpp
M clang/lib/Basic/Diagnostic.cpp
M clang/lib/Basic/LangOptions.cpp
M clang/lib/Basic/Targets/ARM.cpp
M clang/lib/Basic/Targets/PPC.h
M clang/lib/Basic/Targets/SystemZ.h
M clang/lib/Basic/Targets/X86.h
M clang/lib/CodeGen/CodeGenFunction.cpp
M clang/lib/Format/ContinuationIndenter.cpp
M clang/lib/Format/Format.cpp
M clang/lib/Frontend/CompilerInvocation.cpp
M clang/lib/Frontend/ModuleDependencyCollector.cpp
M clang/lib/Lex/PPDirectives.cpp
M clang/lib/Parse/ParseDecl.cpp
M clang/lib/Parse/ParseDeclCXX.cpp
M clang/lib/Parse/ParseHLSL.cpp
M clang/lib/Parse/ParseOpenMP.cpp
M clang/lib/Sema/SemaCodeComplete.cpp
M clang/lib/Sema/SemaDecl.cpp
M clang/lib/Sema/SemaDeclCXX.cpp
M clang/lib/Sema/SemaStmtAsm.cpp
M clang/lib/Sema/SemaTemplate.cpp
M clang/lib/StaticAnalyzer/Checkers/GenericTaintChecker.cpp
M clang/lib/StaticAnalyzer/Checkers/LLVMConventionsChecker.cpp
M clang/lib/StaticAnalyzer/Checkers/LocalizationChecker.cpp
M clang/lib/StaticAnalyzer/Checkers/MallocChecker.cpp
M clang/lib/StaticAnalyzer/Checkers/ObjCContainersASTChecker.cpp
M clang/lib/StaticAnalyzer/Checkers/ObjCContainersChecker.cpp
M clang/lib/StaticAnalyzer/Checkers/StreamChecker.cpp
M clang/lib/StaticAnalyzer/Core/CheckerContext.cpp
M clang/lib/Tooling/Tooling.cpp
M clang/tools/diagtool/ShowEnabledWarnings.cpp
M clang/tools/diagtool/TreeView.cpp
M clang/unittests/CodeGen/IRMatchers.h
Log Message:
-----------
[clang] Use StringRef::operator== instead of StringRef::equals (NFC) (#91844)
I'm planning to remove StringRef::equals in favor of
StringRef::operator==.
- StringRef::operator==/!= outnumber StringRef::equals by a factor of
24 under clang/ in terms of their usage.
- The elimination of StringRef::equals brings StringRef closer to
std::string_view, which has operator== but not equals.
- S == "foo" is more readable than S.equals("foo"), especially for
!Long.Expression.equals("str") vs Long.Expression != "str".
Commit: baffaf000fd4667f33b3756d0d3b645b1d926b44
https://github.com/llvm/llvm-project/commit/baffaf000fd4667f33b3756d0d3b645b1d926b44
Author: Dave Lee <davelee.com at gmail.com>
Date: 2024-05-11 (Sat, 11 May 2024)
Changed paths:
M lldb/test/API/macosx/rosetta/TestRosetta.py
M lldb/test/API/macosx/universal64/TestUniversal64.py
Log Message:
-----------
[lldb] Add required skipIfLLVMTargetMissing for X86 (NFC)
Commit: 2b386888b78327db4906b12401e1a89438471548
https://github.com/llvm/llvm-project/commit/2b386888b78327db4906b12401e1a89438471548
Author: Haojian Wu <hokein.wu at gmail.com>
Date: 2024-05-11 (Sat, 11 May 2024)
Changed paths:
M clang/lib/Sema/SemaTemplate.cpp
M clang/test/SemaTemplate/ctad.cpp
Log Message:
-----------
Reland: [clang] Use getDefaultArgRange instead of getDefaultArg to retrieve
source location in `ConvertConstructorToDeductionGuideTransform`.
The commit fec471649fffaa3ec44e17801e5c9605825e58bb was reverted by accident in 7415524b45392651969374c067041daa82dc89e7.
Reland it with a testcase.
Commit: 05cc2d5fe10ca3e7786863d9c600e1a3f8db93eb
https://github.com/llvm/llvm-project/commit/05cc2d5fe10ca3e7786863d9c600e1a3f8db93eb
Author: Nikolas Klauser <nikolasklauser at berlin.de>
Date: 2024-05-11 (Sat, 11 May 2024)
Changed paths:
M libcxx/include/CMakeLists.txt
M libcxx/include/__algorithm/mismatch.h
M libcxx/include/__algorithm/simd_utils.h
A libcxx/include/__iterator/aliasing_iterator.h
M libcxx/include/__type_traits/is_equality_comparable.h
M libcxx/include/module.modulemap
A libcxx/test/libcxx/iterators/aliasing_iterator.pass.cpp
M libcxx/test/std/algorithms/alg.nonmodifying/mismatch/mismatch.pass.cpp
Log Message:
-----------
[libc++] Vectorize std::mismatch with trivially equality comparable types (#87716)
Commit: 91c917b19f076b510635a6168305f6f0117e7fad
https://github.com/llvm/llvm-project/commit/91c917b19f076b510635a6168305f6f0117e7fad
Author: Ivan Murashko <ivan.murashko at gmail.com>
Date: 2024-05-11 (Sat, 11 May 2024)
Changed paths:
M clang/test/Modules/implicit-module-no-timestamp.cpp
Log Message:
-----------
[Modules] Enable MS Windows test for implicit-module-no-timestamp.cpp (#91738)
There is a follow-up commit for #90319. The Windows test was disabled in
that commit, but it should pass on this operating system. Therefore, it
would be beneficial to have it enabled for MS Windows.
Commit: 0869204cff22831d0bb19a82c99bf85e4deb4ae3
https://github.com/llvm/llvm-project/commit/0869204cff22831d0bb19a82c99bf85e4deb4ae3
Author: Owen Pan <owenpiano at gmail.com>
Date: 2024-05-11 (Sat, 11 May 2024)
Changed paths:
M clang/lib/Format/QualifierAlignmentFixer.cpp
M clang/lib/Format/QualifierAlignmentFixer.h
M clang/unittests/Format/QualifierFixerTest.cpp
Log Message:
-----------
[clang-format] Fix buildbot failures
This effectively reverts 5cd280433e8e and changes to QualifierFixerTest.cpp
from e62ce1f8842c.
Failed buidbots:
https://lab.llvm.org/buildbot/#/builders/236/builds/11223
https://lab.llvm.org/buildbot/#/builders/239/builds/6968
Commit: f42117c8517cc928c6373bad35ebf75d94fe865b
https://github.com/llvm/llvm-project/commit/f42117c8517cc928c6373bad35ebf75d94fe865b
Author: Xiang Li <python3kgae at outlook.com>
Date: 2024-05-11 (Sat, 11 May 2024)
Changed paths:
M llvm/include/llvm/BinaryFormat/DXContainer.h
M llvm/lib/MC/MCDXContainerWriter.cpp
M llvm/lib/ObjectYAML/DXContainerEmitter.cpp
M llvm/tools/obj2yaml/dxcontainer2yaml.cpp
M llvm/unittests/Object/DXContainerTest.cpp
Log Message:
-----------
[DirectX] Replace bitfield version in ProgramHeader. (#91797)
Avoid using bitfield in dxbc::ProgramHeader.
It could potentially be read incorrectly on any host depending on the
compiler.
>From [C++17's
[class.bit]](https://timsong-cpp.github.io/cppwp/n4659/class.bit#1)
> Bit-fields are packed into some addressable allocation unit. [ Note:
Bit-fields straddle allocation units on some machines and not on others.
Bit-fields are assigned right-to-left on some machines, left-to-right on
others. — end note ]
For #91793
Commit: e586556e375fc5c4f7e76b5c299cb981f2016108
https://github.com/llvm/llvm-project/commit/e586556e375fc5c4f7e76b5c299cb981f2016108
Author: Shengchen Kan <shengchen.kan at intel.com>
Date: 2024-05-12 (Sun, 12 May 2024)
Changed paths:
M llvm/lib/Target/X86/X86ISelDAGToDAG.cpp
M llvm/test/CodeGen/X86/cmp.ll
Log Message:
-----------
[X86][CodeGen] Add NDD entries for transform TEST+AND -> TEST
Commit: 63224d717108d927e998da8a67050a6cc5dd74a2
https://github.com/llvm/llvm-project/commit/63224d717108d927e998da8a67050a6cc5dd74a2
Author: Timm Bäder <tbaeder at redhat.com>
Date: 2024-05-12 (Sun, 12 May 2024)
Changed paths:
M clang/lib/AST/Interp/Descriptor.cpp
M clang/lib/AST/Interp/Descriptor.h
M clang/lib/AST/Interp/Interp.h
M clang/lib/AST/Interp/Program.cpp
M clang/test/AST/Interp/builtin-align-cxx.cpp
M clang/test/AST/Interp/c.c
Log Message:
-----------
Reapply "Reapply "[clang][Interp] Create full type info for dummy pointers""
This reverts commit fb1c2dbc0a6ba641e0b39e0692ec6a4ee4444c4b.
Commit: c8864bceeb20582b4e7a739d8ba3e11052f0e49f
https://github.com/llvm/llvm-project/commit/c8864bceeb20582b4e7a739d8ba3e11052f0e49f
Author: Maksim Panchenko <maks at fb.com>
Date: 2024-05-11 (Sat, 11 May 2024)
Changed paths:
M bolt/test/runtime/bolt-reserved.cpp
Log Message:
-----------
[BOLT] Fix race condition in a test (#91866)
Fix race condition in internal NFC test.
Commit: 1d6bf0ca29322b08e8b50681d440e7182441b025
https://github.com/llvm/llvm-project/commit/1d6bf0ca29322b08e8b50681d440e7182441b025
Author: Nathan Sidwell <nathan at acm.org>
Date: 2024-05-12 (Sun, 12 May 2024)
Changed paths:
M clang/lib/CodeGen/CGRecordLayoutBuilder.cpp
Log Message:
-----------
[clang][NFC] Remove class layout scissor (#89055)
PR #87090 amended `accumulateBitfields` to do the correct clipping. The scissor is no longer necessary and `checkBitfieldClipping` can compute its location directly when needed.
Commit: a477004d822d02290f9d388aa22a42490fd8180d
https://github.com/llvm/llvm-project/commit/a477004d822d02290f9d388aa22a42490fd8180d
Author: Simon Pilgrim <llvm-dev at redking.me.uk>
Date: 2024-05-12 (Sun, 12 May 2024)
Changed paths:
M llvm/lib/Target/X86/X86TargetTransformInfo.cpp
M llvm/lib/Target/X86/X86TargetTransformInfo.h
Log Message:
-----------
[CostModel][X86] Remove getGSScalarCost and use getCommonMaskedMemoryOpCost directly
The generic getCommonMaskedMemoryOpCost now gives the same cost estimates for scalarized gather/scatter.
Commit: 502e77df1fc4aa859db6709e14e93af6207e4dc4
https://github.com/llvm/llvm-project/commit/502e77df1fc4aa859db6709e14e93af6207e4dc4
Author: Simon Pilgrim <llvm-dev at redking.me.uk>
Date: 2024-05-12 (Sun, 12 May 2024)
Changed paths:
M llvm/lib/Target/X86/X86TargetTransformInfo.cpp
Log Message:
-----------
[CostModel][X86] getGSVectorCost - remove FIXME
getGSVectorCost has supported other TargetCostKind since a55127281b2ed5f24f848b9e5c70870ad170bc3f
Commit: 78b3a00418ce6da0426a261a64a77608d0264fe5
https://github.com/llvm/llvm-project/commit/78b3a00418ce6da0426a261a64a77608d0264fe5
Author: Felix Schneider <fx.schn at gmail.com>
Date: 2024-05-12 (Sun, 12 May 2024)
Changed paths:
M mlir/include/mlir/Analysis/DataFlowFramework.h
M mlir/lib/Dialect/Arith/Transforms/IntRangeOptimizations.cpp
Log Message:
-----------
[mlir] `int-range-optmizations`: Fix referencing of deleted ops (#91807)
The pass runs a `DataFlowSolver` and collects state information on the
input IR. Then, the rewrite driver and folding is applied. During
pattern application and folding it can happen that an Op from the input
IR is deleted and a new Op is created at the same address. When the
newly created Ops is looked up in the `DataFlowSolver` state memory, the
state of the original Op is returned.
This patch adds a method to `DataFlowSolver` which removes all state
related to a `ProgramPoint`. It also adds a listener to the Pass which
clears the state information of deleted Ops from the `DataFlowSolver`.
Fix https://github.com/llvm/llvm-project/issues/81228
Commit: 17daa204feadf9c28fc13b7daa69c3cbe865b238
https://github.com/llvm/llvm-project/commit/17daa204feadf9c28fc13b7daa69c3cbe865b238
Author: yronglin <yronglin777 at gmail.com>
Date: 2024-05-13 (Mon, 13 May 2024)
Changed paths:
M clang/include/clang/Basic/DiagnosticSemaKinds.td
M clang/lib/Sema/SemaExpr.cpp
M clang/lib/Sema/SemaInit.cpp
M clang/test/AST/ast-dump-default-init-json.cpp
M clang/test/AST/ast-dump-default-init.cpp
M clang/test/Analysis/lifetime-extended-regions.cpp
M clang/test/CXX/drs/cwg16xx.cpp
M clang/test/CXX/drs/cwg18xx.cpp
M clang/test/CXX/special/class.temporary/p6.cpp
M clang/test/SemaCXX/constexpr-default-arg.cpp
M clang/test/SemaCXX/eval-crashes.cpp
M clang/www/cxx_dr_status.html
Log Message:
-----------
[Clang][CWG1815] Support lifetime extension of temporary created by aggregate initialization using a default member initializer (#87933)
This PR complete [DR1815](https://wg21.link/CWG1815) under the guidance
of `FIXME` comments. And reuse `CXXDefaultInitExpr` rewrite machinery to
clone the initializer expression on each use that would lifetime extend
its temporaries.
---------
Signed-off-by: yronglin <yronglin777 at gmail.com>
Commit: b7ed097f29d712b1cc839e15ab68d2c8a2ce07cc
https://github.com/llvm/llvm-project/commit/b7ed097f29d712b1cc839e15ab68d2c8a2ce07cc
Author: David Green <david.green at arm.com>
Date: 2024-05-12 (Sun, 12 May 2024)
Changed paths:
M llvm/lib/Transforms/Vectorize/VectorCombine.cpp
M llvm/test/Transforms/VectorCombine/AArch64/shuffletoidentity.ll
Log Message:
-----------
[VectorCombine] Add intrinsics handling to shuffleToIdentity (#91000)
This is probably the most involved addition, as it tries to make use of
isTriviallyVectorizable with isVectorIntrinsicWithScalarOpAtArg to handle a
number of different intrinsics that are all lane-wise. Additional tests have
been added for some of the different intrinsics from
isVectorIntrinsicWithScalarOpAtArg / isVectorIntrinsicWithOverloadTypeAtArg.
Commit: b5af667b01458e9083256f2614df175916c73e5a
https://github.com/llvm/llvm-project/commit/b5af667b01458e9083256f2614df175916c73e5a
Author: Amir Ayupov <aaupov at fb.com>
Date: 2024-05-12 (Sun, 12 May 2024)
Changed paths:
M bolt/lib/Profile/DataAggregator.cpp
A bolt/test/X86/Inputs/blarge_new_bat_branchentry.preagg.txt
M bolt/test/X86/bolt-address-translation-yaml.test
Log Message:
-----------
[BOLT] Map branch source address to the containing basic block in BAT YAML
Fix an issue where the profile for all branches that have a BRANCHENTRY
is dropped. If the branch has an entry in BAT, it will be translated to
its input offset. We used to only permit the basic block offset as a
branch source. Perform a lookup of containing basic block instead.
Test Plan: Updated bolt-address-translation-yaml.test
Reviewers: maksfb, dcci, rafaelauler, ayermolo
Reviewed By: maksfb
Pull Request: https://github.com/llvm/llvm-project/pull/91273
Commit: 5bde8017a1109128d011510dcf4ba79140a224fe
https://github.com/llvm/llvm-project/commit/5bde8017a1109128d011510dcf4ba79140a224fe
Author: Phoebe Wang <phoebe.wang at intel.com>
Date: 2024-05-13 (Mon, 13 May 2024)
Changed paths:
M clang/lib/CodeGen/Targets/X86.cpp
M clang/test/CodeGen/vectorcall.c
Log Message:
-----------
[X86][vectorcall] Pass built types byval when xmm0~6 exhausted (#91846)
This is how MSVC handles it. https://godbolt.org/z/fG386bjnf
Commit: 626025ac7796b70cde9fc0fd4f688c3441949d04
https://github.com/llvm/llvm-project/commit/626025ac7796b70cde9fc0fd4f688c3441949d04
Author: Owen Pan <owenpiano at gmail.com>
Date: 2024-05-12 (Sun, 12 May 2024)
Changed paths:
M clang/lib/Format/QualifierAlignmentFixer.cpp
M clang/lib/Format/QualifierAlignmentFixer.h
M clang/unittests/Format/QualifierFixerTest.cpp
Log Message:
-----------
Revert "[clang-format] Fix buildbot failures"
This reverts commit 0869204cff22831d0bb19a82c99bf85e4deb4ae3, which caused a
buildbot failure:
https://lab.llvm.org/buildbot/#/builders/5/builds/43322
Commit: ed16e7aac44f2024b45d8c6c9dc2817d77d0ea97
https://github.com/llvm/llvm-project/commit/ed16e7aac44f2024b45d8c6c9dc2817d77d0ea97
Author: Shih-Po Hung <shihpo.hung at sifive.com>
Date: 2024-05-13 (Mon, 13 May 2024)
Changed paths:
M llvm/lib/Target/RISCV/RISCVTargetTransformInfo.cpp
M llvm/test/Analysis/CostModel/RISCV/arith-fp.ll
M llvm/test/Analysis/CostModel/RISCV/arith-int.ll
Log Message:
-----------
[RISCV][TTI] Support fdiv/udiv/sdiv/srem/urem in getArithmeticInstrCost (#89170)
This patch made following changes:
1. Support ISD FDIV/UDIV/SDIV/UREM/SREM
2. Classify instructions which cost the same
Commit: de641e289269061f8bdb138bb5c50e27ef4b354f
https://github.com/llvm/llvm-project/commit/de641e289269061f8bdb138bb5c50e27ef4b354f
Author: Owen Pan <owenpiano at gmail.com>
Date: 2024-05-12 (Sun, 12 May 2024)
Changed paths:
M clang/unittests/Format/QualifierFixerTest.cpp
Log Message:
-----------
[clang-format] Fix buildbot failures
Fix the following buildbot failures by making LangOpts in the unit test
static:
https://lab.llvm.org/buildbot/#/builders/236/builds/11223
https://lab.llvm.org/buildbot/#/builders/239/builds/6968
Commit: abe3c5ac19e455d8a6df3120fa5e7a6e5f9005a6
https://github.com/llvm/llvm-project/commit/abe3c5ac19e455d8a6df3120fa5e7a6e5f9005a6
Author: AdityaK <hiraditya at msn.com>
Date: 2024-05-12 (Sun, 12 May 2024)
Changed paths:
M llvm/lib/Transforms/Scalar/GVNSink.cpp
M llvm/test/Transforms/GVNSink/int_sideeffect.ll
Log Message:
-----------
[GVNSink] Fix non-determinisms by using a deterministic ordering (#90995)
GVNSink used to order instructions based on their pointer values and was
prone to non-determinism because of that.
This patch ensures all the values stored are using a deterministic
order. I have also added a verfier(`ModelledPHI::verifyModelledPHI`) to
assert when ordering isn't preserved.
Additionally, I have added a test case (mirror graph image of an
existing test) that would have failed before this patch.
Fixes: #77852
Commit: d67c3a4b1f465da681b829fda54619ff0b5bd1b5
https://github.com/llvm/llvm-project/commit/d67c3a4b1f465da681b829fda54619ff0b5bd1b5
Author: ShihPo Hung <shihpo.hung at sifive.com>
Date: 2024-05-12 (Sun, 12 May 2024)
Changed paths:
M llvm/lib/Target/RISCV/RISCVTargetTransformInfo.cpp
M llvm/test/Analysis/CostModel/RISCV/arith-fp.ll
M llvm/test/Analysis/CostModel/RISCV/arith-int.ll
Log Message:
-----------
Revert "[RISCV][TTI] Support fdiv/udiv/sdiv/srem/urem in getArithmeticInstrCost (#89170)"
This reverts commit ed16e7aac44f2024b45d8c6c9dc2817d77d0ea97.
Commit: 22213d58832e8fce344a7222ed705e4c7f4eb6b1
https://github.com/llvm/llvm-project/commit/22213d58832e8fce344a7222ed705e4c7f4eb6b1
Author: Shih-Po Hung <shihpo.hung at sifive.com>
Date: 2024-05-12 (Sun, 12 May 2024)
Changed paths:
M llvm/lib/Target/RISCV/RISCVTargetTransformInfo.cpp
M llvm/test/Analysis/CostModel/RISCV/arith-fp.ll
M llvm/test/Analysis/CostModel/RISCV/arith-int.ll
Log Message:
-----------
Recommit [RISCV][TTI] Support fdiv/udiv/sdiv/srem/urem in getArithmeticInstrCost (#89170)
Insert a break to fix the implicit-fallthrough caught by sanitizer.
Original commit message:
This patch made following changes:
1. Support ISD FDIV/UDIV/SDIV/UREM/SREM
2. Classify instructions which cost the same
Commit: b1f04d57f5818914d7db506985e2932f217844bd
https://github.com/llvm/llvm-project/commit/b1f04d57f5818914d7db506985e2932f217844bd
Author: Fangrui Song <i at maskray.me>
Date: 2024-05-12 (Sun, 12 May 2024)
Changed paths:
M lld/test/ELF/aarch64-thunk-reuse2.s
M lld/test/ELF/linkerscript/orphan-phdrs2.test
M lld/test/ELF/mips-got-page-script.s
M lld/test/ELF/ttext-tdata-tbss.s
Log Message:
-----------
[ELF,test] Fix typo in check prefixes
Commit: cb4fca929bd10a5c160a0f9bd58f2d7499669a89
https://github.com/llvm/llvm-project/commit/cb4fca929bd10a5c160a0f9bd58f2d7499669a89
Author: Vikram Hegde <115221833+vikramRH at users.noreply.github.com>
Date: 2024-05-13 (Mon, 13 May 2024)
Changed paths:
M llvm/lib/Target/AMDGPU/SIInstructions.td
M llvm/lib/Target/AMDGPU/SIRegisterInfo.td
M llvm/lib/Target/AMDGPU/VOP1Instructions.td
M llvm/test/CodeGen/AMDGPU/GlobalISel/llvm.amdgcn.update.dpp.ll
M llvm/test/CodeGen/AMDGPU/llvm.amdgcn.update.dpp.ll
Log Message:
-----------
[AMDGPU] Extend llvm.amdgcn.update.dpp intrinsic to support f64 (#91190)
Follow up patch to https://github.com/llvm/llvm-project/pull/89217,
before we make changes to atomic optimizer.
Commit: 2163ae761808ca0e5478357384f6ddbacce279eb
https://github.com/llvm/llvm-project/commit/2163ae761808ca0e5478357384f6ddbacce279eb
Author: Nikita Popov <npopov at redhat.com>
Date: 2024-05-13 (Mon, 13 May 2024)
Changed paths:
M llvm/include/llvm/DebugInfo/LogicalView/Core/LVStringPool.h
Log Message:
-----------
[LVStringPool] Remove incorrect std::move (NFCI)
"Value" is still used afterwards in the return value. In this case,
this doesn't actually make a difference because a move for a
primitive type is the same as a copy, so there is no actual
misbehavior. Still drop the std::move to make the code less
confusing.
Commit: eeafc9daa15d2d022bcdd456d4b8bafd23f5f121
https://github.com/llvm/llvm-project/commit/eeafc9daa15d2d022bcdd456d4b8bafd23f5f121
Author: Christian Ulmann <christianulmann at gmail.com>
Date: 2024-05-13 (Mon, 13 May 2024)
Changed paths:
M mlir/include/mlir/Interfaces/MemorySlotInterfaces.td
M mlir/include/mlir/Transforms/Mem2Reg.h
M mlir/lib/Dialect/LLVMIR/IR/LLVMMemorySlot.cpp
M mlir/lib/Dialect/MemRef/IR/MemRefMemorySlot.cpp
M mlir/lib/Transforms/Mem2Reg.cpp
A mlir/test/Transforms/mem2reg.mlir
M mlir/test/lib/Dialect/Test/TestOpDefs.cpp
M mlir/test/lib/Dialect/Test/TestOps.h
M mlir/test/lib/Dialect/Test/TestOps.td
Log Message:
-----------
[MLIR][Mem2Reg] Fix multi slot handling & move retry handling (#91464)
This commit fixes Mem2Regs mutli-slot allocator handling and extends the
test dialect to test this.
Additionally, this modifies Mem2Reg's API to always attempt a full
promotion on all the passed in "allocators". This ensures that the pass
does not require unnecessary walks over the regions and improves caching
benefits.
Commit: 662267daea7e76ee3cee90c63ab2bc2964b77b76
https://github.com/llvm/llvm-project/commit/662267daea7e76ee3cee90c63ab2bc2964b77b76
Author: Chen Zheng <czhengsz at cn.ibm.com>
Date: 2024-05-13 (Mon, 13 May 2024)
Changed paths:
A llvm/test/CodeGen/PowerPC/aix-tocdata-fastisel.ll
Log Message:
-----------
[PPC] add testcase, nfc
Commit: e6785fd75284f53b9e23db6f249598e09f3fc39f
https://github.com/llvm/llvm-project/commit/e6785fd75284f53b9e23db6f249598e09f3fc39f
Author: Kazu Hirata <kazu at google.com>
Date: 2024-05-12 (Sun, 12 May 2024)
Changed paths:
M llvm/lib/Transforms/Scalar/GVNSink.cpp
Log Message:
-----------
[Scalar] Fix a warning
This patch fixes:
llvm/lib/Transforms/Scalar/GVNSink.cpp:270:33: error: lambda capture
'this' is not used [-Werror,-Wunused-lambda-capture]
While I am at it, this patch replaces llvm::for_each with a
range-based for loop.
Commit: e74a34b6932965dfdc182b69f779e5bee551585a
https://github.com/llvm/llvm-project/commit/e74a34b6932965dfdc182b69f779e5bee551585a
Author: Chuanqi Xu <yedeng.yd at linux.alibaba.com>
Date: 2024-05-13 (Mon, 13 May 2024)
Changed paths:
M clang/include/clang/Frontend/MultiplexConsumer.h
M clang/include/clang/Serialization/ASTBitCodes.h
M clang/include/clang/Serialization/ASTDeserializationListener.h
M clang/include/clang/Serialization/ASTReader.h
M clang/include/clang/Serialization/ASTWriter.h
M clang/include/clang/Serialization/ModuleFile.h
M clang/lib/Frontend/FrontendAction.cpp
M clang/lib/Frontend/MultiplexConsumer.cpp
M clang/lib/Serialization/ASTReader.cpp
M clang/lib/Serialization/ASTReaderInternals.h
M clang/lib/Serialization/ASTWriter.cpp
Log Message:
-----------
[NFC] [Serialization] Merge IdentID with IdentifierID
In ASTBitCodes.h, there are two type alias for the ID type of
Identifiers with the same underlying type. It is confusing. This patch
tries to merge the `IdentID` to `IdentifierID` to erase such confusion.
Commit: f841ca0c355ae53c96f615996d0aff4648da8618
https://github.com/llvm/llvm-project/commit/f841ca0c355ae53c96f615996d0aff4648da8618
Author: Kazu Hirata <kazu at google.com>
Date: 2024-05-12 (Sun, 12 May 2024)
Changed paths:
M bolt/lib/Profile/DataAggregator.cpp
M bolt/lib/Profile/DataReader.cpp
M bolt/lib/Rewrite/DWARFRewriter.cpp
M bolt/lib/Rewrite/SDTRewriter.cpp
M clang-tools-extra/clang-tidy/ClangTidyCheck.cpp
M clang-tools-extra/clang-tidy/bugprone/ForwardingReferenceOverloadCheck.cpp
M clang-tools-extra/clang-tidy/modernize/LoopConvertCheck.cpp
M clang-tools-extra/clang-tidy/readability/IdentifierNamingCheck.cpp
M clang-tools-extra/clang-tidy/readability/SuspiciousCallArgumentCheck.cpp
M clang-tools-extra/clang-tidy/utils/IncludeSorter.cpp
M clang-tools-extra/clang-tidy/utils/RenamerClangTidyCheck.cpp
M flang/lib/Frontend/CompilerInvocation.cpp
M flang/lib/Optimizer/Builder/IntrinsicCall.cpp
M flang/lib/Optimizer/CodeGen/CodeGen.cpp
M lld/COFF/DebugTypes.cpp
M lld/ELF/InputSection.cpp
M lld/ELF/Writer.cpp
M lld/MachO/Driver.cpp
M lld/wasm/InputChunks.cpp
Log Message:
-----------
Use StringRef::operator== instead of StringRef::equals (NFC) (#91864)
I'm planning to remove StringRef::equals in favor of
StringRef::operator==.
- StringRef::operator==/!= outnumber StringRef::equals by a factor of
276 under llvm-project/ in terms of their usage.
- The elimination of StringRef::equals brings StringRef closer to
std::string_view, which has operator== but not equals.
- S == "foo" is more readable than S.equals("foo"), especially for
!Long.Expression.equals("str") vs Long.Expression != "str".
Commit: 1fadb2b0c881ced247931f442fdee6c4ed96dccb
https://github.com/llvm/llvm-project/commit/1fadb2b0c881ced247931f442fdee6c4ed96dccb
Author: Owen Pan <owenpiano at gmail.com>
Date: 2024-05-12 (Sun, 12 May 2024)
Changed paths:
M clang/lib/Format/Format.cpp
M clang/lib/Format/FormatToken.cpp
M clang/lib/Format/FormatToken.h
M clang/lib/Format/FormatTokenLexer.cpp
M clang/lib/Format/QualifierAlignmentFixer.cpp
M clang/lib/Format/QualifierAlignmentFixer.h
M clang/lib/Format/TokenAnalyzer.cpp
M clang/lib/Format/TokenAnalyzer.h
M clang/lib/Format/TokenAnnotator.cpp
M clang/lib/Format/TokenAnnotator.h
M clang/lib/Format/UnwrappedLineParser.cpp
M clang/lib/Format/UnwrappedLineParser.h
M clang/unittests/Format/QualifierFixerTest.cpp
Log Message:
-----------
Revert "[clang-format] Fix FormatToken::isSimpleTypeSpecifier() (#91712)"
This reverts commits e62ce1f8842c, 5cd280433e8e, and de641e289269 due to
buildbot failures.
Commit: b5f4210e9f51f938ae517f219f04f9ab431a2684
https://github.com/llvm/llvm-project/commit/b5f4210e9f51f938ae517f219f04f9ab431a2684
Author: Yingwei Zheng <dtcxzyw2333 at gmail.com>
Date: 2024-05-13 (Mon, 13 May 2024)
Changed paths:
M llvm/lib/Transforms/InstCombine/InstCombineSelect.cpp
M llvm/test/Transforms/InstCombine/bit_ceil.ll
Log Message:
-----------
[InstCombine] Drop nuw flag when CtlzOp is a sub nuw (#91776)
See the following case:
```
define i32 @src1(i32 %x) {
%dec = sub nuw i32 -2, %x
%ctlz = tail call i32 @llvm.ctlz.i32(i32 %dec, i1 false)
%sub = sub nsw i32 32, %ctlz
%shl = shl i32 1, %sub
%ugt = icmp ult i32 %x, -2
%sel = select i1 %ugt, i32 %shl, i32 1
ret i32 %sel
}
define i32 @tgt1(i32 %x) {
%dec = sub nuw i32 -2, %x
%ctlz = tail call i32 @llvm.ctlz.i32(i32 %dec, i1 false)
%sub = sub nsw i32 32, %ctlz
%and = and i32 %sub, 31
%shl = shl nuw i32 1, %and
ret i32 %shl
}
```
`nuw` in `%dec` should be dropped after the select instruction is
eliminated.
Alive2: https://alive2.llvm.org/ce/z/7S9529
Fixes https://github.com/llvm/llvm-project/issues/91691.
Commit: fd4efecac21d92428d2f804f43e85bdfa460bdd5
https://github.com/llvm/llvm-project/commit/fd4efecac21d92428d2f804f43e85bdfa460bdd5
Author: Kai Sasaki <lewuathe at gmail.com>
Date: 2024-05-13 (Mon, 13 May 2024)
Changed paths:
M mlir/test/CAPI/transform_interpreter.c
Log Message:
-----------
[mlir] Fix warning due to non ISO standard __FUNCTION__ usage (#91851)
This PR fixes the warning message due to the non ISO standard usage of
`__FUNCTION__`
```
/home/lewuathe/llvm-project/mlir/test/CAPI/transform_interpreter.c: In function ‘testApplyNamedSequence’:
/home/lewuathe/llvm-project/mlir/test/CAPI/transform_interpreter.c:21:27: warning: ISO C does not support ‘__FUNCTION__’ predefined identifier [-Wpedantic]
21 | fprintf(stderr, "%s\n", __FUNCTION__);
|
```
As `__FUNCTION__` is another name of `__func__` and it conforms to the
specification. We should be able to use `__func__` here.
Ref:
https://stackoverflow.com/questions/52962812/how-to-silence-gcc-pedantic-wpedantic-warning-regarding-function
Compiler
```
Ubuntu clang version 18.1.3 (1)
Target: x86_64-pc-linux-gnu
```
Commit: 5082feabd155a59d7ae0249713def100516b839d
https://github.com/llvm/llvm-project/commit/5082feabd155a59d7ae0249713def100516b839d
Author: Alcaro <floating at muncher.se>
Date: 2024-05-13 (Mon, 13 May 2024)
Changed paths:
M clang/docs/Block-ABI-Apple.rst
Log Message:
-----------
[Documentation][Blocks ABI] Fix typoed integer (#65688)
Fix an integer value in the prose to match the rest of the content.
Commit: 5ca368501ae81ca364f66ee6053aa4f8104fdbdd
https://github.com/llvm/llvm-project/commit/5ca368501ae81ca364f66ee6053aa4f8104fdbdd
Author: Adrian Kuegel <akuegel at google.com>
Date: 2024-05-13 (Mon, 13 May 2024)
Changed paths:
M utils/bazel/llvm-project-overlay/mlir/BUILD.bazel
Log Message:
-----------
[mlir][Bazel] Update BUILD file for 1337622a492f4e77604b09ac8ff97042e46d8d42
Commit: baa5beecc04aef9da258e31e4a9de1a27051ee5a
https://github.com/llvm/llvm-project/commit/baa5beecc04aef9da258e31e4a9de1a27051ee5a
Author: tyb0807 <sontuan.vu119 at gmail.com>
Date: 2024-05-13 (Mon, 13 May 2024)
Changed paths:
M mlir/lib/Bindings/Python/DialectNVGPU.cpp
M mlir/lib/Conversion/VectorToGPU/VectorToGPU.cpp
M mlir/lib/Dialect/MemRef/Transforms/FoldMemRefAliasOps.cpp
M mlir/python/CMakeLists.txt
M mlir/python/mlir/dialects/nvgpu.py
M mlir/test/lib/Dialect/NVGPU/TestNVGPUTransforms.cpp
M mlir/tools/mlir-opt/mlir-opt.cpp
Log Message:
-----------
[NFC] Make NVGPU casing consistent (#91903)
Commit: 0bacffbbfc081b4147ac935512e2c5da9e3c06f0
https://github.com/llvm/llvm-project/commit/0bacffbbfc081b4147ac935512e2c5da9e3c06f0
Author: Andrzej Warzyński <andrzej.warzynski at arm.com>
Date: 2024-05-13 (Mon, 13 May 2024)
Changed paths:
M mlir/lib/Dialect/Vector/Transforms/LowerVectorTranspose.cpp
A mlir/test/Dialect/Vector/CPU/X86/vector-transpose-lowering.mlir
M mlir/test/Dialect/Vector/vector-transpose-lowering.mlir
Log Message:
-----------
[mlir][vector] Update tests/patterns for vector.transpose (#91359)
Pretty much all logic that we have today for lowering vector.transpose
assumes fixed length vectors (it's done via vector.shuffle that don't
support scalable vectors). This patch updates related tests and patterns
to capture and document this limitation more explicitly.
Note that `vector.transpose` is a valid operation in the context of
scalable vectors, but we are yet to implement the missing lowerings.
Summary of changes:
* `@transpose_nx8x2xf32` is renamed as `@transpose_scalabl`e
and moved near other tests using `lowering_strategy = "shuffle_1d"
(to avoid duplicating TD sequences)
* tests specific to X86 (`avx2_lowering_strategy = true`) are moved to
a dedicated file (to separate generic tests from target-specific
tests)
* `@transpose10_nx4xnx1xf32` duplicated `@transpose10_4xnx1xf32` and was
deleted (the latter is renamed as `@transpose10_4x1xf32_scalable` to
match its fixed-width counterpart: `@transpose10_4x1xf32`)
Commit: d182877ba3f5ad93e061f68a9ecce38cb8cec418
https://github.com/llvm/llvm-project/commit/d182877ba3f5ad93e061f68a9ecce38cb8cec418
Author: Haojian Wu <hokein.wu at gmail.com>
Date: 2024-05-13 (Mon, 13 May 2024)
Changed paths:
M clang/lib/Sema/SemaTemplate.cpp
A clang/test/AST/ast-dump-ctad-alias.cpp
M clang/test/SemaCXX/cxx20-ctad-type-alias.cpp
Log Message:
-----------
[clang] CTAD alias: fix the transformation for the require-clause expr (#90961)
In the clang AST, constraint nodes are deliberately not instantiated
unless they are actively being evaluated. Consequently, occurrences of
template parameters in the require-clause expression have a subtle
"depth" difference compared to normal occurrences in places, such as
function parameters. When transforming the require-clause, we must take
this distinction into account.
The existing implementation overlooks this consideration. This patch is
to rewrite the implementation of the require-clause transformation to
address this issue.
Fixes #90177
Commit: 109ede496ecf6de5dabace08d73ec7604b343a6b
https://github.com/llvm/llvm-project/commit/109ede496ecf6de5dabace08d73ec7604b343a6b
Author: David Green <david.green at arm.com>
Date: 2024-05-13 (Mon, 13 May 2024)
Changed paths:
M llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
M llvm/test/CodeGen/AArch64/fcvt_combine.ll
M llvm/test/CodeGen/AArch64/fpclamptosat_vec.ll
M llvm/test/CodeGen/AArch64/fptosi-sat-vector.ll
M llvm/test/CodeGen/AArch64/fptoui-sat-vector.ll
M llvm/test/CodeGen/AArch64/sve-fixed-vector-llrint.ll
M llvm/test/CodeGen/AArch64/sve-fixed-vector-lrint.ll
M llvm/test/CodeGen/AArch64/vector-llrint.ll
M llvm/test/CodeGen/AArch64/vector-lrint.ll
Log Message:
-----------
[AArch64] Extend v2i64 fptosi.sat to v2f64 (#91714)
This helps it produce a single instruction for the saturate, as opposed
to having to scalarize.
Commit: ae2a18d6cbc3328410bdb7e629fdc59766b73e4b
https://github.com/llvm/llvm-project/commit/ae2a18d6cbc3328410bdb7e629fdc59766b73e4b
Author: Adrian Kuegel <akuegel at google.com>
Date: 2024-05-13 (Mon, 13 May 2024)
Changed paths:
M utils/bazel/llvm-project-overlay/mlir/test/BUILD.bazel
Log Message:
-----------
[mlir][Bazel] Adjust BUILD.bazel for eeafc9daa15d2d022bcdd456d4b8bafd23f5f121
Commit: 279a659e9772e48d95ad7d81f6deb00ee31e35e1
https://github.com/llvm/llvm-project/commit/279a659e9772e48d95ad7d81f6deb00ee31e35e1
Author: Corentin Ferry <corentin.ferry at amd.com>
Date: 2024-05-13 (Mon, 13 May 2024)
Changed paths:
M mlir/include/mlir/Dialect/Math/Transforms/Passes.h
M mlir/lib/Dialect/Math/Transforms/ExpandPatterns.cpp
M mlir/test/Dialect/Math/expand-math.mlir
M mlir/test/lib/Dialect/Math/TestExpandMath.cpp
M mlir/test/mlir-cpu-runner/test-expand-math-approx.mlir
Log Message:
-----------
[mlir][math] lower rsqrt to sqrt + fdiv (#91344)
This commit creates an expansion pattern to lower math.rsqrt(x) into
fdiv(1, sqrt(x)).
Commit: d4f5cf267936a082196b0c22fe45c730b24b9fe0
https://github.com/llvm/llvm-project/commit/d4f5cf267936a082196b0c22fe45c730b24b9fe0
Author: Azmat Yusuf <azmatyusuf2022 at gmail.com>
Date: 2024-05-13 (Mon, 13 May 2024)
Changed paths:
M clang/lib/Sema/SemaStmtAttr.cpp
M clang/test/SemaCXX/cxx23-assume.cpp
Log Message:
-----------
[Clang] Added check for unexpanded pack in attribute [[assume]] (#91893)
Added a check for unexpanded parameter pack in attribute [[assume]].
Tested it with expected-error statements from clang fronted.
This fixes #91232.
Commit: 220756f1f92b335cbafdff67c570d096a6925d87
https://github.com/llvm/llvm-project/commit/220756f1f92b335cbafdff67c570d096a6925d87
Author: David Green <david.green at arm.com>
Date: 2024-05-13 (Mon, 13 May 2024)
Changed paths:
M llvm/test/Transforms/Inline/AArch64/binop.ll
Log Message:
-----------
[AArch64][Inline] Regenerate Inline/AArch64/binop.ll test check lines. NFC
Should hopefully help with #91854
Commit: 0fb7546c587198df11714cfc433d4c5552af0888
https://github.com/llvm/llvm-project/commit/0fb7546c587198df11714cfc433d4c5552af0888
Author: Tuan Chuong Goh <chuong.goh at arm.com>
Date: 2024-05-13 (Mon, 13 May 2024)
Changed paths:
M llvm/test/CodeGen/AArch64/icmp.ll
Log Message:
-----------
[AArch64][NFC] Pre-commit Test for Select G_ICMP instruction through TableGen (#89932)
Commit: c6c7afd21edd0d16ebda916ea4939949e4e0fa8e
https://github.com/llvm/llvm-project/commit/c6c7afd21edd0d16ebda916ea4939949e4e0fa8e
Author: Matthias Gehre <matthias.gehre at amd.com>
Date: 2024-05-13 (Mon, 13 May 2024)
Changed paths:
M mlir/test/mlir-cpu-runner/test-expand-math-approx.mlir
Log Message:
-----------
[mlir][math] fix rsqrt test to not check sign of NaN
Hotfix for "[mlir][math] lower rsqrt to sqrt + fdiv (#91344)"
Commit: 61d4ca872215d3dfff0b3c92151dcbdc546a0aab
https://github.com/llvm/llvm-project/commit/61d4ca872215d3dfff0b3c92151dcbdc546a0aab
Author: Daniel Grumberg <dgrumberg at apple.com>
Date: 2024-05-13 (Mon, 13 May 2024)
Changed paths:
M clang/include/clang/ExtractAPI/API.h
M clang/include/clang/ExtractAPI/ExtractAPIVisitor.h
M clang/lib/ExtractAPI/Serialization/SymbolGraphSerializer.cpp
Log Message:
-----------
[clang][ExtractAPI] Distinguish between record kind for display and for RTTI (#91466)
rdar://127732562
Commit: 119aecb955df91173d69c455bba0abd74271c215
https://github.com/llvm/llvm-project/commit/119aecb955df91173d69c455bba0abd74271c215
Author: Victor Campos <victor.campos at arm.com>
Date: 2024-05-13 (Mon, 13 May 2024)
Changed paths:
M llvm/lib/CodeGen/AsmPrinter/DwarfUnit.cpp
M llvm/test/DebugInfo/ARM/bitfield.ll
M llvm/test/DebugInfo/NVPTX/packed_bitfields.ll
M llvm/test/DebugInfo/X86/packed_bitfields.ll
Log Message:
-----------
[DebugInfo] Emit negative DW_AT_bit_offset in explicit signed form (#87994)
Before this patch, the value of DW_AT_bit_offset, used for bitfields
before DWARF version 4, was always emitted as an unsigned integer using
the form DW_FORM_data<n>. If the value was originally a signed integer,
for instance in the case of negative offsets, it was up to debug
information consumers to re-cast it to a signed integer.
This is problematic since the burden of deciding if the value should be
read as signed or unsigned was put onto the debug info consumers: the
DWARF specification doesn't define DW_AT_bit_offset's underlying type.
If a debugger decided to interpret this attribute in the form data<n> as
unsigned, then negative offsets would be completely broken.
The DWARF specification version 3 mentions in the Data Representation
section, page 127:
> If one of the DW_FORM_data<n> forms is used to represent a signed or
unsigned integer, it can be hard for a consumer to discover the context
necessary to determine which interpretation is intended. Producers are
therefore strongly encouraged to use DW_FORM_sdata or DW_FORM_udata for
signed and unsigned integers respectively, rather than DW_FORM_data<n>.
Therefore, the proposal is to use DW_FORM_sdata, which is explicitly
signed. This is an indication to consumers that the offset must be
parsed unambiguously as a signed integer.
Finally, gcc already uses DW_FORM_sdata for negative offsets, fixing the
potential ambiguity altogether.
This patch mimics gcc's behaviour by emitting negative values of
DW_AT_bit_offset using the DW_FORM_sdata form. This eliminates any
potential misinterpretation.
One could argue that all values should use DW_FORM_sdata, but for the
sake of parity with gcc, it is safe to restrict the change to negative
values.
Commit: 3438d8ac1ba58d098ff8d25a814b2c8c22d5844b
https://github.com/llvm/llvm-project/commit/3438d8ac1ba58d098ff8d25a814b2c8c22d5844b
Author: Xing Xue <xingxue at outlook.com>
Date: 2024-05-13 (Mon, 13 May 2024)
Changed paths:
M libcxx/test/std/localization/locale.categories/category.ctype/locale.ctype.byname/widen_1.pass.cpp
M libcxx/test/std/localization/locale.categories/category.ctype/locale.ctype.byname/widen_many.pass.cpp
Log Message:
-----------
[libcxx] [test] Fix the locale ctype widen tests on AIX (#91744)
The C locale on AIX uses `ISO-8859-1`, where `0xFB` is a valid
character. Widening char(-5) succeeds and produces L'\u00fb' the same as
on macOS, FreeBSD, and Windows. This patch removes `XFAIL:
LIBCXX-AIX-FIXME` and uses the macOS, FreeBSD, and WIN32 code path for
AIX.
Commit: 7eeccc1430eeaa434724522945245ba21c97ac57
https://github.com/llvm/llvm-project/commit/7eeccc1430eeaa434724522945245ba21c97ac57
Author: Xing Xue <xingxue at outlook.com>
Date: 2024-05-13 (Mon, 13 May 2024)
Changed paths:
M libcxx/test/std/localization/locale.categories/facet.numpunct/locale.numpunct.byname/grouping.pass.cpp
Log Message:
-----------
[libcxx][test] Fix numpunct grouping tests on AIX (#91781)
The `grouping` string for locale `en_US.UTF-8` and `fr_FR.UTF-8` on AIX
is `3`. This is different from Linux's `3;3` but is the same as Windows.
This patch removes `XFAIL: LIBCXX-AIX-FIXME` and changes to use the
`WIN32` code path.
Commit: fbb37e960616efcf7cd5c1ebbe95f75c65d565dc
https://github.com/llvm/llvm-project/commit/fbb37e960616efcf7cd5c1ebbe95f75c65d565dc
Author: Graham Hunter <graham.hunter at arm.com>
Date: 2024-05-13 (Mon, 13 May 2024)
Changed paths:
M llvm/docs/LangRef.rst
M llvm/include/llvm/Analysis/TargetTransformInfo.h
M llvm/include/llvm/Analysis/TargetTransformInfoImpl.h
M llvm/include/llvm/CodeGen/ISDOpcodes.h
M llvm/include/llvm/CodeGen/SelectionDAG.h
M llvm/include/llvm/CodeGen/SelectionDAGNodes.h
M llvm/include/llvm/IR/Intrinsics.td
M llvm/lib/Analysis/TargetTransformInfo.cpp
M llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
M llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
M llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.h
M llvm/lib/CodeGen/SelectionDAG/SelectionDAGDumper.cpp
M llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
M llvm/lib/Target/AArch64/AArch64ISelLowering.h
M llvm/lib/Transforms/Scalar/ScalarizeMaskedMemIntrin.cpp
A llvm/test/CodeGen/AArch64/neon-scalarize-histogram.ll
A llvm/test/CodeGen/AArch64/sve2-histcnt.ll
Log Message:
-----------
[AArch64] Add an all-in-one histogram intrinsic
Based on discussion from
https://discourse.llvm.org/t/rfc-vectorization-support-for-histogram-count-operations/74788
Current interface is:
llvm.experimental.histogram(<vecty> ptrs, <intty> inc_amount, <vecty> mask)
The integer type used by 'inc_amount' needs to match the type of the buckets in memory.
The intrinsic covers the following operations:
* Gather load
* histogram on the elements of 'ptrs'
* multiply the histogram results by 'inc_amount'
* add the result of the multiply to the values loaded by the gather
* scatter store the results of the add
Supports lowering to histcnt instructions for AArch64 targets, and scalarization for all others at present.
Commit: fcc1baaa99fda4f5633e82f47e8de33c99bbcdd2
https://github.com/llvm/llvm-project/commit/fcc1baaa99fda4f5633e82f47e8de33c99bbcdd2
Author: Jie Fu <jiefu at tencent.com>
Date: 2024-05-13 (Mon, 13 May 2024)
Changed paths:
M llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
Log Message:
-----------
[AArch64] Fix -Wunused-variable in AArch64ISelLowering.cpp (NFC)
llvm-project/llvm/lib/Target/AArch64/AArch64ISelLowering.cpp:27379:19:
error: unused variable 'CID' [-Werror,-Wunused-variable]
ConstantSDNode *CID = cast<ConstantSDNode>(IntID.getNode());
^
1 error generated.
Commit: 0a6103eaeb7f22c009f9add87c84780b6f7f293a
https://github.com/llvm/llvm-project/commit/0a6103eaeb7f22c009f9add87c84780b6f7f293a
Author: Muhammad Omair Javaid <omair.javaid at linaro.org>
Date: 2024-05-13 (Mon, 13 May 2024)
Changed paths:
M lldb/test/Shell/Unwind/Inputs/signal-in-leaf-function-aarch64.c
M lldb/test/Shell/Unwind/signal-in-leaf-function-aarch64.test
Log Message:
-----------
Revert "[lldb] Attempt to fix signal-in-leaf-function-aarch64 on darwin"
This reverts commit b903badd73a2467fdd4e363231f2bf9b0704b546.
TestInterruptBacktrace was broken on AArch64/Windows as a result of this change.
see lldb-aarch64-windows buildbot here:
https://lab.llvm.org/buildbot/#/builders/219/builds/11261
Commit: 4b44502ac81259630b422e791a82e0252e6478c3
https://github.com/llvm/llvm-project/commit/4b44502ac81259630b422e791a82e0252e6478c3
Author: Muhammad Omair Javaid <omair.javaid at linaro.org>
Date: 2024-05-13 (Mon, 13 May 2024)
Changed paths:
M lldb/source/Plugins/Instruction/ARM64/EmulateInstructionARM64.cpp
M lldb/source/Plugins/UnwindAssembly/InstEmulation/UnwindAssemblyInstEmulation.cpp
M lldb/source/Target/RegisterContextUnwind.cpp
R lldb/test/Shell/Unwind/Inputs/signal-in-leaf-function-aarch64.c
R lldb/test/Shell/Unwind/signal-in-leaf-function-aarch64.test
M lldb/unittests/UnwindAssembly/ARM64/TestArm64InstEmulation.cpp
Log Message:
-----------
Revert "[lldb/aarch64] Fix unwinding when signal interrupts a leaf function (#91321)"
This reverts commit fd1bd53ba5a06f344698a55578f6a5d79c457e30.
TestInterruptBacktrace was broken on AArch64/Windows as a result of this change.
See lldb-aarch64-windows buildbot here:
https://lab.llvm.org/buildbot/#/builders/219/builds/11261
Commit: 99934daa9b795278b8cc168fad430e09473b4992
https://github.com/llvm/llvm-project/commit/99934daa9b795278b8cc168fad430e09473b4992
Author: Yingwei Zheng <dtcxzyw2333 at gmail.com>
Date: 2024-05-13 (Mon, 13 May 2024)
Changed paths:
M llvm/include/llvm/ADT/APInt.h
M llvm/unittests/ADT/APIntTest.cpp
Log Message:
-----------
[ADT] Introduce `APInt::clearHighBits` (#91938)
This patch addresses
https://github.com/llvm/llvm-project/pull/90034#discussion_r1579235844.
Commit: efe91cf78bccda90637c817e3e592b5f34e891d0
https://github.com/llvm/llvm-project/commit/efe91cf78bccda90637c817e3e592b5f34e891d0
Author: Rajveer Singh Bharadwaj <rajveer.developer at icloud.com>
Date: 2024-05-13 (Mon, 13 May 2024)
Changed paths:
M clang/lib/StaticAnalyzer/Checkers/DereferenceChecker.cpp
M clang/lib/StaticAnalyzer/Core/BugReporterVisitors.cpp
M clang/test/Analysis/gh-issue-89185.c
Log Message:
-----------
[clang][analyzer] Check for label location bindings in `DereferenceChecker` (#91119)
Resolves #89264
Values should not be stored in addresses of labels, this throws a fatal
error when this happens.
---------
Co-authored-by: Balazs Benics <benicsbalazs at gmail.com>
Commit: 345f57df16af7e4fac3a321035e504b5d49206f4
https://github.com/llvm/llvm-project/commit/345f57df16af7e4fac3a321035e504b5d49206f4
Author: Ivan Butygin <ivan.butygin at gmail.com>
Date: 2024-05-13 (Mon, 13 May 2024)
Changed paths:
M mlir/lib/Dialect/Arith/IR/ArithCanonicalization.td
M mlir/lib/Dialect/Arith/IR/ArithOps.cpp
M mlir/test/Dialect/Arith/canonicalize.mlir
Log Message:
-----------
[mlir][arith] Overflow flags propagation in arith canonicalizations. (#91646)
Commit: c5b0da9d83971d94d3b26105b1e42d3a3826ef1e
https://github.com/llvm/llvm-project/commit/c5b0da9d83971d94d3b26105b1e42d3a3826ef1e
Author: Matt Arsenault <Matthew.Arsenault at amd.com>
Date: 2024-05-13 (Mon, 13 May 2024)
Changed paths:
M llvm/lib/Transforms/InstCombine/InstCombineLoadStoreAlloca.cpp
M llvm/test/Transforms/InstCombine/AMDGPU/memcpy-from-constant.ll
M llvm/test/Transforms/InstCombine/memcpy-addrspace.ll
Log Message:
-----------
InstCombine: Preserve inbounds in PointerReplacer (#91735)
This avoids spurious test changes in a future commit.
Commit: 91d7ca904c601d181c431bffbf2773165de2fabd
https://github.com/llvm/llvm-project/commit/91d7ca904c601d181c431bffbf2773165de2fabd
Author: Orlando Cazalet-Hyams <orlando.hyams at sony.com>
Date: 2024-05-13 (Mon, 13 May 2024)
Changed paths:
M llvm/include/llvm/IR/DebugInfo.h
M llvm/lib/IR/DebugInfo.cpp
M llvm/lib/Transforms/Utils/CodeExtractor.cpp
M llvm/lib/Transforms/Utils/InlineFunction.cpp
A llvm/test/DebugInfo/assignment-tracking/X86/hotcoldsplit.ll
Log Message:
-----------
[DebugInfo] Remap extracted DIAssignIDs in hotcoldsplit (#91940)
Fix #91814
When instructions are extracted into a new function the `DIAssignID` metadata
uses and attachments need to be remapped so that the stores and assignment
markers don't link to stores and assignment markers in the original function.
This matches existing inlining behaviour for DIAssignIDs.
Commit: 32939a16bcb084c2572f201ee42613413784cf7e
https://github.com/llvm/llvm-project/commit/32939a16bcb084c2572f201ee42613413784cf7e
Author: Joseph Huber <huberjn at outlook.com>
Date: 2024-05-13 (Mon, 13 May 2024)
Changed paths:
M offload/src/CMakeLists.txt
Log Message:
-----------
[Offload][NFC] Remove unused compiler definition from CMake
Commit: bc17361c2baa0351f7f19b716fbe76bc9f99e903
https://github.com/llvm/llvm-project/commit/bc17361c2baa0351f7f19b716fbe76bc9f99e903
Author: Muhammad Omair Javaid <omair.javaid at linaro.org>
Date: 2024-05-13 (Mon, 13 May 2024)
Changed paths:
M lldb/test/Shell/SymbolFile/DWARF/delayed-definition-die-searching.test
Log Message:
-----------
[lldb][DWARF] Fix delayed-definition-die-searching.test for Windows
This is follow up fix on top of 9a7262c2601874e5aa64c5db19746770212d4b44
This fixes delayed-definition-die-searching.test to use -gdwarf. This is
required to explicitly select DWARF instead of PDB on windows.
Fixe LLDB build lldb-aarch64-windows:
https://lab.llvm.org/buildbot/#/builders/219/builds/11303
Commit: 710d95d1ecb4b6d69507cb910274ef3077ddc9c9
https://github.com/llvm/llvm-project/commit/710d95d1ecb4b6d69507cb910274ef3077ddc9c9
Author: Dmitry Vasilyev <dvassiliev at accesssoftek.com>
Date: 2024-05-13 (Mon, 13 May 2024)
Changed paths:
M lldb/test/API/commands/settings/TestSettings.py
Log Message:
-----------
[lldb] Fixed the test TestSettings when run with a remote target (#91915)
The setting `platform.module-cache-directory` is a local path on the
host. It cannot be set to a working directory from the remote target.
This test failed in case of Windows host and Linux target because of the
incompatible path. Use the local build dir instead.
Commit: 7ce3dd49eb80816e3af52022ba2521b28a068c7b
https://github.com/llvm/llvm-project/commit/7ce3dd49eb80816e3af52022ba2521b28a068c7b
Author: Dmitry Vasilyev <dvassiliev at accesssoftek.com>
Date: 2024-05-13 (Mon, 13 May 2024)
Changed paths:
M lldb/test/API/commands/settings/quoting/TestQuoting.py
Log Message:
-----------
[lldb] Fixed the test TestQuoting (#91886)
os.path.join() uses the path separator of the host OS by default.
outfile_arg will be incorrect in case of Windows host and Linux target.
Use lldbutil.append_to_process_working_directory() instead.
Commit: 4ff45eee36f003cda18a3654df4086e69dc245b5
https://github.com/llvm/llvm-project/commit/4ff45eee36f003cda18a3654df4086e69dc245b5
Author: Pierre van Houtryve <pierre.vanhoutryve at amd.com>
Date: 2024-05-13 (Mon, 13 May 2024)
Changed paths:
M llvm/lib/CodeGen/GlobalISel/GISelKnownBits.cpp
Log Message:
-----------
[GlobalISel][KnownBits] Simplify G_CONSTANT handling (#91946)
We called getIConstantVRegVal which again queried MRI to get the VReg
def. We already have the def, so just get the CImm directly. It can't
fail.
Commit: 8823abea6fb029bf24abd501e43844e3f5b9c444
https://github.com/llvm/llvm-project/commit/8823abea6fb029bf24abd501e43844e3f5b9c444
Author: Matt Arsenault <Matthew.Arsenault at amd.com>
Date: 2024-05-13 (Mon, 13 May 2024)
Changed paths:
M llvm/lib/Transforms/InstCombine/InstCombineLoadStoreAlloca.cpp
Log Message:
-----------
InstCombine: Simplify vector initialization
Commit: 3f0e1d4cf09b0c90abfb1d06a26cc4c85c1f9568
https://github.com/llvm/llvm-project/commit/3f0e1d4cf09b0c90abfb1d06a26cc4c85c1f9568
Author: Florian Hahn <flo at fhahn.com>
Date: 2024-05-13 (Mon, 13 May 2024)
Changed paths:
M llvm/lib/Analysis/ScalarEvolution.cpp
Log Message:
-----------
[SCEV] Swap order of arguments to MatchBinaryAddToConst (NFCI). (#91945)
The argument order to MatchBinaryAddToConst doesn't match the comment
and also is counter-intuitive (passing RHS before LHS, C2 before C1).
This patch adjusts the order to be inline with the calls above, which
should be equivalent, but more natural:
https://alive2.llvm.org/ce/z/ZWGp-Z
PR: https://github.com/llvm/llvm-project/pull/91945
Commit: 19a62fbe00930d7eaa9f948c8dd26d58f5422c00
https://github.com/llvm/llvm-project/commit/19a62fbe00930d7eaa9f948c8dd26d58f5422c00
Author: Oleg Shyshkov <shyshkov at google.com>
Date: 2024-05-13 (Mon, 13 May 2024)
Changed paths:
M mlir/lib/Target/LLVMIR/Dialect/OpenMP/OpenMPToLLVMIRTranslation.cpp
Log Message:
-----------
[OpenMP][MLIR] Fix llvm::sort comparator. (#91947)
llvm::sort requires the comparator to return `false` for equal elements,
otherwise it triggers `Your comparator is not a valid strict-weak
ordering` assert.
Commit: 5e9401c2c21efcd55aae42d0b3d68034d344b08d
https://github.com/llvm/llvm-project/commit/5e9401c2c21efcd55aae42d0b3d68034d344b08d
Author: Chris Warner <73851242+cwarner-8702 at users.noreply.github.com>
Date: 2024-05-13 (Mon, 13 May 2024)
Changed paths:
M clang-tools-extra/clang-query/Query.cpp
M clang-tools-extra/clang-query/Query.h
M clang-tools-extra/clang-query/QueryParser.cpp
M clang-tools-extra/clang-query/tool/ClangQuery.cpp
M clang-tools-extra/docs/ReleaseNotes.rst
A clang-tools-extra/test/clang-query/Inputs/empty.script
A clang-tools-extra/test/clang-query/Inputs/file.script
A clang-tools-extra/test/clang-query/Inputs/runtime_file.script
M clang-tools-extra/test/clang-query/errors.c
A clang-tools-extra/test/clang-query/file-empty.c
A clang-tools-extra/test/clang-query/file-query.c
M clang-tools-extra/unittests/clang-query/QueryParserTest.cpp
Log Message:
-----------
[clang-query] Load queries and matchers from file during REPL cycle (#90603)
The clang-query tool has the ability to execute or pre-load queries from
a file when the tool is launched, but doesn't have the ability to do the
same from the interactive REPL prompt. Because the prompt also doesn't
seem to allow multi-line matchers, this can make prototyping and
iterating on more complicated matchers difficult.
Supporting a dynamic load at REPL time allows the cost of reading the
compilation database and building the AST to be imposed just once, and
allows faster prototyping.
Commit: e76b257483e6c6743de0fa6eca4d0cc60e08385d
https://github.com/llvm/llvm-project/commit/e76b257483e6c6743de0fa6eca4d0cc60e08385d
Author: Michael Kruse <llvm-project at meinersbur.de>
Date: 2024-05-13 (Mon, 13 May 2024)
Changed paths:
M clang/lib/Sema/SemaOpenMP.cpp
Log Message:
-----------
[Clang][OpenMP][Tile] Ensure AST node uniqueness. (#91325)
One of the constraints of an AST is that every node object must appear
at most once, hence we define lamdas that create a new AST node at every
use.
Commit: 061db17a3075e34c55ebd463d06e16771e398e04
https://github.com/llvm/llvm-project/commit/061db17a3075e34c55ebd463d06e16771e398e04
Author: Simon Pilgrim <llvm-dev at redking.me.uk>
Date: 2024-05-13 (Mon, 13 May 2024)
Changed paths:
M llvm/lib/CodeGen/AsmPrinter/DwarfUnit.cpp
Log Message:
-----------
Fix MSVC "signed/unsigned mismatch" warning. NFC.
Commit: 1a4b113a41266b94fe217e5fe90d91db15d2356b
https://github.com/llvm/llvm-project/commit/1a4b113a41266b94fe217e5fe90d91db15d2356b
Author: Simon Pilgrim <llvm-dev at redking.me.uk>
Date: 2024-05-13 (Mon, 13 May 2024)
Changed paths:
M llvm/lib/Target/X86/X86TargetTransformInfo.cpp
Log Message:
-----------
[CostModel][X86] getCastInstrCost - update cost tables to support CostKinds
Add TypeConversionCostKindTblEntry to hold the costs kinds and update the cast tables to take the existing default codesize/latency/sizelatency values (I'll update these values in future commits).
I've moved AdjustCost to the end of the function to ensure we don't accidentally use it, apart from when we fallback to default cost calculations.
Commit: f0590581aa01944a3bb502a622a412617d1efcbb
https://github.com/llvm/llvm-project/commit/f0590581aa01944a3bb502a622a412617d1efcbb
Author: Michael Kruse <llvm-project at meinersbur.de>
Date: 2024-05-13 (Mon, 13 May 2024)
Changed paths:
M clang/lib/Sema/SemaOpenMP.cpp
Log Message:
-----------
[Clang][OpenMP] Fix unused lambda capture warning.
Commit: ca1bd5995f6ed934f9187305190a5abfac049173
https://github.com/llvm/llvm-project/commit/ca1bd5995f6ed934f9187305190a5abfac049173
Author: Krzysztof Parzyszek <Krzysztof.Parzyszek at amd.com>
Date: 2024-05-13 (Mon, 13 May 2024)
Changed paths:
M flang/lib/Lower/CMakeLists.txt
M flang/lib/Lower/OpenMP/Clauses.cpp
M flang/lib/Lower/OpenMP/Clauses.h
A flang/lib/Lower/OpenMP/Decomposer.cpp
A flang/lib/Lower/OpenMP/Decomposer.h
M flang/lib/Lower/OpenMP/OpenMP.cpp
M flang/lib/Lower/OpenMP/Utils.cpp
M flang/lib/Lower/OpenMP/Utils.h
M flang/test/Lower/OpenMP/default-clause-byref.f90
M flang/test/Lower/OpenMP/default-clause.f90
M flang/test/Lower/OpenMP/parallel-lastprivate-clause-scalar.f90
M llvm/include/llvm/Frontend/OpenMP/ClauseT.h
A llvm/include/llvm/Frontend/OpenMP/ConstructCompositionT.h
A llvm/include/llvm/Frontend/OpenMP/ConstructDecompositionT.h
M llvm/unittests/Frontend/CMakeLists.txt
A llvm/unittests/Frontend/OpenMPDecompositionTest.cpp
Log Message:
-----------
[flang][OpenMP] Decompose compound constructs, do recursive lowering (#90098)
A compound construct with a list of clauses is broken up into individual
leaf/composite constructs. Each such construct has the list of clauses
that apply to it based on the OpenMP spec.
Each lowering function (i.e. a function that generates MLIR ops) is now
responsible for generating its body as described below.
Functions that receive AST nodes extract the construct, and the clauses
from the node. They then create a work queue consisting of individual
constructs, and invoke a common dispatch function to process (lower) the
queue.
The dispatch function examines the current position in the queue, and
invokes the appropriate lowering function. Each lowering function
receives the queue as well, and once it needs to generate its body, it
either invokes the dispatch function on the rest of the queue (if any),
or processes nested evaluations if the work queue is at the end.
Commit: d2676a73336b83607565fb2e4ce61bd67d732b09
https://github.com/llvm/llvm-project/commit/d2676a73336b83607565fb2e4ce61bd67d732b09
Author: Hendrik Hübner <117831077+HendrikHuebner at users.noreply.github.com>
Date: 2024-05-13 (Mon, 13 May 2024)
Changed paths:
M libc/config/linux/x86_64/entrypoints.txt
M libc/include/pthread.h.def
M libc/spec/posix.td
M libc/src/pthread/CMakeLists.txt
A libc/src/pthread/pthread_rwlockattr_getkind_np.cpp
A libc/src/pthread/pthread_rwlockattr_getkind_np.h
M libc/src/pthread/pthread_rwlockattr_init.cpp
A libc/src/pthread/pthread_rwlockattr_setkind_np.cpp
A libc/src/pthread/pthread_rwlockattr_setkind_np.h
M libc/test/src/pthread/CMakeLists.txt
M libc/test/src/pthread/pthread_rwlockattr_test.cpp
Log Message:
-----------
[libc][POSIX][pthreads] implemented missing pthread_rwlockattr functions (#90249)
Closes #89443
I added the two missing functions and respective test cases. Let me know
if anything needs changing.
Commit: 29a986bc0972c7d2deb85f8789ea3183c8ca06ca
https://github.com/llvm/llvm-project/commit/29a986bc0972c7d2deb85f8789ea3183c8ca06ca
Author: Matthias Gehre <matthias.gehre at amd.com>
Date: 2024-05-13 (Mon, 13 May 2024)
Changed paths:
M .github/new-prs-labeler.yml
Log Message:
-----------
new-prs-labeler.yml: Include conversion passes of TOSA/emitc (#91921)
Commit: 27595c4befbbf42891ef7e13fe28926eb7fc825d
https://github.com/llvm/llvm-project/commit/27595c4befbbf42891ef7e13fe28926eb7fc825d
Author: Schrodinger ZHU Yifan <yifanzhu at rochester.edu>
Date: 2024-05-13 (Mon, 13 May 2024)
Changed paths:
M libc/config/linux/x86_64/entrypoints.txt
M libc/include/pthread.h.def
M libc/spec/posix.td
M libc/src/pthread/CMakeLists.txt
R libc/src/pthread/pthread_rwlockattr_getkind_np.cpp
R libc/src/pthread/pthread_rwlockattr_getkind_np.h
M libc/src/pthread/pthread_rwlockattr_init.cpp
R libc/src/pthread/pthread_rwlockattr_setkind_np.cpp
R libc/src/pthread/pthread_rwlockattr_setkind_np.h
M libc/test/src/pthread/CMakeLists.txt
M libc/test/src/pthread/pthread_rwlockattr_test.cpp
Log Message:
-----------
Revert "[libc][POSIX][pthreads] implemented missing pthread_rwlockattr functions" (#91966)
Reverts llvm/llvm-project#90249
Fullbuild is broken:
https://lab.llvm.org/buildbot/#/builders/163/builds/56501
Commit: 25a3ba33153e99c4614d404ba18b761d652e24de
https://github.com/llvm/llvm-project/commit/25a3ba33153e99c4614d404ba18b761d652e24de
Author: Krzysztof Parzyszek <Krzysztof.Parzyszek at amd.com>
Date: 2024-05-13 (Mon, 13 May 2024)
Changed paths:
M flang/lib/Lower/CMakeLists.txt
M flang/lib/Lower/OpenMP/Clauses.cpp
M flang/lib/Lower/OpenMP/Clauses.h
R flang/lib/Lower/OpenMP/Decomposer.cpp
R flang/lib/Lower/OpenMP/Decomposer.h
M flang/lib/Lower/OpenMP/OpenMP.cpp
M flang/lib/Lower/OpenMP/Utils.cpp
M flang/lib/Lower/OpenMP/Utils.h
M flang/test/Lower/OpenMP/default-clause-byref.f90
M flang/test/Lower/OpenMP/default-clause.f90
M flang/test/Lower/OpenMP/parallel-lastprivate-clause-scalar.f90
M llvm/include/llvm/Frontend/OpenMP/ClauseT.h
R llvm/include/llvm/Frontend/OpenMP/ConstructCompositionT.h
R llvm/include/llvm/Frontend/OpenMP/ConstructDecompositionT.h
M llvm/unittests/Frontend/CMakeLists.txt
R llvm/unittests/Frontend/OpenMPDecompositionTest.cpp
Log Message:
-----------
Revert "[flang][OpenMP] Decompose compound constructs, do recursive lowering (#90098)"
It breaks some builds, e.g.
https://lab.llvm.org/buildbot/#/builders/268/builds/13909
This reverts commit ca1bd5995f6ed934f9187305190a5abfac049173.
Commit: 1a25b723628e439d62dfb28ca5fa52e4b2a78e5a
https://github.com/llvm/llvm-project/commit/1a25b723628e439d62dfb28ca5fa52e4b2a78e5a
Author: Dmitry Vasilyev <dvassiliev at accesssoftek.com>
Date: 2024-05-13 (Mon, 13 May 2024)
Changed paths:
M lldb/test/API/commands/platform/process/launch/TestPlatformProcessLaunch.py
Log Message:
-----------
[lldb] Fixed the test TestPlatformProcessLaunch running on a remote target (#91923)
Transfer `stdio.log` from the remote target if necessary.
Commit: 13cd88108f00fc97bcd1e4eb7cc9e4e388928677
https://github.com/llvm/llvm-project/commit/13cd88108f00fc97bcd1e4eb7cc9e4e388928677
Author: Pranav Bhandarkar <pranav.bhandarkar at amd.com>
Date: 2024-05-13 (Mon, 13 May 2024)
Changed paths:
M llvm/lib/Frontend/OpenMP/OMPIRBuilder.cpp
A mlir/test/Target/LLVMIR/omptask_if_false.mlir
Log Message:
-----------
[mlir][OpenMP] - Honor dependencies in code-generation of the if clause in `omp.task` correctly (#90891)
This patch fixes the code generation of the if clause, specifically when the
condition evaluates to false and when the task directive has the depend
clause on it. When the if clause of a task construct evaluates to false,
then the task is an undeferred task. This undeferred task still has to
honor dependencies. Previously, the OpenMPIRbuilder didn't honor
dependencies. This patch fixes that.
Fixes https://github.com/llvm/llvm-project/issues/90869
Commit: 4445ed4244cd00981a04b1f461128ed4c47c1dec
https://github.com/llvm/llvm-project/commit/4445ed4244cd00981a04b1f461128ed4c47c1dec
Author: Oleg Shyshkov <shyshkov at google.com>
Date: 2024-05-13 (Mon, 13 May 2024)
Changed paths:
M mlir/lib/Target/LLVMIR/Dialect/OpenMP/OpenMPToLLVMIRTranslation.cpp
Log Message:
-----------
[OpenMP][MLIR] Fix llvm::sort comparator. (#91963)
The current comparator doesn't work correctly when two identical entries
with -1 are compared. The comparator returns `first` is case when
`aIndex == -1 && bIndex == -1`, but it should `continue` as those
indexes are the same.
Commit: c4e9e41199127bb288e84e9477da99f28941edb3
https://github.com/llvm/llvm-project/commit/c4e9e41199127bb288e84e9477da99f28941edb3
Author: cor3ntin <corentinjabot at gmail.com>
Date: 2024-05-13 (Mon, 13 May 2024)
Changed paths:
M clang/docs/ReleaseNotes.rst
M clang/lib/Sema/TreeTransform.h
M clang/test/SemaCXX/cxx2b-consteval-propagate.cpp
Log Message:
-----------
[Clang] Ensure ``if consteval`` consititute an immediate function context (#91939)
We did not set the correct evaluation context for the compound statement
of an ``if consteval`` statement
in a templated entity in TreeTransform.
Fixes #91509
Commit: b0b6c16b470a7d5d9c63765058cca0ebe07ad57d
https://github.com/llvm/llvm-project/commit/b0b6c16b470a7d5d9c63765058cca0ebe07ad57d
Author: Michael Kruse <llvm-project at meinersbur.de>
Date: 2024-05-13 (Mon, 13 May 2024)
Changed paths:
M clang/include/clang/Parse/Parser.h
M clang/lib/Parse/ParseOpenMP.cpp
M clang/lib/Sema/SemaOpenMP.cpp
M clang/test/OpenMP/tile_ast_print.cpp
M clang/test/OpenMP/tile_codegen.cpp
M clang/test/OpenMP/tile_messages.cpp
A openmp/runtime/test/transform/tile/intfor.c
A openmp/runtime/test/transform/tile/negtile_intfor.c
A openmp/runtime/test/transform/tile/parallel-wsloop-collapse-intfor.cpp
Log Message:
-----------
[Clang][OpenMP][Tile] Allow non-constant tile sizes. (#91345)
Allow non-constants in the `sizes` clause such as
```
#pragma omp tile sizes(a)
for (int i = 0; i < n; ++i)
```
This is permitted since tile was introduced in [OpenMP
5.1](https://www.openmp.org/spec-html/5.1/openmpsu53.html#x78-860002.11.9).
It is possible to sneak-in negative numbers at runtime as in
```
int a = -1;
#pragma omp tile sizes(a)
```
Even though it is not well-formed, it should still result in every loop
iteration to be executed exactly once, an invariant of the tile
construct that we should ensure. `ParseOpenMPExprListClause` is
extracted-out to be reused by the `permutation` clause of the
`interchange` construct. Some care was put into ensuring correct behavior
in template contexts.
Commit: 69e13125af2511abd59499272c88fcb6f19b9300
https://github.com/llvm/llvm-project/commit/69e13125af2511abd59499272c88fcb6f19b9300
Author: chuongg3 <chuong.goh at arm.com>
Date: 2024-05-13 (Mon, 13 May 2024)
Changed paths:
M llvm/lib/Target/AArch64/AArch64InstrInfo.td
M llvm/lib/Target/AArch64/GISel/AArch64InstructionSelector.cpp
M llvm/lib/Target/AArch64/GISel/AArch64LegalizerInfo.cpp
M llvm/lib/Target/AArch64/GISel/AArch64LegalizerInfo.h
M llvm/test/CodeGen/AArch64/GlobalISel/select-cmp.mir
M llvm/test/CodeGen/AArch64/GlobalISel/select-vector-icmp.mir
Log Message:
-----------
[AArch64][GlobalISel] Select G_ICMP instruction through TableGen (#89932)
G_ICMP NE => XOR(G_ICMP EQ, -1) moved to Legalizer to allow for combines
if they come up in following passes.
Commit: ca051dfe9f0996e7fdad8fde5817e5b6ce758ab9
https://github.com/llvm/llvm-project/commit/ca051dfe9f0996e7fdad8fde5817e5b6ce758ab9
Author: Ivan Butygin <ivan.butygin at gmail.com>
Date: 2024-05-13 (Mon, 13 May 2024)
Changed paths:
A mlir/utils/verify-canon/verify_canon.py
Log Message:
-----------
[mlir][utils] Add script to verify canonicalizations against Alive2 (#91867)
This script takes IR before and after canonicalization, translates it
into llvm IR and converts it to format suitable for Alive2
https://alive2.llvm.org/ce/
This is primarily for arith canonicalizations verification, but
technically it can be adapted for any dialect translatable to llvm.
Usage `python verify_canon.py canonicalize.mlir -f func1 func2 ...`
Example output: https://alive2.llvm.org/ce/z/KhQs4J
Initial discussion:
https://github.com/llvm/llvm-project/pull/91646#pullrequestreview-2049342826
Commit: 96ebed7c7481bb143c9d3db5f4c128bb32545229
https://github.com/llvm/llvm-project/commit/96ebed7c7481bb143c9d3db5f4c128bb32545229
Author: JOSTAR <52376093+shenjunjiekoda at users.noreply.github.com>
Date: 2024-05-13 (Mon, 13 May 2024)
Changed paths:
M clang/include/clang/StaticAnalyzer/Core/AnalyzerOptions.def
Log Message:
-----------
[analyzer][NFC] Move `CTUPhase1InliningMode` option to String analyzer options category (#91932)
The `CTUPhase1InliningMode`option was originally placed under Unsigned
analyzer options, but its value is a string.
This move aligns the option with its actual type.
Commit: 3acc6919109d91c1f047a02229a1785b461259d9
https://github.com/llvm/llvm-project/commit/3acc6919109d91c1f047a02229a1785b461259d9
Author: jyu2-git <jennifer.yu at intel.com>
Date: 2024-05-13 (Mon, 13 May 2024)
Changed paths:
M clang/include/clang/Basic/DiagnosticParseKinds.td
M clang/lib/Parse/ParseOpenMP.cpp
M clang/test/OpenMP/target_ast_print.cpp
M clang/test/OpenMP/target_map_messages.cpp
Log Message:
-----------
Revert "Revert "[OpenMP][TR12] change property of map-type modifier."… (#91821)
… (#90885)"
This reverts commit eea81aa29848361eb5b24f24d2af643fdeb9adfd.
Commit: 8b7f178091b70d264c13b1f83b58e6c9dfe81c1b
https://github.com/llvm/llvm-project/commit/8b7f178091b70d264c13b1f83b58e6c9dfe81c1b
Author: madanial0 <118996571+madanial0 at users.noreply.github.com>
Date: 2024-05-13 (Mon, 13 May 2024)
Changed paths:
M flang/test/Evaluate/rewrite-out_of_range.F90
Log Message:
-----------
[flang] Fix Failing rewrite-out_of_range testcase to only check for real 10 on supported platforms (#91629)
The real 10 tests fail on `AIX` on `PPC`, only check them on `x86_64`
Co-authored-by: Mark Danial <mark.danial at ibm.com>
Commit: d8197728145137e2aa00f3b2ed69914f48851d09
https://github.com/llvm/llvm-project/commit/d8197728145137e2aa00f3b2ed69914f48851d09
Author: Tuan Chuong Goh <chuong.goh at arm.com>
Date: 2024-05-13 (Mon, 13 May 2024)
Changed paths:
M llvm/test/CodeGen/AArch64/icmp.ll
Log Message:
-----------
[AArch64][NFC] Pre-commit tests for Select G_ICMP Zero Instruction (#90054)
Commit: c4a9a374749deb5f2a932a7d4ef9321be1b2ae5d
https://github.com/llvm/llvm-project/commit/c4a9a374749deb5f2a932a7d4ef9321be1b2ae5d
Author: erichkeane <ekeane at nvidia.com>
Date: 2024-05-13 (Mon, 13 May 2024)
Changed paths:
M clang/include/clang/AST/OpenACCClause.h
M clang/include/clang/Basic/DiagnosticSemaKinds.td
M clang/include/clang/Basic/OpenACCClauses.def
M clang/include/clang/Parse/Parser.h
M clang/include/clang/Sema/SemaOpenACC.h
M clang/lib/AST/OpenACCClause.cpp
M clang/lib/AST/StmtProfile.cpp
M clang/lib/AST/TextNodeDumper.cpp
M clang/lib/Parse/ParseOpenACC.cpp
M clang/lib/Sema/SemaOpenACC.cpp
M clang/lib/Sema/TreeTransform.h
M clang/lib/Serialization/ASTReader.cpp
M clang/lib/Serialization/ASTWriter.cpp
M clang/test/AST/ast-print-openacc-compute-construct.cpp
M clang/test/ParserOpenACC/parse-clauses.c
A clang/test/SemaOpenACC/compute-construct-device_type-ast.cpp
A clang/test/SemaOpenACC/compute-construct-device_type-clause.c
A clang/test/SemaOpenACC/compute-construct-device_type-clause.cpp
M clang/tools/libclang/CIndex.cpp
Log Message:
-----------
[OpenACC] device_type clause Sema for Compute constructs
device_type, also spelled as dtype, specifies the applicability of the
clauses following it, and takes a series of identifiers representing the
architectures it applies to. As we don't have a source for the valid
architectures yet, this patch just accepts all.
Semantically, this also limits the list of clauses that can be applied
after the device_type, so this implements that as well.
Commit: 67c18721eb2170a6cd7af461e16d994b1b83363a
https://github.com/llvm/llvm-project/commit/67c18721eb2170a6cd7af461e16d994b1b83363a
Author: Timm Bäder <tbaeder at redhat.com>
Date: 2024-05-13 (Mon, 13 May 2024)
Changed paths:
M clang/lib/AST/Interp/ByteCodeExprGen.cpp
Log Message:
-----------
[clang][Interp] Return false from visitExpr() if allocateLocal failed
Commit: 2bd97ba390f9137f26eaf770a90c5f1cb72acbdb
https://github.com/llvm/llvm-project/commit/2bd97ba390f9137f26eaf770a90c5f1cb72acbdb
Author: Simon Pilgrim <llvm-dev at redking.me.uk>
Date: 2024-05-13 (Mon, 13 May 2024)
Changed paths:
M llvm/lib/Target/X86/X86ISelLowering.cpp
Log Message:
-----------
[X86] LowerGlobalOrExternal - cleanup SDLoc. NFC.
Don't create a new local SDLoc and then take a reference to it, just create the SDLoc directly.
Commit: b4393c7d7ea538e92428c7769de590615509f8b4
https://github.com/llvm/llvm-project/commit/b4393c7d7ea538e92428c7769de590615509f8b4
Author: Simon Pilgrim <llvm-dev at redking.me.uk>
Date: 2024-05-13 (Mon, 13 May 2024)
Changed paths:
M llvm/lib/Target/X86/X86ISelLowering.cpp
Log Message:
-----------
[X86] FP_TO_INTHelper - remove duplicate SDLoc. NFC.
Commit: b5da0cd68287fa613052a3d3164f2e9de35bedd3
https://github.com/llvm/llvm-project/commit/b5da0cd68287fa613052a3d3164f2e9de35bedd3
Author: Simon Pilgrim <llvm-dev at redking.me.uk>
Date: 2024-05-13 (Mon, 13 May 2024)
Changed paths:
M llvm/lib/Target/X86/X86ISelLowering.cpp
Log Message:
-----------
[X86] LowerTruncateVecI1 - reuse existing SDLoc. NFC.
Commit: 0cc60235d178ebe18db14b9731aa01c24abd1c66
https://github.com/llvm/llvm-project/commit/0cc60235d178ebe18db14b9731aa01c24abd1c66
Author: Simon Pilgrim <llvm-dev at redking.me.uk>
Date: 2024-05-13 (Mon, 13 May 2024)
Changed paths:
M llvm/lib/Target/X86/X86ISelLowering.cpp
Log Message:
-----------
[X86] LowerFP_TO_INT - remove duplicate SDLoc. NFC.
Commit: b7e4a8a08ecf73d2b34dca1b71d08d622da58bdc
https://github.com/llvm/llvm-project/commit/b7e4a8a08ecf73d2b34dca1b71d08d622da58bdc
Author: Simon Pilgrim <llvm-dev at redking.me.uk>
Date: 2024-05-13 (Mon, 13 May 2024)
Changed paths:
M llvm/lib/Target/X86/X86ISelLowering.cpp
Log Message:
-----------
[X86] LowerIntVSETCC_AVX512 - reuse existing SDLoc. NFC.
Commit: 999fb097102f75feac1601c061b8bdf0a4cf6112
https://github.com/llvm/llvm-project/commit/999fb097102f75feac1601c061b8bdf0a4cf6112
Author: LLVM GN Syncbot <llvmgnsyncbot at gmail.com>
Date: 2024-05-13 (Mon, 13 May 2024)
Changed paths:
M llvm/utils/gn/secondary/libcxx/include/BUILD.gn
Log Message:
-----------
[gn build] Port 05cc2d5fe10c
Commit: 9f858c7b79f9edff082050b930fee347887f8e6d
https://github.com/llvm/llvm-project/commit/9f858c7b79f9edff082050b930fee347887f8e6d
Author: Andrzej Warzyński <andrzej.warzynski at arm.com>
Date: 2024-05-13 (Mon, 13 May 2024)
Changed paths:
M mlir/test/Dialect/Vector/vector-transfer-permutation-lowering.mlir
Log Message:
-----------
[mlir][vector][test] Update tests for vector.xfter_{read|write} (#91943)
Updates tests in "vector-transfer-permutation-lowering.mlir" to make a
clearer split into cases for :
* xfer_read vs xfer_write
* fixed-width vs scalable tests
A new test case is added for fixed-width vectors for vector.transfer_read.
This is to complement an existing test for scalable vectors.
This is in preparation for #90835 and also for adding more tests for
scalable vectors.
Commit: 257013e4f5cbdf644646da9ec3d60d6209c9bf25
https://github.com/llvm/llvm-project/commit/257013e4f5cbdf644646da9ec3d60d6209c9bf25
Author: Timm Bäder <tbaeder at redhat.com>
Date: 2024-05-13 (Mon, 13 May 2024)
Changed paths:
M clang/lib/AST/Interp/ByteCodeExprGen.cpp
M clang/lib/AST/Interp/Program.cpp
M clang/test/AST/Interp/arrays.cpp
Log Message:
-----------
[clang][Interp] Handle VariableArrayTypes
Commit: 1f6f5bf9307033980121fc534815a7b59453e122
https://github.com/llvm/llvm-project/commit/1f6f5bf9307033980121fc534815a7b59453e122
Author: erichkeane <ekeane at nvidia.com>
Date: 2024-05-13 (Mon, 13 May 2024)
Changed paths:
M clang/include/clang/AST/OpenACCClause.h
Log Message:
-----------
Fix warning from c4a9a374
I wasn't able to reproduce the test crash, but I believe this might be a
different definition of 'assert' on some platforms, so I believe this
patch should fix it (and fixes the suggested warning).
Commit: be7c9e39572d876c16b6a8d7f4addaf9409071ff
https://github.com/llvm/llvm-project/commit/be7c9e39572d876c16b6a8d7f4addaf9409071ff
Author: Krzysztof Parzyszek <Krzysztof.Parzyszek at amd.com>
Date: 2024-05-13 (Mon, 13 May 2024)
Changed paths:
M flang/lib/Lower/CMakeLists.txt
M flang/lib/Lower/OpenMP/Clauses.cpp
M flang/lib/Lower/OpenMP/Clauses.h
A flang/lib/Lower/OpenMP/Decomposer.cpp
A flang/lib/Lower/OpenMP/Decomposer.h
M flang/lib/Lower/OpenMP/OpenMP.cpp
M flang/lib/Lower/OpenMP/Utils.cpp
M flang/lib/Lower/OpenMP/Utils.h
M flang/test/Lower/OpenMP/default-clause-byref.f90
M flang/test/Lower/OpenMP/default-clause.f90
M flang/test/Lower/OpenMP/parallel-lastprivate-clause-scalar.f90
M llvm/include/llvm/Frontend/OpenMP/ClauseT.h
A llvm/include/llvm/Frontend/OpenMP/ConstructCompositionT.h
A llvm/include/llvm/Frontend/OpenMP/ConstructDecompositionT.h
M llvm/unittests/Frontend/CMakeLists.txt
A llvm/unittests/Frontend/OpenMPDecompositionTest.cpp
Log Message:
-----------
[flang][OpenMP] Decompose compound constructs, do recursive lowering (#90098)
A compound construct with a list of clauses is broken up into individual
leaf/composite constructs. Each such construct has the list of clauses
that apply to it based on the OpenMP spec.
Each lowering function (i.e. a function that generates MLIR ops) is now
responsible for generating its body as described below.
Functions that receive AST nodes extract the construct, and the clauses
from the node. They then create a work queue consisting of individual
constructs, and invoke a common dispatch function to process (lower) the
queue.
The dispatch function examines the current position in the queue, and
invokes the appropriate lowering function. Each lowering function
receives the queue as well, and once it needs to generate its body, it
either invokes the dispatch function on the rest of the queue (if any),
or processes nested evaluations if the work queue is at the end.
Re-application of ca1bd5995f6ed934f9187305190a5abfac049173 with fixes for
compilation errors.
Commit: e8eb52d167eb2bf972b3cfa67ff1028b86cd209d
https://github.com/llvm/llvm-project/commit/e8eb52d167eb2bf972b3cfa67ff1028b86cd209d
Author: Valentin Clement (バレンタイン クレメン) <clementval at gmail.com>
Date: 2024-05-13 (Mon, 13 May 2024)
Changed paths:
M flang/include/flang/Common/Fortran-features.h
M flang/include/flang/Common/Fortran.h
M flang/lib/Common/Fortran.cpp
M flang/lib/Semantics/check-call.cpp
M flang/lib/Semantics/expression.cpp
A flang/test/Semantics/cuf14.cuf
A flang/test/Semantics/cuf15.cuf
M flang/tools/bbc/bbc.cpp
Log Message:
-----------
[flang][cuda] Extends matching distance computation (#91810)
Extends the computation of the matching distance in the generic
resolution to support options described in the table:
https://docs.nvidia.com/hpc-sdk/archive/24.3/compilers/cuda-fortran-prog-guide/index.html#cfref-var-attr-unified-data
Options are added as language features in the `SemanticsContext` and a
flag is added in bbc for testing purpose.
Commit: 06f04b2e27f2586d3db2204ed4e54f8b78fea74e
https://github.com/llvm/llvm-project/commit/06f04b2e27f2586d3db2204ed4e54f8b78fea74e
Author: erichkeane <ekeane at nvidia.com>
Date: 2024-05-13 (Mon, 13 May 2024)
Changed paths:
M clang/include/clang/AST/OpenACCClause.h
M clang/include/clang/Basic/DiagnosticSemaKinds.td
M clang/include/clang/Basic/OpenACCClauses.def
M clang/include/clang/Parse/Parser.h
M clang/include/clang/Sema/SemaOpenACC.h
M clang/lib/AST/OpenACCClause.cpp
M clang/lib/AST/StmtProfile.cpp
M clang/lib/AST/TextNodeDumper.cpp
M clang/lib/Parse/ParseOpenACC.cpp
M clang/lib/Sema/SemaOpenACC.cpp
M clang/lib/Sema/TreeTransform.h
M clang/lib/Serialization/ASTReader.cpp
M clang/lib/Serialization/ASTWriter.cpp
M clang/test/AST/ast-print-openacc-compute-construct.cpp
M clang/test/ParserOpenACC/parse-clauses.c
R clang/test/SemaOpenACC/compute-construct-device_type-ast.cpp
R clang/test/SemaOpenACC/compute-construct-device_type-clause.c
R clang/test/SemaOpenACC/compute-construct-device_type-clause.cpp
M clang/tools/libclang/CIndex.cpp
Log Message:
-----------
Revert "[OpenACC] device_type clause Sema for Compute constructs"
This reverts commit c4a9a374749deb5f2a932a7d4ef9321be1b2ae5d.
This and the followup patch keep hitting an assert I wrote on the build
bots in a way that isn't clear. Reverting so I can fix it without a
rush.
Commit: 1934e4afd6276cd2440357b788d7efe6a4abdebe
https://github.com/llvm/llvm-project/commit/1934e4afd6276cd2440357b788d7efe6a4abdebe
Author: Krzysztof Parzyszek <Krzysztof.Parzyszek at amd.com>
Date: 2024-05-13 (Mon, 13 May 2024)
Changed paths:
M llvm/include/llvm/Frontend/OpenMP/ConstructCompositionT.h
Log Message:
-----------
[flang][OpenMP] Add explicit N to SmallVector to avoid size error
This fixes https://lab.llvm.org/buildbot/#/builders/268/builds/13925,
which somehow doesn't show in any of my local builds.
Commit: 2d511cdc10be611999d2a3c8983a992dd90f892c
https://github.com/llvm/llvm-project/commit/2d511cdc10be611999d2a3c8983a992dd90f892c
Author: Timm Bäder <tbaeder at redhat.com>
Date: 2024-05-13 (Mon, 13 May 2024)
Changed paths:
M clang/test/AST/Interp/arrays.cpp
Log Message:
-----------
[clang][Interp][NFC] Add missing test diagnostic output
This was left out from https://github.com/llvm/llvm-project/commit/257013e4f5cbdf644646da9ec3d60d6209c9bf25
Commit: d95f7c9cabf493ffdc615df47a420a80d4be8e5c
https://github.com/llvm/llvm-project/commit/d95f7c9cabf493ffdc615df47a420a80d4be8e5c
Author: Paul Kirth <paulkirth at google.com>
Date: 2024-05-13 (Mon, 13 May 2024)
Changed paths:
M llvm/lib/Target/RISCV/RISCVISelLowering.cpp
M llvm/test/CodeGen/RISCV/stack-protector-target.ll
Log Message:
-----------
[RISCV] Use the thread local stack protector for Android targets (#87672)
Android supports per thread stack protectors that are individually
managed and
initialized, which can provide stronger protections than using the
global stack
protector cookie. This patch matches the convention for other
architectures
targeting Android platforms.
Commit: d94e0a1005ee1cfeeda829d9deb1f299deb7b10a
https://github.com/llvm/llvm-project/commit/d94e0a1005ee1cfeeda829d9deb1f299deb7b10a
Author: LLVM GN Syncbot <llvmgnsyncbot at gmail.com>
Date: 2024-05-13 (Mon, 13 May 2024)
Changed paths:
M llvm/utils/gn/secondary/llvm/unittests/Frontend/BUILD.gn
Log Message:
-----------
[gn build] Port be7c9e39572d
Commit: c60de044449eeef78c7bc8313de254a641001d4f
https://github.com/llvm/llvm-project/commit/c60de044449eeef78c7bc8313de254a641001d4f
Author: LLVM GN Syncbot <llvmgnsyncbot at gmail.com>
Date: 2024-05-13 (Mon, 13 May 2024)
Changed paths:
M .github/CODEOWNERS
M .github/new-prs-labeler.yml
M .github/workflows/release-binaries.yml
M .github/workflows/release-doxygen.yml
M .github/workflows/release-tasks.yml
M .github/workflows/set-release-binary-outputs.sh
M bolt/include/bolt/Core/BinaryContext.h
M bolt/include/bolt/Core/BinaryFunction.h
M bolt/include/bolt/Passes/FrameAnalysis.h
M bolt/include/bolt/Passes/IndirectCallPromotion.h
M bolt/include/bolt/Rewrite/DWARFRewriter.h
M bolt/include/bolt/Rewrite/RewriteInstance.h
M bolt/lib/Core/BinaryFunction.cpp
M bolt/lib/Core/ParallelUtilities.cpp
M bolt/lib/Passes/BinaryPasses.cpp
M bolt/lib/Passes/FrameAnalysis.cpp
M bolt/lib/Passes/SplitFunctions.cpp
M bolt/lib/Profile/DataAggregator.cpp
M bolt/lib/Profile/DataReader.cpp
M bolt/lib/Rewrite/DWARFRewriter.cpp
M bolt/lib/Rewrite/LinuxKernelRewriter.cpp
M bolt/lib/Rewrite/RewriteInstance.cpp
M bolt/lib/Rewrite/SDTRewriter.cpp
A bolt/test/X86/Inputs/blarge_new_bat_branchentry.preagg.txt
A bolt/test/X86/Inputs/jump-table-fixed-ref-pic.s
M bolt/test/X86/bolt-address-translation-yaml.test
A bolt/test/X86/jump-table-fixed-ref-pic.test
A bolt/test/X86/linux-smp-locks.s
M bolt/test/X86/linux-static-keys.s
M bolt/test/X86/register-fragments-bolt-symbols.s
M bolt/test/X86/sctc-bug4.test
A bolt/test/runtime/bolt-reserved.cpp
M clang-tools-extra/clang-include-fixer/find-all-symbols/STLPostfixHeaderMap.cpp
M clang-tools-extra/clang-query/Query.cpp
M clang-tools-extra/clang-query/Query.h
M clang-tools-extra/clang-query/QueryParser.cpp
M clang-tools-extra/clang-query/tool/ClangQuery.cpp
M clang-tools-extra/clang-tidy/ClangTidy.cpp
M clang-tools-extra/clang-tidy/ClangTidyCheck.cpp
M clang-tools-extra/clang-tidy/bugprone/CastingThroughVoidCheck.cpp
M clang-tools-extra/clang-tidy/bugprone/ForwardingReferenceOverloadCheck.cpp
M clang-tools-extra/clang-tidy/bugprone/ReservedIdentifierCheck.cpp
M clang-tools-extra/clang-tidy/bugprone/ReturnConstRefFromParameterCheck.cpp
M clang-tools-extra/clang-tidy/cert/CERTTidyModule.cpp
M clang-tools-extra/clang-tidy/hicpp/SignedBitwiseCheck.cpp
M clang-tools-extra/clang-tidy/modernize/LoopConvertCheck.cpp
M clang-tools-extra/clang-tidy/modernize/UseStdPrintCheck.cpp
M clang-tools-extra/clang-tidy/readability/ConstReturnTypeCheck.cpp
M clang-tools-extra/clang-tidy/readability/IdentifierNamingCheck.cpp
M clang-tools-extra/clang-tidy/readability/SimplifyBooleanExprCheck.cpp
M clang-tools-extra/clang-tidy/readability/SimplifyBooleanExprCheck.h
M clang-tools-extra/clang-tidy/readability/StaticAccessedThroughInstanceCheck.cpp
M clang-tools-extra/clang-tidy/readability/StringCompareCheck.cpp
M clang-tools-extra/clang-tidy/readability/StringCompareCheck.h
M clang-tools-extra/clang-tidy/readability/SuspiciousCallArgumentCheck.cpp
M clang-tools-extra/clang-tidy/utils/IncludeSorter.cpp
M clang-tools-extra/clang-tidy/utils/RenamerClangTidyCheck.cpp
M clang-tools-extra/clang-tidy/utils/RenamerClangTidyCheck.h
M clang-tools-extra/clangd/Preamble.cpp
M clang-tools-extra/clangd/index/CanonicalIncludes.cpp
M clang-tools-extra/clangd/refactor/tweaks/ScopifyEnum.cpp
M clang-tools-extra/clangd/test/delimited-input-comment-at-the-end.test
M clang-tools-extra/clangd/test/hover.test
M clang-tools-extra/clangd/test/spaces-in-delimited-input.test
M clang-tools-extra/clangd/unittests/FindTargetTests.cpp
M clang-tools-extra/clangd/unittests/HoverTests.cpp
M clang-tools-extra/clangd/unittests/tweaks/ScopifyEnumTests.cpp
M clang-tools-extra/docs/ReleaseNotes.rst
M clang-tools-extra/docs/clang-tidy/checks/bugprone/bad-signal-to-kill-thread.rst
M clang-tools-extra/docs/clang-tidy/checks/bugprone/macro-parentheses.rst
M clang-tools-extra/docs/clang-tidy/checks/bugprone/suspicious-memory-comparison.rst
A clang-tools-extra/docs/clang-tidy/checks/cert/int09-c.rst
M clang-tools-extra/docs/clang-tidy/checks/concurrency/thread-canceltype-asynchronous.rst
M clang-tools-extra/docs/clang-tidy/checks/list.rst
M clang-tools-extra/docs/clang-tidy/checks/misc/throw-by-value-catch-by-reference.rst
M clang-tools-extra/docs/clang-tidy/checks/modernize/use-std-print.rst
M clang-tools-extra/docs/clang-tidy/checks/readability/enum-initial-value.rst
M clang-tools-extra/docs/clang-tidy/checks/readability/static-accessed-through-instance.rst
M clang-tools-extra/docs/clang-tidy/checks/readability/string-compare.rst
A clang-tools-extra/test/clang-query/Inputs/empty.script
A clang-tools-extra/test/clang-query/Inputs/file.script
A clang-tools-extra/test/clang-query/Inputs/runtime_file.script
M clang-tools-extra/test/clang-query/errors.c
A clang-tools-extra/test/clang-query/file-empty.c
A clang-tools-extra/test/clang-query/file-query.c
M clang-tools-extra/test/clang-tidy/checkers/Inputs/Headers/string
M clang-tools-extra/test/clang-tidy/checkers/bugprone/casting-through-void.cpp
M clang-tools-extra/test/clang-tidy/checkers/bugprone/return-const-ref-from-parameter.cpp
M clang-tools-extra/test/clang-tidy/checkers/hicpp/signed-bitwise-integer-literals.cpp
M clang-tools-extra/test/clang-tidy/checkers/readability/Inputs/duplicate-include/duplicate-include.h
M clang-tools-extra/test/clang-tidy/checkers/readability/Inputs/duplicate-include/duplicate-include2.h
M clang-tools-extra/test/clang-tidy/checkers/readability/Inputs/duplicate-include/system/sys/types.h
M clang-tools-extra/test/clang-tidy/checkers/readability/const-return-type.cpp
M clang-tools-extra/test/clang-tidy/checkers/readability/else-after-return-if-constexpr.cpp
R clang-tools-extra/test/clang-tidy/checkers/readability/magic-numbers-todo.cpp
M clang-tools-extra/test/clang-tidy/checkers/readability/simplify-boolean-expr-macros.cpp
M clang-tools-extra/test/clang-tidy/checkers/readability/static-accessed-through-instance.cpp
A clang-tools-extra/test/clang-tidy/checkers/readability/string-compare-custom-string-classes.cpp
M clang-tools-extra/test/clang-tidy/checkers/readability/string-compare.cpp
M clang-tools-extra/test/clang-tidy/infrastructure/config-files.cpp
M clang-tools-extra/test/modularize/Inputs/CompileError/module.modulemap
M clang-tools-extra/test/modularize/Inputs/MissingHeader/module.modulemap
M clang-tools-extra/test/pp-trace/Inputs/module.modulemap
M clang-tools-extra/unittests/clang-query/QueryParserTest.cpp
M clang/CMakeLists.txt
M clang/docs/Block-ABI-Apple.rst
M clang/docs/ClangFormatStyleOptions.rst
M clang/docs/ClangOffloadBundler.rst
M clang/docs/LanguageExtensions.rst
M clang/docs/ReleaseNotes.rst
M clang/docs/StandardCPlusPlusModules.rst
M clang/docs/UsersManual.rst
M clang/docs/analyzer/checkers.rst
M clang/docs/tools/clang-formatted-files.txt
M clang/include/clang/AST/ASTContext.h
M clang/include/clang/AST/BuiltinTypes.def
M clang/include/clang/AST/Decl.h
M clang/include/clang/AST/ExprCXX.h
M clang/include/clang/AST/OpenACCClause.h
M clang/include/clang/AST/StmtOpenACC.h
M clang/include/clang/Analysis/FlowSensitive/DataflowAnalysis.h
M clang/include/clang/Analysis/FlowSensitive/DataflowAnalysisContext.h
M clang/include/clang/Analysis/FlowSensitive/Solver.h
M clang/include/clang/Analysis/FlowSensitive/WatchedLiteralsSolver.h
M clang/include/clang/Basic/Attr.td
M clang/include/clang/Basic/AttrDocs.td
M clang/include/clang/Basic/Builtins.td
M clang/include/clang/Basic/BuiltinsNVPTX.def
M clang/include/clang/Basic/BuiltinsWebAssembly.def
M clang/include/clang/Basic/CodeGenOptions.def
M clang/include/clang/Basic/Cuda.h
M clang/include/clang/Basic/DiagnosticDriverKinds.td
M clang/include/clang/Basic/DiagnosticFrontendKinds.td
M clang/include/clang/Basic/DiagnosticGroups.td
M clang/include/clang/Basic/DiagnosticInstallAPIKinds.td
M clang/include/clang/Basic/DiagnosticParseKinds.td
M clang/include/clang/Basic/DiagnosticSemaKinds.td
M clang/include/clang/Basic/Features.def
M clang/include/clang/Basic/IdentifierTable.h
M clang/include/clang/Basic/LangOptions.def
M clang/include/clang/Basic/LangOptions.h
M clang/include/clang/Basic/MSP430Target.def
M clang/include/clang/Basic/Module.h
M clang/include/clang/Basic/OpenACCClauses.def
M clang/include/clang/Basic/OpenACCKinds.h
M clang/include/clang/Basic/SourceLocation.h
M clang/include/clang/Basic/SourceManager.h
A clang/include/clang/Basic/Target/MSP430/gen-msp430-def.py
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/Driver/Distro.h
M clang/include/clang/Driver/Driver.h
M clang/include/clang/Driver/Options.td
M clang/include/clang/ExtractAPI/API.h
M clang/include/clang/ExtractAPI/ExtractAPIVisitor.h
M clang/include/clang/Format/Format.h
M clang/include/clang/Frontend/MultiplexConsumer.h
M clang/include/clang/InstallAPI/MachO.h
M clang/include/clang/Parse/Parser.h
M clang/include/clang/Sema/Scope.h
M clang/include/clang/Sema/Sema.h
M clang/include/clang/Sema/SemaOpenACC.h
M clang/include/clang/Serialization/ASTBitCodes.h
M clang/include/clang/Serialization/ASTDeserializationListener.h
M clang/include/clang/Serialization/ASTReader.h
M clang/include/clang/Serialization/ASTRecordReader.h
M clang/include/clang/Serialization/ASTRecordWriter.h
M clang/include/clang/Serialization/ASTWriter.h
M clang/include/clang/Serialization/ModuleFile.h
M clang/include/clang/Serialization/SourceLocationEncoding.h
M clang/include/clang/StaticAnalyzer/Checkers/Checkers.td
M clang/include/clang/StaticAnalyzer/Core/AnalyzerOptions.def
M clang/lib/ARCMigrate/ObjCMT.cpp
M clang/lib/AST/ASTConcept.cpp
M clang/lib/AST/ASTContext.cpp
M clang/lib/AST/Decl.cpp
M clang/lib/AST/Interp/ByteCodeEmitter.cpp
M clang/lib/AST/Interp/ByteCodeExprGen.cpp
M clang/lib/AST/Interp/ByteCodeExprGen.h
M clang/lib/AST/Interp/Descriptor.cpp
M clang/lib/AST/Interp/Descriptor.h
M clang/lib/AST/Interp/EvalEmitter.cpp
M clang/lib/AST/Interp/Interp.h
M clang/lib/AST/Interp/InterpFrame.cpp
M clang/lib/AST/Interp/InterpState.h
M clang/lib/AST/Interp/Pointer.cpp
M clang/lib/AST/Interp/Pointer.h
M clang/lib/AST/Interp/Program.cpp
M clang/lib/AST/NSAPI.cpp
M clang/lib/AST/OpenACCClause.cpp
M clang/lib/AST/PrintfFormatString.cpp
M clang/lib/AST/StmtProfile.cpp
M clang/lib/AST/TextNodeDumper.cpp
M clang/lib/AST/Type.cpp
M clang/lib/AST/TypeLoc.cpp
M clang/lib/ASTMatchers/Dynamic/Marshallers.cpp
M clang/lib/Analysis/FlowSensitive/DataflowAnalysisContext.cpp
M clang/lib/Analysis/FlowSensitive/DataflowEnvironment.cpp
M clang/lib/Analysis/FlowSensitive/Transfer.cpp
M clang/lib/Basic/Builtins.cpp
M clang/lib/Basic/Cuda.cpp
M clang/lib/Basic/Diagnostic.cpp
M clang/lib/Basic/LangOptions.cpp
M clang/lib/Basic/Module.cpp
M clang/lib/Basic/TargetInfo.cpp
M clang/lib/Basic/Targets.cpp
M clang/lib/Basic/Targets/AArch64.cpp
M clang/lib/Basic/Targets/AMDGPU.cpp
M clang/lib/Basic/Targets/ARM.cpp
M clang/lib/Basic/Targets/DirectX.h
M clang/lib/Basic/Targets/PPC.cpp
M clang/lib/Basic/Targets/PPC.h
M clang/lib/Basic/Targets/SystemZ.h
M clang/lib/Basic/Targets/WebAssembly.cpp
M clang/lib/Basic/Targets/WebAssembly.h
M clang/lib/Basic/Targets/X86.cpp
M clang/lib/Basic/Targets/X86.h
M clang/lib/CodeGen/BackendConsumer.h
M clang/lib/CodeGen/BackendUtil.cpp
M clang/lib/CodeGen/CGBuiltin.cpp
M clang/lib/CodeGen/CGCall.cpp
M clang/lib/CodeGen/CGExprAgg.cpp
M clang/lib/CodeGen/CGExprScalar.cpp
M clang/lib/CodeGen/CGRecordLayoutBuilder.cpp
M clang/lib/CodeGen/CGStmt.cpp
M clang/lib/CodeGen/CGVTables.cpp
M clang/lib/CodeGen/CodeGenAction.cpp
M clang/lib/CodeGen/CodeGenFunction.cpp
M clang/lib/CodeGen/CodeGenFunction.h
M clang/lib/CodeGen/CodeGenModule.cpp
M clang/lib/CodeGen/CoverageMappingGen.cpp
M clang/lib/CodeGen/LinkInModulesPass.cpp
M clang/lib/CodeGen/MicrosoftCXXABI.cpp
M clang/lib/CodeGen/TargetInfo.h
M clang/lib/CodeGen/Targets/AArch64.cpp
M clang/lib/CodeGen/Targets/X86.cpp
M clang/lib/Driver/Distro.cpp
M clang/lib/Driver/Driver.cpp
M clang/lib/Driver/OffloadBundler.cpp
M clang/lib/Driver/SanitizerArgs.cpp
M clang/lib/Driver/ToolChains/AIX.cpp
M clang/lib/Driver/ToolChains/AMDGPU.cpp
M clang/lib/Driver/ToolChains/Arch/X86.cpp
M clang/lib/Driver/ToolChains/Clang.cpp
M clang/lib/Driver/ToolChains/CommonArgs.cpp
M clang/lib/Driver/ToolChains/Cuda.cpp
M clang/lib/Driver/ToolChains/Flang.cpp
M clang/lib/Driver/ToolChains/HIPUtility.cpp
M clang/lib/Driver/ToolChains/HLSL.cpp
M clang/lib/Driver/ToolChains/WebAssembly.cpp
M clang/lib/ExtractAPI/Serialization/SymbolGraphSerializer.cpp
M clang/lib/Format/ContinuationIndenter.cpp
M clang/lib/Format/Format.cpp
M clang/lib/Format/FormatToken.h
M clang/lib/Format/TokenAnnotator.cpp
M clang/lib/Format/UnwrappedLineFormatter.cpp
M clang/lib/Format/UnwrappedLineParser.cpp
M clang/lib/Format/UnwrappedLineParser.h
M clang/lib/Format/WhitespaceManager.cpp
M clang/lib/Format/WhitespaceManager.h
M clang/lib/Frontend/ASTUnit.cpp
M clang/lib/Frontend/CompilerInvocation.cpp
M clang/lib/Frontend/FrontendAction.cpp
M clang/lib/Frontend/InterfaceStubFunctionsConsumer.cpp
M clang/lib/Frontend/ModuleDependencyCollector.cpp
M clang/lib/Frontend/MultiplexConsumer.cpp
M clang/lib/Headers/CMakeLists.txt
A clang/lib/Headers/__stdarg_header_macro.h
A clang/lib/Headers/__stddef_header_macro.h
M clang/lib/Headers/arm_acle.h
M clang/lib/Headers/hlsl/hlsl_intrinsics.h
M clang/lib/Headers/module.modulemap
M clang/lib/Headers/stdarg.h
M clang/lib/Headers/stddef.h
M clang/lib/Lex/PPDirectives.cpp
M clang/lib/Lex/PPMacroExpansion.cpp
M clang/lib/Parse/ParseDecl.cpp
M clang/lib/Parse/ParseDeclCXX.cpp
M clang/lib/Parse/ParseExpr.cpp
M clang/lib/Parse/ParseExprCXX.cpp
M clang/lib/Parse/ParseHLSL.cpp
M clang/lib/Parse/ParseOpenACC.cpp
M clang/lib/Parse/ParseOpenMP.cpp
M clang/lib/Sema/Scope.cpp
M clang/lib/Sema/SemaAccess.cpp
M clang/lib/Sema/SemaChecking.cpp
M clang/lib/Sema/SemaCodeComplete.cpp
M clang/lib/Sema/SemaConcept.cpp
M clang/lib/Sema/SemaDecl.cpp
M clang/lib/Sema/SemaDeclAttr.cpp
M clang/lib/Sema/SemaDeclCXX.cpp
M clang/lib/Sema/SemaExpr.cpp
M clang/lib/Sema/SemaExprCXX.cpp
M clang/lib/Sema/SemaExprMember.cpp
M clang/lib/Sema/SemaHLSL.cpp
M clang/lib/Sema/SemaInit.cpp
M clang/lib/Sema/SemaLookup.cpp
M clang/lib/Sema/SemaOpenACC.cpp
M clang/lib/Sema/SemaOpenMP.cpp
M clang/lib/Sema/SemaOverload.cpp
M clang/lib/Sema/SemaStmtAsm.cpp
M clang/lib/Sema/SemaStmtAttr.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/TreeTransform.h
M clang/lib/Serialization/ASTCommon.cpp
M clang/lib/Serialization/ASTReader.cpp
M clang/lib/Serialization/ASTReaderDecl.cpp
M clang/lib/Serialization/ASTReaderInternals.h
M clang/lib/Serialization/ASTWriter.cpp
M clang/lib/Serialization/ASTWriterDecl.cpp
M clang/lib/Serialization/ModuleFile.cpp
M clang/lib/StaticAnalyzer/Checkers/BlockInCriticalSectionChecker.cpp
M clang/lib/StaticAnalyzer/Checkers/CStringChecker.cpp
M clang/lib/StaticAnalyzer/Checkers/DereferenceChecker.cpp
M clang/lib/StaticAnalyzer/Checkers/GenericTaintChecker.cpp
M clang/lib/StaticAnalyzer/Checkers/InnerPointerChecker.cpp
M clang/lib/StaticAnalyzer/Checkers/LLVMConventionsChecker.cpp
M clang/lib/StaticAnalyzer/Checkers/LocalizationChecker.cpp
M clang/lib/StaticAnalyzer/Checkers/MIGChecker.cpp
M clang/lib/StaticAnalyzer/Checkers/MallocChecker.cpp
M clang/lib/StaticAnalyzer/Checkers/ObjCContainersASTChecker.cpp
M clang/lib/StaticAnalyzer/Checkers/ObjCContainersChecker.cpp
M clang/lib/StaticAnalyzer/Checkers/ReturnValueChecker.cpp
M clang/lib/StaticAnalyzer/Checkers/SmartPtrModeling.cpp
M clang/lib/StaticAnalyzer/Checkers/StreamChecker.cpp
M clang/lib/StaticAnalyzer/Checkers/WebKit/ASTUtils.cpp
M clang/lib/StaticAnalyzer/Checkers/WebKit/ASTUtils.h
M clang/lib/StaticAnalyzer/Checkers/WebKit/NoUncountedMembersChecker.cpp
M clang/lib/StaticAnalyzer/Checkers/WebKit/PtrTypesSemantics.cpp
M clang/lib/StaticAnalyzer/Checkers/WebKit/RefCntblBaseVirtualDtorChecker.cpp
M clang/lib/StaticAnalyzer/Checkers/WebKit/UncountedCallArgsChecker.cpp
M clang/lib/StaticAnalyzer/Checkers/WebKit/UncountedLocalVarsChecker.cpp
M clang/lib/StaticAnalyzer/Core/BugReporterVisitors.cpp
M clang/lib/StaticAnalyzer/Core/CheckerContext.cpp
M clang/lib/Tooling/Tooling.cpp
M clang/test/APINotes/export-as.c
M clang/test/APINotes/extern-context.cpp
M clang/test/APINotes/namespaces.cpp
M clang/test/APINotes/properties.m
M clang/test/APINotes/swift-import-as.cpp
M clang/test/APINotes/templates.cpp
M clang/test/APINotes/versioned.m
M clang/test/AST/HLSL/RWBuffer-AST.hlsl
M clang/test/AST/HLSL/ResourceStruct.hlsl
A clang/test/AST/HLSL/packoffset.hlsl
M clang/test/AST/HLSL/pch.hlsl
M clang/test/AST/HLSL/pch_hlsl_buffer.hlsl
M clang/test/AST/HLSL/pch_with_buf.hlsl
M clang/test/AST/HLSL/this-reference-template.hlsl
M clang/test/AST/HLSL/this-reference.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/builtins.cpp
M clang/test/AST/Interp/c.c
M clang/test/AST/Interp/const-fpfeatures.cpp
M clang/test/AST/Interp/cxx23.cpp
A clang/test/AST/Interp/eval-order.cpp
M clang/test/AST/Interp/lambda.cpp
M clang/test/AST/Interp/literals.cpp
M clang/test/AST/Interp/records.cpp
M clang/test/AST/alignas_maybe_odr_cleanup.cpp
M clang/test/AST/arithmetic-fence-builtin.c
M clang/test/AST/ast-crash-doc-function-template.cpp
M clang/test/AST/ast-dump-attr-type.cpp
M clang/test/AST/ast-dump-coroutine.cpp
A clang/test/AST/ast-dump-ctad-alias.cpp
M clang/test/AST/ast-dump-default-arg-dep.cpp
M clang/test/AST/ast-dump-default-arg-recovery.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-fpfeatures.cpp
M clang/test/AST/ast-dump-fpfeatures.m
M clang/test/AST/ast-dump-late-parsing.cpp
M clang/test/AST/ast-dump-recovery.cpp
M clang/test/AST/ast-dump-types-errors.cpp
M clang/test/AST/ast-print-fp-pragmas.c
M clang/test/AST/ast-print-openacc-compute-construct.cpp
M clang/test/AST/ast-print-pragmas.cpp
M clang/test/AST/attr-swift_attr.m
M clang/test/AST/attr-swift_bridge.m
M clang/test/AST/attr-swift_bridged_typedef.m
M clang/test/AST/attr-swift_bridged_typedef.mm
M clang/test/AST/auto-pragma.cpp
M clang/test/AST/category-attribute.m
M clang/test/AST/const-fpfeatures.c
M clang/test/AST/const-fpfeatures.cpp
M clang/test/AST/coroutine-co_yield-source-range.cpp
M clang/test/AST/coroutine-locals-cleanup.cpp
M clang/test/AST/coroutine-source-location-crash.cpp
M clang/test/AST/deduction-guides.cpp
M clang/test/AST/foreachtemplatized.mm
M clang/test/AST/loop-recovery.cpp
M clang/test/AST/multistep-explicit-cast.c
M clang/test/AST/multistep-explicit-cast.cpp
M clang/test/AST/objc-default-ctor-init.mm
M clang/test/AST/pr43983.cpp
M clang/test/AST/pr47636.cpp
M clang/test/AST/pragma-attribute-cxx-subject-match-rules.cpp
M clang/test/AST/pragma-attribute-objc-subject-match-rules.m
M clang/test/AST/pragma-multiple-attributes-declspec.cpp
M clang/test/AST/pragma-multiple-attributes.cpp
M clang/test/AST/spurious-regparm.c
M clang/test/AST/template-implicit-vars.cpp
M clang/test/ASTMerge/codegen-exprs/test.c
M clang/test/Analysis/Checkers/WebKit/call-args-wtf-containers.cpp
M clang/test/Analysis/Checkers/WebKit/call-args.cpp
A clang/test/Analysis/Checkers/WebKit/mock-system-header.h
M clang/test/Analysis/Checkers/WebKit/mock-types.h
M clang/test/Analysis/Checkers/WebKit/ref-cntbl-base-virtual-dtor-templates.cpp
M clang/test/Analysis/Checkers/WebKit/uncounted-local-vars.cpp
M clang/test/Analysis/Checkers/WebKit/uncounted-members.cpp
M clang/test/Analysis/Checkers/WebKit/uncounted-obj-arg.cpp
M clang/test/Analysis/Inputs/system-header-simulator-cxx.h
M clang/test/Analysis/NewDelete-atomics.cpp
M clang/test/Analysis/addrspace-null.c
M clang/test/Analysis/ctu-cxxdefaultinitexpr.cpp
M clang/test/Analysis/ctu-lookup-name-with-space.cpp
M clang/test/Analysis/ctu-main.c
M clang/test/Analysis/ctu-on-demand-parsing.c
M clang/test/Analysis/gh-issue-89185.c
M clang/test/Analysis/handle_constructors_for_default_arguments.cpp
M clang/test/Analysis/handle_constructors_with_new_array.cpp
M clang/test/Analysis/html_diagnostics/relevant_lines/goto.c
M clang/test/Analysis/html_diagnostics/relevant_lines/macros_same_file.c
M clang/test/Analysis/html_diagnostics/relevant_lines/multifile.c
M clang/test/Analysis/html_diagnostics/relevant_lines/multiline_func_def.c
M clang/test/Analysis/html_diagnostics/relevant_lines/notexecutedlines.c
M clang/test/Analysis/html_diagnostics/relevant_lines/objcmethods.m
M clang/test/Analysis/html_diagnostics/relevant_lines/simple_conditional.c
M clang/test/Analysis/html_diagnostics/relevant_lines/switch.c
M clang/test/Analysis/html_diagnostics/relevant_lines/switch_default.c
M clang/test/Analysis/html_diagnostics/relevant_lines/synthesized_body.cpp
M clang/test/Analysis/html_diagnostics/relevant_lines/unused_header.c
M clang/test/Analysis/inlining/temp-dtors-path-notes.cpp
M clang/test/Analysis/lifetime-extended-regions.cpp
M clang/test/Analysis/new-aligned.cpp
M clang/test/Analysis/osobject-retain-release.cpp
M clang/test/Analysis/ptr-cmp-const-trunc.cl
M clang/test/Analysis/region_store_overflow.c
M clang/test/Analysis/return-value-guaranteed.cpp
M clang/test/Analysis/scan-build/deduplication.test
M clang/test/Analysis/scan-build/exclude_directories.test
M clang/test/Analysis/scan-build/help.test
M clang/test/Analysis/scan-build/html_output.test
M clang/test/Analysis/scan-build/lit.local.cfg
M clang/test/Analysis/scan-build/plist_html_output.test
M clang/test/Analysis/scan-build/plist_output.test
M clang/test/Analysis/scan-build/rebuild_index/rebuild_index.test
M clang/test/Analysis/scan-build/silence-core-checkers.test
M clang/test/Analysis/solver-sym-simplification-bool.cpp
M clang/test/Analysis/solver-sym-simplification-ptr-bool.cl
M clang/test/Analysis/taint-diagnostic-visitor.c
M clang/test/Analysis/taint-generic.c
M clang/test/Analysis/transparent_union_bug.c
M clang/test/Analysis/trustnonnullchecker_test.m
M clang/test/Analysis/trustnonnullchecker_test.mm
M clang/test/Analysis/undef-call.c
M clang/test/C/drs/dr290.c
M clang/test/CXX/class/class.compare/class.compare.default/p4.cpp
M clang/test/CXX/class/class.friend/p7-cxx20.cpp
M clang/test/CXX/class/class.mfct/p1-cxx20.cpp
M clang/test/CXX/dcl.decl/dcl.init/dcl.init.ref/p5-examples.cpp
A clang/test/CXX/dcl/dcl.init/aggr.cpp
A clang/test/CXX/drs/cwg0xx.cpp
A clang/test/CXX/drs/cwg10xx.cpp
A clang/test/CXX/drs/cwg11xx.cpp
A clang/test/CXX/drs/cwg12xx.cpp
A clang/test/CXX/drs/cwg13xx.cpp
A clang/test/CXX/drs/cwg14xx.cpp
A clang/test/CXX/drs/cwg15xx.cpp
A clang/test/CXX/drs/cwg16xx.cpp
A clang/test/CXX/drs/cwg17xx.cpp
A clang/test/CXX/drs/cwg18xx.cpp
A clang/test/CXX/drs/cwg19xx.cpp
A clang/test/CXX/drs/cwg1xx.cpp
A clang/test/CXX/drs/cwg20xx.cpp
A clang/test/CXX/drs/cwg21xx.cpp
A clang/test/CXX/drs/cwg22xx.cpp
A clang/test/CXX/drs/cwg23xx.cpp
A clang/test/CXX/drs/cwg24xx.cpp
A clang/test/CXX/drs/cwg25xx.cpp
A clang/test/CXX/drs/cwg26xx.cpp
A clang/test/CXX/drs/cwg27xx.cpp
A clang/test/CXX/drs/cwg28xx.cpp
A clang/test/CXX/drs/cwg2xx.cpp
A clang/test/CXX/drs/cwg3xx.cpp
A clang/test/CXX/drs/cwg4xx.cpp
A clang/test/CXX/drs/cwg5xx.cpp
A clang/test/CXX/drs/cwg6xx.cpp
A clang/test/CXX/drs/cwg7xx.cpp
A clang/test/CXX/drs/cwg8xx.cpp
A clang/test/CXX/drs/cwg9xx.cpp
R clang/test/CXX/drs/dr0xx.cpp
R clang/test/CXX/drs/dr10xx.cpp
R clang/test/CXX/drs/dr11xx.cpp
R clang/test/CXX/drs/dr12xx.cpp
R clang/test/CXX/drs/dr13xx.cpp
R clang/test/CXX/drs/dr14xx.cpp
R clang/test/CXX/drs/dr15xx.cpp
R clang/test/CXX/drs/dr16xx.cpp
R clang/test/CXX/drs/dr17xx.cpp
R clang/test/CXX/drs/dr18xx.cpp
R clang/test/CXX/drs/dr19xx.cpp
R clang/test/CXX/drs/dr1xx.cpp
R clang/test/CXX/drs/dr20xx.cpp
R clang/test/CXX/drs/dr21xx.cpp
R clang/test/CXX/drs/dr22xx.cpp
R clang/test/CXX/drs/dr23xx.cpp
R clang/test/CXX/drs/dr24xx.cpp
R clang/test/CXX/drs/dr25xx.cpp
R clang/test/CXX/drs/dr26xx.cpp
R clang/test/CXX/drs/dr27xx.cpp
R clang/test/CXX/drs/dr28xx.cpp
R clang/test/CXX/drs/dr2xx.cpp
R clang/test/CXX/drs/dr3xx.cpp
R clang/test/CXX/drs/dr4xx.cpp
R clang/test/CXX/drs/dr5xx.cpp
R clang/test/CXX/drs/dr6xx.cpp
R clang/test/CXX/drs/dr7xx.cpp
R clang/test/CXX/drs/dr8xx.cpp
R clang/test/CXX/drs/dr9xx.cpp
M clang/test/CXX/except/except.spec/p13.cpp
M clang/test/CXX/expr/expr.prim/expr.prim.lambda/p15-star-this-capture.cpp
M clang/test/CXX/expr/expr.unary/expr.unary.noexcept/cg.cpp
M clang/test/CXX/expr/expr.unary/expr.unary.op/p4.cpp
M clang/test/CXX/lex/lex.literal/lex.string/p4.cpp
M clang/test/CXX/module/module.private.frag/p1.cpp
M clang/test/CXX/special/class.temporary/p6.cpp
M clang/test/CXX/temp/temp.arg/temp.arg.template/p3-2a.cpp
A clang/test/CXX/temp/temp.deduct/p7.cpp
M clang/test/CXX/temp/temp.res/temp.dep/temp.dep.type/p4.cpp
A clang/test/CXX/temp/temp.spec/temp.expl.spec/p14-23.cpp
A clang/test/CXX/temp/temp.spec/temp.expl.spec/p8.cpp
M clang/test/CodeGen/2010-08-10-DbgConstant.c
M clang/test/CodeGen/LoongArch/intrinsic-la32-error.c
M clang/test/CodeGen/LoongArch/intrinsic-la64-error.c
M clang/test/CodeGen/PR32874.c
M clang/test/CodeGen/PR44896.ll
M clang/test/CodeGen/PowerPC/aix_alloca_align.c
M clang/test/CodeGen/PowerPC/builtins-ppc-fpconstrained.c
M clang/test/CodeGen/PowerPC/builtins-ppc-vec-ins-error.c
M clang/test/CodeGen/PowerPC/ibm128-cast.c
M clang/test/CodeGen/PowerPC/toc-data-attribute.c
M clang/test/CodeGen/PowerPC/toc-data-attribute.cpp
M clang/test/CodeGen/PowerPC/toc-data-diagnostics.c
M clang/test/CodeGen/PowerPC/toc-data-structs-arrays.cpp
M clang/test/CodeGen/PowerPC/vector-bool-pixel-altivec-init-no-parentheses.c
M clang/test/CodeGen/PowerPC/vector-bool-pixel-altivec-init.c
M clang/test/CodeGen/PowerPC/vector-compat-pixel-bool-ternary.c
M clang/test/CodeGen/PowerPC/vector-compat-pixel-bool.c
M clang/test/CodeGen/PowerPC/vector-compat-ternary.c
M clang/test/CodeGen/PowerPC/vector-compat.c
A clang/test/CodeGen/RISCV/attr-rvv-vector-bits-bitcast.c
A clang/test/CodeGen/RISCV/attr-rvv-vector-bits-call.c
A clang/test/CodeGen/RISCV/attr-rvv-vector-bits-cast.c
A clang/test/CodeGen/RISCV/attr-rvv-vector-bits-codegen.c
A clang/test/CodeGen/RISCV/attr-rvv-vector-bits-globals.c
A clang/test/CodeGen/RISCV/attr-rvv-vector-bits-types.c
A clang/test/CodeGen/RISCV/riscv32-ilp32d-abi.cpp
A clang/test/CodeGen/RISCV/rvv-vls-arith-ops.c
A clang/test/CodeGen/RISCV/rvv-vls-bitwise-ops.c
A clang/test/CodeGen/RISCV/rvv-vls-compare-ops.c
A clang/test/CodeGen/RISCV/rvv-vls-shift-ops.c
A clang/test/CodeGen/RISCV/rvv-vls-subscript-ops.c
A clang/test/CodeGen/RISCV/vector-bits-vscale-range.c
M clang/test/CodeGen/SystemZ/align-systemz-02.c
M clang/test/CodeGen/SystemZ/builtins-systemz-error2.c
M clang/test/CodeGen/VE/ve-velintrin.c
M clang/test/CodeGen/X86/amx_errors.c
M clang/test/CodeGen/X86/amxcomplex-errors.c
M clang/test/CodeGen/X86/bfloat16.cpp
M clang/test/CodeGen/X86/cmp-avx-builtins-error.c
M clang/test/CodeGen/X86/cmpccxadd-builtins-error-32.c
M clang/test/CodeGen/X86/cmpccxadd-builtins-error.c
A clang/test/CodeGen/X86/inline-asm-gcc-regs.c
M clang/test/CodeGen/X86/math-builtins.c
M clang/test/CodeGen/X86/ms-inline-asm-prefix.c
M clang/test/CodeGen/X86/sm3-error.c
M clang/test/CodeGen/X86/usermsr-builtins-error-32.c
A clang/test/CodeGen/X86/x86-atomic-float.c
M clang/test/CodeGen/X86/x86-atomic-long_double.c
M clang/test/CodeGen/X86/x86-vec-i128.c
M clang/test/CodeGen/X86/x86_64-atomic-128.c
M clang/test/CodeGen/X86/x86_64-instrument-functions.c
M clang/test/CodeGen/X86/x86_inlineasm_curly_bracket_escape.c
M clang/test/CodeGen/aapcs-bitfield.c
M clang/test/CodeGen/aapcs64-align.cpp
M clang/test/CodeGen/aarch64-ABI-align-packed-assembly.c
M clang/test/CodeGen/aarch64-ABI-align-packed.c
M clang/test/CodeGen/aarch64-bf16-reinterpret-intrinsics.c
A clang/test/CodeGen/aarch64-elf-pauthabi.c
A clang/test/CodeGen/aarch64-fmv-dependencies.c
M clang/test/CodeGen/aarch64-ls64-inline-asm.c
M clang/test/CodeGen/aarch64-ls64.c
M clang/test/CodeGen/aarch64-matmul.cpp
M clang/test/CodeGen/aarch64-mixed-target-attributes.c
M clang/test/CodeGen/aarch64-mops.c
M clang/test/CodeGen/aarch64-neon-3v.c
M clang/test/CodeGen/aarch64-neon-fma.c
M clang/test/CodeGen/aarch64-neon-intrinsics-constrained.c
M clang/test/CodeGen/aarch64-neon-intrinsics.c
M clang/test/CodeGen/aarch64-neon-sha3.c
M clang/test/CodeGen/aarch64-neon-shifts.c
M clang/test/CodeGen/aarch64-neon-sm4-sm3.c
M clang/test/CodeGen/aarch64-neon-vcadd.c
M clang/test/CodeGen/aarch64-neon-vsqadd-float-conversion.c
M clang/test/CodeGen/aarch64-neon-vuqadd-float-conversion-warning.c
M clang/test/CodeGen/aarch64-sme-intrinsics/aarch64-sme-attrs.cpp
M clang/test/CodeGen/aarch64-sme-intrinsics/acle_sme_add-i32.c
M clang/test/CodeGen/aarch64-sme-intrinsics/acle_sme_add-i64.c
M clang/test/CodeGen/aarch64-sme-intrinsics/acle_sme_cnt.c
M clang/test/CodeGen/aarch64-sme-intrinsics/acle_sme_ld1.c
M clang/test/CodeGen/aarch64-sme-intrinsics/acle_sme_ld1_vnum.c
M clang/test/CodeGen/aarch64-sme-intrinsics/acle_sme_ldr.c
M clang/test/CodeGen/aarch64-sme-intrinsics/acle_sme_mopa-za32.c
M clang/test/CodeGen/aarch64-sme-intrinsics/acle_sme_mopa-za64.c
M clang/test/CodeGen/aarch64-sme-intrinsics/acle_sme_mops-za32.c
M clang/test/CodeGen/aarch64-sme-intrinsics/acle_sme_mops-za64.c
M clang/test/CodeGen/aarch64-sme-intrinsics/acle_sme_read.c
M clang/test/CodeGen/aarch64-sme-intrinsics/acle_sme_st1.c
M clang/test/CodeGen/aarch64-sme-intrinsics/acle_sme_st1_vnum.c
M clang/test/CodeGen/aarch64-sme-intrinsics/acle_sme_state_funs.c
M clang/test/CodeGen/aarch64-sme-intrinsics/acle_sme_str.c
M clang/test/CodeGen/aarch64-sme-intrinsics/acle_sme_write.c
M clang/test/CodeGen/aarch64-sme-intrinsics/acle_sme_zero.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_bmop.c
M clang/test/CodeGen/aarch64-sme2-intrinsics/acle_sme2_clamp.c
M clang/test/CodeGen/aarch64-sme2-intrinsics/acle_sme2_cvt.c
M clang/test/CodeGen/aarch64-sme2-intrinsics/acle_sme2_cvtn.c
A 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_ldr_str_zt.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
A clang/test/CodeGen/aarch64-sme2-intrinsics/acle_sme2_mopa_nonwide.c
M clang/test/CodeGen/aarch64-sme2-intrinsics/acle_sme2_read.c
M clang/test/CodeGen/aarch64-sme2-intrinsics/acle_sme2_reinterpret_svcount_svbool.c
M clang/test/CodeGen/aarch64-sme2-intrinsics/acle_sme2_sqdmulh.c
M clang/test/CodeGen/aarch64-sme2-intrinsics/acle_sme2_sub.c
M clang/test/CodeGen/aarch64-sme2-intrinsics/acle_sme2_unpkx2.c
M clang/test/CodeGen/aarch64-sme2-intrinsics/acle_sme2_unpkx4.c
M clang/test/CodeGen/aarch64-sme2-intrinsics/acle_sme2_vdot.c
M clang/test/CodeGen/aarch64-sme2-intrinsics/acle_sme2_vector_add.c
M clang/test/CodeGen/aarch64-sme2-intrinsics/acle_sme2_vector_qrshr.c
M clang/test/CodeGen/aarch64-sme2-intrinsics/acle_sme2_vector_rshl.c
M clang/test/CodeGen/aarch64-sme2-intrinsics/acle_sme2_vector_selx2.c
M clang/test/CodeGen/aarch64-sme2-intrinsics/acle_sme2_vector_selx4.c
M clang/test/CodeGen/aarch64-sme2-intrinsics/acle_sme2_vector_uzpx2.c
M clang/test/CodeGen/aarch64-sme2-intrinsics/acle_sme2_vector_uzpx4.c
M clang/test/CodeGen/aarch64-sme2-intrinsics/acle_sme2_vector_zipx2.c
M clang/test/CodeGen/aarch64-sme2-intrinsics/acle_sme2_vector_zipx4.c
M clang/test/CodeGen/aarch64-sme2-intrinsics/acle_sme2_write.c
M clang/test/CodeGen/aarch64-sme2-intrinsics/acle_sme2_zero_zt.c
M clang/test/CodeGen/aarch64-soft-float-abi-errors.c
M clang/test/CodeGen/aarch64-sve-acle-__ARM_FEATURE_SVE_VECTOR_OPERATORS.c
M clang/test/CodeGen/aarch64-sve-acle-__ARM_FEATURE_SVE_VECTOR_OPERATORS.cpp
M clang/test/CodeGen/aarch64-sve-inline-asm-datatypes.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_adda.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_addv.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_adrb.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_adrd.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_adrh.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_adrw.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_bfmmla.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_compact.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_expa.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_ld1ro-bfloat.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_ld1ro.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_ldff1-bfloat.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_ldff1.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_ldff1sb.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_ldff1sh.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_ldff1sw.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_ldff1ub.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_ldff1uh.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_ldff1uw.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_ldnf1-bfloat.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_ldnf1.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_ldnf1sb.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_ldnf1sh.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_ldnf1sw.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_ldnf1ub.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_ldnf1uh.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_ldnf1uw.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_matmul_fp32.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_matmul_fp64.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_mmla.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_rdffr.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_reinterpret-bfloat.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_reinterpret.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_reinterpret_from_streaming_mode.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_setffr.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_tmad.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_trn1-bfloat.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_trn1-fp64-bfloat.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_trn1-fp64.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-fp64-bfloat.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_trn2-fp64.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_trn2.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_tsmul.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_tssel.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_unpkhi.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-fp64-bfloat.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_uzp1-fp64.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-fp64-bfloat.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_uzp2-fp64.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_wrffr.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_zip1-bfloat.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_zip1-fp64-bfloat.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_zip1-fp64.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-fp64-bfloat.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_zip2-fp64.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-sysregs-target.c
M clang/test/CodeGen/aarch64-targetattr.c
M clang/test/CodeGen/aarch64-tme.cpp
M clang/test/CodeGen/aarch64-type-sizes.c
M clang/test/CodeGen/aarch64-v8.1a-neon-intrinsics.c
M clang/test/CodeGen/aarch64-v8.2a-fp16-intrinsics-constrained.c
M clang/test/CodeGen/aarch64-v8.2a-fp16-intrinsics.c
M clang/test/CodeGen/aarch64-v8.2a-neon-intrinsics-constrained.c
M clang/test/CodeGen/aarch64-v8.2a-neon-intrinsics-generic.c
M clang/test/CodeGen/aarch64-v8.2a-neon-intrinsics.c
M clang/test/CodeGen/aarch64-v8.5a-neon-frint3264-intrinsic.c
M clang/test/CodeGen/aarch64-v8.5a-scalar-frint3264-intrinsic.c
M clang/test/CodeGen/aarch64-v8.6a-neon-intrinsics.c
M clang/test/CodeGen/aarch64_neon_sve_bridge_intrinsics/acle_neon_sve_bridge_dup_neonq.c
M clang/test/CodeGen/aarch64_neon_sve_bridge_intrinsics/acle_neon_sve_bridge_get_neonq.c
M clang/test/CodeGen/aarch64_neon_sve_bridge_intrinsics/acle_neon_sve_bridge_set_neonq.c
M clang/test/CodeGen/aarch64_neon_sve_bridge_intrinsics/target.c
M clang/test/CodeGen/aggregate-assign-call.c
M clang/test/CodeGen/aix-builtin-cpu-is.c
A clang/test/CodeGen/aix-builtin-cpu-supports.c
M clang/test/CodeGen/align-global-large.c
M clang/test/CodeGen/aligned-sret.c
M clang/test/CodeGen/arm-bf16-dotprod-intrinsics.c
M clang/test/CodeGen/arm-bf16-reinterpret-intrinsics.c
M clang/test/CodeGen/arm-byval-align.c
M clang/test/CodeGen/arm-cde-gpr.c
M clang/test/CodeGen/arm-cde-reinterpret.c
M clang/test/CodeGen/arm-cde-vec.c
M clang/test/CodeGen/arm-cde-vfp.c
M clang/test/CodeGen/arm-mve-intrinsics/absneg.c
M clang/test/CodeGen/arm-mve-intrinsics/admin.c
M clang/test/CodeGen/arm-mve-intrinsics/bitwise-imm.c
M clang/test/CodeGen/arm-mve-intrinsics/compare.c
M clang/test/CodeGen/arm-mve-intrinsics/cplusplus.cpp
M clang/test/CodeGen/arm-mve-intrinsics/dup.c
M clang/test/CodeGen/arm-mve-intrinsics/get-set-lane.c
M clang/test/CodeGen/arm-mve-intrinsics/idup.c
M clang/test/CodeGen/arm-mve-intrinsics/load-store.c
M clang/test/CodeGen/arm-mve-intrinsics/predicates.c
M clang/test/CodeGen/arm-mve-intrinsics/reinterpret.c
M clang/test/CodeGen/arm-mve-intrinsics/scalar-shifts.c
M clang/test/CodeGen/arm-mve-intrinsics/scatter-gather.c
M clang/test/CodeGen/arm-mve-intrinsics/ternary.c
M clang/test/CodeGen/arm-mve-intrinsics/vabavq.c
M clang/test/CodeGen/arm-mve-intrinsics/vabdq.c
M clang/test/CodeGen/arm-mve-intrinsics/vadc.c
M clang/test/CodeGen/arm-mve-intrinsics/vaddq.c
M clang/test/CodeGen/arm-mve-intrinsics/vaddv.c
M clang/test/CodeGen/arm-mve-intrinsics/vandq.c
M clang/test/CodeGen/arm-mve-intrinsics/vbicq.c
M clang/test/CodeGen/arm-mve-intrinsics/vbrsrq.c
M clang/test/CodeGen/arm-mve-intrinsics/vcaddq.c
M clang/test/CodeGen/arm-mve-intrinsics/vclz.c
M clang/test/CodeGen/arm-mve-intrinsics/vcmlaq.c
M clang/test/CodeGen/arm-mve-intrinsics/vcmulq.c
M clang/test/CodeGen/arm-mve-intrinsics/vcvt.c
M clang/test/CodeGen/arm-mve-intrinsics/vcvt_anpm.c
M clang/test/CodeGen/arm-mve-intrinsics/vector-shift-imm-dyadic.c
M clang/test/CodeGen/arm-mve-intrinsics/vector-shift-imm.c
M clang/test/CodeGen/arm-mve-intrinsics/vector-shift-var.c
M clang/test/CodeGen/arm-mve-intrinsics/veorq.c
M clang/test/CodeGen/arm-mve-intrinsics/vhaddq.c
M clang/test/CodeGen/arm-mve-intrinsics/vhcaddq.c
M clang/test/CodeGen/arm-mve-intrinsics/vhsubq.c
M clang/test/CodeGen/arm-mve-intrinsics/vld24.c
M clang/test/CodeGen/arm-mve-intrinsics/vldr.c
M clang/test/CodeGen/arm-mve-intrinsics/vmaxaq.c
M clang/test/CodeGen/arm-mve-intrinsics/vmaxnmaq.c
M clang/test/CodeGen/arm-mve-intrinsics/vmaxnmq.c
M clang/test/CodeGen/arm-mve-intrinsics/vmaxq.c
M clang/test/CodeGen/arm-mve-intrinsics/vminaq.c
M clang/test/CodeGen/arm-mve-intrinsics/vminnmaq.c
M clang/test/CodeGen/arm-mve-intrinsics/vminnmq.c
M clang/test/CodeGen/arm-mve-intrinsics/vminq.c
M clang/test/CodeGen/arm-mve-intrinsics/vminvq.c
M clang/test/CodeGen/arm-mve-intrinsics/vmldav.c
M clang/test/CodeGen/arm-mve-intrinsics/vmlldav.c
M clang/test/CodeGen/arm-mve-intrinsics/vmovl.c
M clang/test/CodeGen/arm-mve-intrinsics/vmovn.c
M clang/test/CodeGen/arm-mve-intrinsics/vmulhq.c
M clang/test/CodeGen/arm-mve-intrinsics/vmullbq.c
M clang/test/CodeGen/arm-mve-intrinsics/vmulltq.c
M clang/test/CodeGen/arm-mve-intrinsics/vmulq.c
M clang/test/CodeGen/arm-mve-intrinsics/vornq.c
M clang/test/CodeGen/arm-mve-intrinsics/vorrq.c
M clang/test/CodeGen/arm-mve-intrinsics/vqaddq.c
M clang/test/CodeGen/arm-mve-intrinsics/vqdmlad.c
M clang/test/CodeGen/arm-mve-intrinsics/vqdmulhq.c
M clang/test/CodeGen/arm-mve-intrinsics/vqdmullbq.c
M clang/test/CodeGen/arm-mve-intrinsics/vqdmulltq.c
M clang/test/CodeGen/arm-mve-intrinsics/vqmovn.c
M clang/test/CodeGen/arm-mve-intrinsics/vqrdmulhq.c
M clang/test/CodeGen/arm-mve-intrinsics/vqsubq.c
M clang/test/CodeGen/arm-mve-intrinsics/vrev.c
M clang/test/CodeGen/arm-mve-intrinsics/vrhaddq.c
M clang/test/CodeGen/arm-mve-intrinsics/vrmulhq.c
M clang/test/CodeGen/arm-mve-intrinsics/vrnd.c
M clang/test/CodeGen/arm-mve-intrinsics/vshlc.c
M clang/test/CodeGen/arm-mve-intrinsics/vsubq.c
M clang/test/CodeGen/arm-neon-vcadd.c
M clang/test/CodeGen/arm-neon-vld.c
M clang/test/CodeGen/arm-neon-vst.c
M clang/test/CodeGen/arm-sve-vector-bits-vscale-range.c
M clang/test/CodeGen/arm-v8.1a-neon-intrinsics.c
M clang/test/CodeGen/arm-v8.2a-neon-intrinsics-generic.c
M clang/test/CodeGen/arm-v8.2a-neon-intrinsics.c
M clang/test/CodeGen/arm-v8.6a-neon-intrinsics.c
M clang/test/CodeGen/arm-vector_type-params-returns.c
M clang/test/CodeGen/arm64-crc32.c
M clang/test/CodeGen/arm64-microsoft-status-reg.cpp
M clang/test/CodeGen/arm64-mte.c
M clang/test/CodeGen/arm64_vcopy.c
M clang/test/CodeGen/arm64_vcreate.c
M clang/test/CodeGen/arm64_vdup.c
M clang/test/CodeGen/arm64_vdupq_n_f64.c
M clang/test/CodeGen/arm_acle.c
M clang/test/CodeGen/asan-new-pm.ll
M clang/test/CodeGen/asm-label-inline-builtins.c
M clang/test/CodeGen/attr-alwaysinline.cpp
M clang/test/CodeGen/attr-arm-sve-vector-bits-bitcast.c
M clang/test/CodeGen/attr-arm-sve-vector-bits-call.c
M clang/test/CodeGen/attr-arm-sve-vector-bits-cast.c
M clang/test/CodeGen/attr-arm-sve-vector-bits-codegen.c
M clang/test/CodeGen/attr-arm-sve-vector-bits-globals.c
M clang/test/CodeGen/attr-arm-sve-vector-bits-types.c
M clang/test/CodeGen/attr-btf_tag-typedef.c
M clang/test/CodeGen/attr-btf_type_tag-func-ptr.c
M clang/test/CodeGen/attr-btf_type_tag-func.c
M clang/test/CodeGen/attr-btf_type_tag-similar-type.c
M clang/test/CodeGen/attr-btf_type_tag-typedef-field.c
M clang/test/CodeGen/attr-btf_type_tag-var.c
M clang/test/CodeGen/attr-ifunc.c
M clang/test/CodeGen/attr-ifunc.cpp
M clang/test/CodeGen/attr-mustprogress.c
M clang/test/CodeGen/attr-noinline.cpp
M clang/test/CodeGen/attr-nomerge.cpp
M clang/test/CodeGen/attr-noundef.cpp
M clang/test/CodeGen/attr-nouwtable.c
R clang/test/CodeGen/attr-riscv-rvv-vector-bits-bitcast.c
R clang/test/CodeGen/attr-riscv-rvv-vector-bits-call.c
R clang/test/CodeGen/attr-riscv-rvv-vector-bits-cast.c
R clang/test/CodeGen/attr-riscv-rvv-vector-bits-codegen.c
R clang/test/CodeGen/attr-riscv-rvv-vector-bits-globals.c
R clang/test/CodeGen/attr-riscv-rvv-vector-bits-types.c
M clang/test/CodeGen/attr-target-clones-aarch64.c
M clang/test/CodeGen/attr-target-version.c
M clang/test/CodeGen/blocks-windows.c
M clang/test/CodeGen/bpf-preserve-static-offset-arr.c
M clang/test/CodeGen/bpf-preserve-static-offset-bitfield.c
M clang/test/CodeGen/bpf-preserve-static-offset-lvalue.c
M clang/test/CodeGen/bpf-preserve-static-offset-non-bpf.c
M clang/test/CodeGen/bpf-preserve-static-offset-pai.c
M clang/test/CodeGen/builtin-complex.c
M clang/test/CodeGen/builtins-arm64.c
A clang/test/CodeGen/builtins-bitint.c
M clang/test/CodeGen/builtins-elementwise-math.c
M clang/test/CodeGen/builtins-nvptx-mma.cu
M clang/test/CodeGen/builtins-nvptx-native-half-type-err.c
M clang/test/CodeGen/builtins-nvptx-native-half-type.c
M clang/test/CodeGen/builtins-nvptx-ptx50.cu
M clang/test/CodeGen/builtins-nvptx-ptx60.cu
M clang/test/CodeGen/builtins-nvptx-sm_70.cu
M clang/test/CodeGen/builtins-nvptx.c
M clang/test/CodeGen/builtins-wasm.c
M clang/test/CodeGen/builtins.c
M clang/test/CodeGen/callback_pthread_create.c
M clang/test/CodeGen/cf-runtime-abi.c
M clang/test/CodeGen/cfstring-elf-cfbuild-x86_64.c
M clang/test/CodeGen/cfstring-windows.c
M clang/test/CodeGen/cfstring3.c
M clang/test/CodeGen/cmse-clear-arg.c
M clang/test/CodeGen/cmse-clear-return.c
M clang/test/CodeGen/code_align.c
M clang/test/CodeGen/coff-aarch64-type-sizes.c
M clang/test/CodeGen/complex-builtins-2.c
M clang/test/CodeGen/complex-builtins.c
M clang/test/CodeGen/complex-libcalls-2.c
M clang/test/CodeGen/complex-libcalls.c
M clang/test/CodeGen/complex-math-mixed.c
M clang/test/CodeGen/constrained-math-builtins.c
M clang/test/CodeGen/dbg-const-int128.c
M clang/test/CodeGen/debug-info-codeview-heapallocsite.c
M clang/test/CodeGen/debug-info-codeview-unnamed.c
M clang/test/CodeGen/debug-info-gline-tables-only.c
M clang/test/CodeGen/debug-info-gline-tables-only2.c
M clang/test/CodeGen/debug-info-line.c
M clang/test/CodeGen/debug-info-line3.c
M clang/test/CodeGen/debug-info-macro.c
M clang/test/CodeGen/debug-info-pseudo-probe.cpp
M clang/test/CodeGen/debug-info-variables.c
M clang/test/CodeGen/debug-label.c
M clang/test/CodeGen/debug-nvptx.c
M clang/test/CodeGen/debug-prefix-map.cpp
M clang/test/CodeGen/denormalfpmode-f32.c
M clang/test/CodeGen/denormalfpmode.c
M clang/test/CodeGen/dominating-store-infinite-cycle.c
M clang/test/CodeGen/enum-bool.cpp
M clang/test/CodeGen/ffp-contract-option.c
M clang/test/CodeGen/ffp-model.c
M clang/test/CodeGen/fp-matrix-pragma.c
M clang/test/CodeGen/fpconstrained.c
M clang/test/CodeGen/fpconstrained.cpp
M clang/test/CodeGen/fread-inline-builtin-late-redecl.c
A clang/test/CodeGen/fseparate-named-sections.c
M clang/test/CodeGen/gh64876.cpp
M clang/test/CodeGen/hwasan-new-pm.c
M clang/test/CodeGen/inline-asm-mixed-style.c
M clang/test/CodeGen/inline-builtin-comdat.c
M clang/test/CodeGen/instrument-functions.c
M clang/test/CodeGen/instrument-objc-method.m
M clang/test/CodeGen/isfpclass.c
M clang/test/CodeGen/kmsan-param-retval.c
M clang/test/CodeGen/libcall-declarations.c
M clang/test/CodeGen/libcalls-fno-builtin.c
M clang/test/CodeGen/lifetime2.c
M clang/test/CodeGen/lifetime3.cpp
M clang/test/CodeGen/lineno-dbginfo.c
A clang/test/CodeGen/linking-bitcode-postopt.cpp
M clang/test/CodeGen/loop-unroll.c
M clang/test/CodeGen/loop-vectorize.c
M clang/test/CodeGen/math-builtins-long.c
M clang/test/CodeGen/math-errno.c
M clang/test/CodeGen/math-libcalls.c
M clang/test/CodeGen/mcount-aix.c
M clang/test/CodeGen/mdefault-visibility-export-mapping.c
M clang/test/CodeGen/memcmp-inline-builtin-to-asm.c
M clang/test/CodeGen/memcpy-inline-builtin-mutliple-decl.c
M clang/test/CodeGen/memcpy-inline-builtin-no-extern.c
M clang/test/CodeGen/memcpy-inline-builtin.c
M clang/test/CodeGen/memcpy-no-nobuiltin-if-not-emitted.cpp
M clang/test/CodeGen/memcpy-nobuiltin.c
M clang/test/CodeGen/mips-byval-arg.c
M clang/test/CodeGen/mips-transparent-union.c
M clang/test/CodeGen/mips-unsigned-ext-var.c
M clang/test/CodeGen/mips-unsigned-extend.c
M clang/test/CodeGen/mips-vector-arg.c
M clang/test/CodeGen/mips-vector-return.c
M clang/test/CodeGen/mips-zero-sized-struct.c
M clang/test/CodeGen/mips64-class-return.cpp
M clang/test/CodeGen/mips64-padding-arg.c
M clang/test/CodeGen/msan-param-retval.c
M clang/test/CodeGen/msan-param-retval.cpp
M clang/test/CodeGen/msvc_pragma_alloc_text.cpp
A clang/test/CodeGen/multi-aix-builtin-cpu-supports.c
M clang/test/CodeGen/named_reg_global.c
M clang/test/CodeGen/no-builtin.cpp
M clang/test/CodeGen/no-junk-ftrunc.c
M clang/test/CodeGen/noexceptionsfpmath.c
M clang/test/CodeGen/nousejumptable.c
M clang/test/CodeGen/nullptr-arithmetic.c
M clang/test/CodeGen/nullptr.c
M clang/test/CodeGen/nvptx-abi.c
M clang/test/CodeGen/nvptx-cc.c
M clang/test/CodeGen/nvptx-cpus.c
M clang/test/CodeGen/nvptx-inlineasm-ptx.c
M clang/test/CodeGen/nvptx-inlineasm.c
M clang/test/CodeGen/pch-dllexport.cpp
M clang/test/CodeGen/personality.c
A clang/test/CodeGen/pr87758.c
R clang/test/CodeGen/riscv-rvv-vls-arith-ops.c
R clang/test/CodeGen/riscv-rvv-vls-bitwise-ops.c
R clang/test/CodeGen/riscv-rvv-vls-compare-ops.c
R clang/test/CodeGen/riscv-rvv-vls-shift-ops.c
R clang/test/CodeGen/riscv-rvv-vls-subscript-ops.c
R clang/test/CodeGen/riscv-vector-bits-vscale-range.c
R clang/test/CodeGen/riscv32-ilp32d-abi.cpp
M clang/test/CodeGen/rounding-math.c
M clang/test/CodeGen/rounding-math.cpp
M clang/test/CodeGen/sanitize-metadata-ignorelist.c
M clang/test/CodeGen/sanitize-metadata-nosanitize.c
M clang/test/CodeGen/sanitize-metadata.c
M clang/test/CodeGen/split-debug-filename.c
M clang/test/CodeGen/split-debug-inlining.c
M clang/test/CodeGen/stack-clash-protection.c
M clang/test/CodeGen/strictfp-elementwise-bulitins.cpp
M clang/test/CodeGen/strlen-inline-builtin-redecl.c
M clang/test/CodeGen/struct-matching-constraint.c
M clang/test/CodeGen/struct-union-BE.c
M clang/test/CodeGen/svboolx2_t.cpp
M clang/test/CodeGen/svboolx4_t.cpp
M clang/test/CodeGen/target-data.c
M clang/test/CodeGen/thinlto-distributed-cfi-devirt.ll
M clang/test/CodeGen/thinlto-distributed-cfi.ll
M clang/test/CodeGen/thinlto-loop-vectorize-pm.c
M clang/test/CodeGen/tls-maxalign-modflag.c
M clang/test/CodeGen/ubsan-volatile.c
M clang/test/CodeGen/unique-internal-linkage-names.c
M clang/test/CodeGen/unique-internal-linkage-names.cpp
M clang/test/CodeGen/user-func-gnu-inline-redecl.c
M clang/test/CodeGen/vectorcall.c
M clang/test/CodeGen/windows-seh-EHa-CppCatchDotDotDot.cpp
M clang/test/CodeGen/windows-seh-EHa-CppCatchReturn.cpp
M clang/test/CodeGen/windows-seh-EHa-CppCondiTemps.cpp
M clang/test/CodeGen/windows-seh-EHa-CppDtors01.cpp
M clang/test/CodeGen/windows-seh-EHa-TryInFinally.cpp
M clang/test/CodeGen/windows-seh-abnormal-exits.c
M clang/test/CodeGen/windows-seh-filter-inFinally.c
A clang/test/CodeGen/x64-microsoft-arguments.cpp
M clang/test/CodeGenCXX/OmitRTTIComponentABI/simple-vtable-definition.cpp
M clang/test/CodeGenCXX/OmitRTTIComponentABI/vbase-offset.cpp
M clang/test/CodeGenCXX/RelativeVTablesABI/available_externally-vtable.cpp
M clang/test/CodeGenCXX/RelativeVTablesABI/child-inheritted-from-parent-in-comdat.cpp
M clang/test/CodeGenCXX/RelativeVTablesABI/child-vtable-in-comdat.cpp
M clang/test/CodeGenCXX/RelativeVTablesABI/cross-translation-unit-1.cpp
M clang/test/CodeGenCXX/RelativeVTablesABI/cross-translation-unit-2.cpp
M clang/test/CodeGenCXX/RelativeVTablesABI/diamond-inheritance.cpp
M clang/test/CodeGenCXX/RelativeVTablesABI/diamond-virtual-inheritance.cpp
M clang/test/CodeGenCXX/RelativeVTablesABI/dynamic-cast.cpp
M clang/test/CodeGenCXX/RelativeVTablesABI/inheritted-virtual-function.cpp
M clang/test/CodeGenCXX/RelativeVTablesABI/inline-virtual-function.cpp
M clang/test/CodeGenCXX/RelativeVTablesABI/inlined-key-function.cpp
M clang/test/CodeGenCXX/RelativeVTablesABI/member-function-pointer.cpp
M clang/test/CodeGenCXX/RelativeVTablesABI/multiple-inheritance.cpp
M clang/test/CodeGenCXX/RelativeVTablesABI/no-alias-when-dso-local.cpp
M clang/test/CodeGenCXX/RelativeVTablesABI/override-pure-virtual-method.cpp
M clang/test/CodeGenCXX/RelativeVTablesABI/overriden-virtual-function.cpp
M clang/test/CodeGenCXX/RelativeVTablesABI/parent-and-child-in-comdats.cpp
M clang/test/CodeGenCXX/RelativeVTablesABI/parent-vtable-in-comdat.cpp
M clang/test/CodeGenCXX/RelativeVTablesABI/relative-vtables-flag.cpp
M clang/test/CodeGenCXX/RelativeVTablesABI/relative-vtables-hwasan.cpp
M clang/test/CodeGenCXX/RelativeVTablesABI/simple-vtable-definition.cpp
M clang/test/CodeGenCXX/RelativeVTablesABI/thunk-mangling.cpp
M clang/test/CodeGenCXX/RelativeVTablesABI/type-info.cpp
M clang/test/CodeGenCXX/RelativeVTablesABI/vbase-offset.cpp
M clang/test/CodeGenCXX/RelativeVTablesABI/virtual-function-call.cpp
M clang/test/CodeGenCXX/RelativeVTablesABI/vtable-hidden-when-in-comdat.cpp
M clang/test/CodeGenCXX/aix-static-init-temp-spec-and-inline-var.cpp
M clang/test/CodeGenCXX/aix-static-init.cpp
M clang/test/CodeGenCXX/annotate-type.cpp
M clang/test/CodeGenCXX/attr-annotate-destructor.cpp
M clang/test/CodeGenCXX/attr-annotate.cpp
M clang/test/CodeGenCXX/attr-annotate2.cpp
M clang/test/CodeGenCXX/attr-likelihood-if-vs-builtin-expect.cpp
M clang/test/CodeGenCXX/attr-mustprogress.cpp
M clang/test/CodeGenCXX/attr-musttail.cpp
M clang/test/CodeGenCXX/attr-x86-no_caller_saved_registers.cpp
M clang/test/CodeGenCXX/builtin-bit-cast-no-tbaa.cpp
M clang/test/CodeGenCXX/builtin-bit-cast.cpp
M clang/test/CodeGenCXX/constexpr-late-instantiation.cpp
M clang/test/CodeGenCXX/cxx0x-initializer-array.cpp
M clang/test/CodeGenCXX/cxx0x-initializer-constructors.cpp
M clang/test/CodeGenCXX/cxx0x-initializer-references.cpp
M clang/test/CodeGenCXX/cxx0x-initializer-scalars.cpp
M clang/test/CodeGenCXX/cxx0x-initializer-stdinitializerlist-startend.cpp
M clang/test/CodeGenCXX/cxx11-initializer-aggregate.cpp
M clang/test/CodeGenCXX/cxx11-trivial-initializer-struct.cpp
M clang/test/CodeGenCXX/debug-info-atexit-stub.cpp
M clang/test/CodeGenCXX/debug-info-blocks.cpp
M clang/test/CodeGenCXX/debug-info-codeview-heapallocsite.cpp
M clang/test/CodeGenCXX/debug-info-codeview-unnamed.cpp
M clang/test/CodeGenCXX/debug-info-cxx1y.cpp
M clang/test/CodeGenCXX/debug-info-determinism.cpp
M clang/test/CodeGenCXX/debug-info-gline-tables-only.cpp
M clang/test/CodeGenCXX/debug-info-global-ctor-dtor.cpp
M clang/test/CodeGenCXX/debug-info-line-if.cpp
M clang/test/CodeGenCXX/debug-info-line.cpp
M clang/test/CodeGenCXX/debug-info-method2.cpp
M clang/test/CodeGenCXX/debug-info-namespace.cpp
M clang/test/CodeGenCXX/debug-info-struct-align.cpp
M clang/test/CodeGenCXX/debug-info-thunk.cpp
M clang/test/CodeGenCXX/destructor-debug-info.cpp
M clang/test/CodeGenCXX/dllexport-alias.cpp
M clang/test/CodeGenCXX/duplicate-mangled-name.cpp
M clang/test/CodeGenCXX/fixed-point-mangle.cpp
M clang/test/CodeGenCXX/funcattrs-global-ctor-dtor.cpp
M clang/test/CodeGenCXX/header-unit-friend-within-class-linkage.cpp
M clang/test/CodeGenCXX/header-unit-member-func-linkage.cpp
M clang/test/CodeGenCXX/instrument-functions.cpp
M clang/test/CodeGenCXX/mangle-concept.cpp
M clang/test/CodeGenCXX/mdefault-visibility-export-mapping-alias.cpp
M clang/test/CodeGenCXX/mdefault-visibility-export-mapping-rtti.cpp
M clang/test/CodeGenCXX/mdefault-visibility-export-mapping.cpp
M clang/test/CodeGenCXX/member-alignment.cpp
M clang/test/CodeGenCXX/module-funcs-from-imports.cppm
M clang/test/CodeGenCXX/module-initializer-guard-elision.cpp
M clang/test/CodeGenCXX/module-initializer-header.cppm
M clang/test/CodeGenCXX/module-intializer-pmf.cpp
M clang/test/CodeGenCXX/module-intializer.cpp
M clang/test/CodeGenCXX/msabi-blocks.cpp
M clang/test/CodeGenCXX/partial-init.cpp
M clang/test/CodeGenCXX/partitions.cpp
M clang/test/CodeGenCXX/personality.cpp
M clang/test/CodeGenCXX/poly-unsigned.cpp
M clang/test/CodeGenCXX/pr29160.cpp
M clang/test/CodeGenCXX/static-init-4.cpp
M clang/test/CodeGenCXX/static-init-inline-variable.cpp
M clang/test/CodeGenCXX/static-init-variable-template.cpp
M clang/test/CodeGenCXX/this-nonnull.cpp
M clang/test/CodeGenCXX/tls-init-funcs.cpp
M clang/test/CodeGenCXX/tmp-md-nodes1.cpp
M clang/test/CodeGenCXX/tmp-md-nodes2.cpp
M clang/test/CodeGenCXX/ubsan-new-checks.cpp
M clang/test/CodeGenCXX/union-dtor.cpp
M clang/test/CodeGenCXX/visibility-dllstorageclass.cpp
M clang/test/CodeGenCXX/weak-external.cpp
M clang/test/CodeGenCXX/windows-on-arm-stack-probe-size.cpp
M clang/test/CodeGenCoroutines/coro-aligned-alloc-2.cpp
M clang/test/CodeGenCoroutines/coro-aligned-alloc.cpp
M clang/test/CodeGenCoroutines/coro-alloc-2.cpp
M clang/test/CodeGenCoroutines/coro-dealloc.cpp
M clang/test/CodeGenCoroutines/coro-destructor-of-final_suspend.cpp
M clang/test/CodeGenCoroutines/coro-dwarf.cpp
R clang/test/CodeGenCoroutines/coro-elide-thinlto.cpp
M clang/test/CodeGenCoroutines/pr56329.cpp
M clang/test/CodeGenCoroutines/pr59221.cpp
M clang/test/CodeGenHLSL/GlobalConstructorFunction.hlsl
M clang/test/CodeGenHLSL/GlobalConstructorLib.hlsl
M clang/test/CodeGenHLSL/GlobalConstructors.hlsl
M clang/test/CodeGenHLSL/GlobalDestructors.hlsl
M clang/test/CodeGenHLSL/basic-target.c
M clang/test/CodeGenHLSL/builtins/ScalarSwizzles.hlsl
M clang/test/CodeGenHLSL/builtins/clamp.hlsl
M clang/test/CodeGenHLSL/builtins/cos.hlsl
M clang/test/CodeGenHLSL/builtins/floor.hlsl
M clang/test/CodeGenHLSL/builtins/lerp-builtin.hlsl
M clang/test/CodeGenHLSL/builtins/lerp.hlsl
M clang/test/CodeGenHLSL/builtins/log.hlsl
M clang/test/CodeGenHLSL/builtins/log2.hlsl
M clang/test/CodeGenHLSL/builtins/mad.hlsl
M clang/test/CodeGenHLSL/builtins/max.hlsl
M clang/test/CodeGenHLSL/builtins/pow.hlsl
M clang/test/CodeGenHLSL/builtins/reversebits.hlsl
M clang/test/CodeGenHLSL/builtins/sin.hlsl
A clang/test/CodeGenHLSL/builtins/tan.hlsl
M clang/test/CodeGenHLSL/builtins/trunc.hlsl
M clang/test/CodeGenHLSL/disable_opt.hlsl
M clang/test/CodeGenHLSL/semantics/DispatchThreadID.hlsl
M clang/test/CodeGenHLSL/sret_output.hlsl
M clang/test/CodeGenHLSL/this-assignment-overload.hlsl
M clang/test/CodeGenHLSL/this-assignment.hlsl
M clang/test/CodeGenHLSL/this-reference.hlsl
M clang/test/CodeGenHLSL/validator_version.hlsl
M clang/test/CodeGenObjC/attr-used-on-method.m
M clang/test/CodeGenObjC/debug-info-impl.m
M clang/test/CodeGenObjC/debug-info-property-class-extension.m
M clang/test/CodeGenObjC/debug-info-property-class-instance-same-name.m
M clang/test/CodeGenObjC/debug-info-property3.m
M clang/test/CodeGenObjC/dllstorage.m
M clang/test/CodeGenObjC/exceptions-personality.m
M clang/test/CodeGenObjC/externally-retained.m
M clang/test/CodeGenObjC/gnu-init.m
M clang/test/CodeGenObjC/gnu-method-only-once.m
M clang/test/CodeGenObjC/gnu-nil-receiver.m
M clang/test/CodeGenObjC/gnustep2-category-protocol.m
M clang/test/CodeGenObjC/gnustep2-category.m
M clang/test/CodeGenObjC/gnustep2-class.m
M clang/test/CodeGenObjC/gnustep2-direct-method.m
M clang/test/CodeGenObjC/gnustep2-ivar-offset.m
M clang/test/CodeGenObjC/gnustep2-nontrivial-destructor-argument.mm
M clang/test/CodeGenObjC/gnustep2-proto.m
M clang/test/CodeGenObjC/ivar-type-encoding.m
M clang/test/CodeGenObjC/null-check-bool-ret.m
M clang/test/CodeGenObjC/personality.m
M clang/test/CodeGenObjC/stret-lifetime.m
M clang/test/CodeGenObjC/unqual-copy-restore.m
M clang/test/CodeGenObjCXX/msabi-stret.mm
M clang/test/CodeGenObjCXX/personality.mm
M clang/test/CodeGenOpenCL/amdgcn-flat-scratch-name.cl
M clang/test/CodeGenOpenCL/amdgcn-large-globals.cl
M clang/test/CodeGenOpenCL/amdgcn-non-temporal-store.cl
M clang/test/CodeGenOpenCL/amdgpu-abi-struct-coerce.cl
M clang/test/CodeGenOpenCL/amdgpu-alignment.cl
M clang/test/CodeGenOpenCL/amdgpu-call-kernel.cl
M clang/test/CodeGenOpenCL/amdgpu-calling-conv.cl
M clang/test/CodeGenOpenCL/amdgpu-features.cl
M clang/test/CodeGenOpenCL/atomics-cas-remarks-gfx90a.cl
M clang/test/CodeGenOpenCL/atomics-unsafe-hw-remarks-gfx90a.cl
M clang/test/CodeGenOpenCL/builtins-amdgcn-ci.cl
M clang/test/CodeGenOpenCL/builtins-amdgcn-dl-insts-err-clamp.cl
M clang/test/CodeGenOpenCL/builtins-amdgcn-dl-insts-err.cl
M clang/test/CodeGenOpenCL/builtins-amdgcn-dl-insts-gfx11.cl
M clang/test/CodeGenOpenCL/builtins-amdgcn-dl-insts-gfx12.cl
M clang/test/CodeGenOpenCL/builtins-amdgcn-dl-insts.cl
M clang/test/CodeGenOpenCL/builtins-amdgcn-flat-address-space.cl
M clang/test/CodeGenOpenCL/builtins-amdgcn-fp8.cl
M clang/test/CodeGenOpenCL/builtins-amdgcn-gfx10.cl
M clang/test/CodeGenOpenCL/builtins-amdgcn-gfx11-err.cl
M clang/test/CodeGenOpenCL/builtins-amdgcn-gfx11-param-err.cl
M clang/test/CodeGenOpenCL/builtins-amdgcn-gfx11.cl
M clang/test/CodeGenOpenCL/builtins-amdgcn-gfx12-err.cl
M clang/test/CodeGenOpenCL/builtins-amdgcn-gfx12-param-err.cl
M clang/test/CodeGenOpenCL/builtins-amdgcn-gfx12-wmma-w32.cl
M clang/test/CodeGenOpenCL/builtins-amdgcn-gfx12-wmma-w64.cl
M clang/test/CodeGenOpenCL/builtins-amdgcn-gfx12.cl
M clang/test/CodeGenOpenCL/builtins-amdgcn-gfx9.cl
M clang/test/CodeGenOpenCL/builtins-amdgcn-global-load-tr-gfx11-err.cl
M clang/test/CodeGenOpenCL/builtins-amdgcn-global-load-tr-gfx12-w32-err.cl
M clang/test/CodeGenOpenCL/builtins-amdgcn-global-load-tr-gfx12-w64-err.cl
M clang/test/CodeGenOpenCL/builtins-amdgcn-global-load-tr-w32.cl
M clang/test/CodeGenOpenCL/builtins-amdgcn-global-load-tr-w64.cl
M clang/test/CodeGenOpenCL/builtins-amdgcn-gws-insts.cl
M clang/test/CodeGenOpenCL/builtins-amdgcn-interp.cl
M clang/test/CodeGenOpenCL/builtins-amdgcn-mfma.cl
M clang/test/CodeGenOpenCL/builtins-amdgcn-raytracing.cl
M clang/test/CodeGenOpenCL/builtins-amdgcn-swmmac-w32.cl
M clang/test/CodeGenOpenCL/builtins-amdgcn-swmmac-w64.cl
M clang/test/CodeGenOpenCL/builtins-amdgcn-vi.cl
M clang/test/CodeGenOpenCL/builtins-amdgcn-wave32.cl
M clang/test/CodeGenOpenCL/builtins-amdgcn-wave64.cl
M clang/test/CodeGenOpenCL/builtins-amdgcn-wmma-w32.cl
M clang/test/CodeGenOpenCL/builtins-amdgcn-wmma-w64.cl
M clang/test/CodeGenOpenCL/builtins-amdgcn.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-generic-amdgcn.cl
M clang/test/CodeGenOpenCL/builtins-r600.cl
M clang/test/CodeGenOpenCL/numbered-address-space.cl
M clang/test/CodeGenOpenCL/sqrt-fpmath.cl
M clang/test/CodeGenOpenCL/visibility.cl
M clang/test/CodeGenOpenCLCXX/addrspace-with-class.clcpp
M clang/test/CodeGenSYCL/function-attrs.cpp
M clang/test/CodeGenSYCL/functionptr-addrspace.cpp
M clang/test/CoverageMapping/pr32679.cpp
A clang/test/Driver/aarch64-fmv.c
M clang/test/Driver/aarch64-implied-sme-features.c
M clang/test/Driver/aarch64-implied-sve-features.c
M clang/test/Driver/aarch64-ptrauth.c
M clang/test/Driver/arm-cortex-cpus-1.c
M clang/test/Driver/arm-features.c
M clang/test/Driver/clang-offload-bundler-asserts-on.c
M clang/test/Driver/clang-offload-bundler-standardize.c
M clang/test/Driver/clang-offload-bundler-zlib.c
M clang/test/Driver/clang-offload-bundler-zstd.c
M clang/test/Driver/clang-offload-bundler.c
M clang/test/Driver/dxc_dxv_path.hlsl
M clang/test/Driver/dxc_fcgl.hlsl
M clang/test/Driver/fp-contract.c
M clang/test/Driver/fp-model.c
A clang/test/Driver/frelaxed-template-template-args.cpp
A clang/test/Driver/fseparate-named-sections.c
M clang/test/Driver/linker-wrapper-image.c
M clang/test/Driver/linker-wrapper.c
M clang/test/Driver/msvc-link.c
M clang/test/Driver/plugin-driver-args.cpp
M clang/test/Driver/ps4-ps5-relax-relocations.c
M clang/test/Driver/rewrite-legacy-objc.m
M clang/test/Driver/rewrite-objc.m
M clang/test/Driver/riscv-arch.c
A clang/test/Driver/std-trigraph-override.c
M clang/test/Driver/std.c
M clang/test/Driver/wasm-features.c
M clang/test/Driver/wasm-toolchain.c
M clang/test/Driver/x86-target-features.c
M clang/test/FixIt/dereference-addressof.c
A clang/test/FixIt/fixit-c++2a-tls.cpp
M clang/test/FixIt/fixit-c++2a.cpp
M clang/test/FixIt/fixit-format-darwin.m
M clang/test/FixIt/fixit-format-ios-nopedantic.m
M clang/test/FixIt/fixit-format-ios.m
M clang/test/FixIt/fixit-include.c
M clang/test/FixIt/fixit-unused-lambda-capture.cpp
M clang/test/FixIt/objc-literals.m
M clang/test/FixIt/typo-location-bugs.cpp
M clang/test/FixIt/typo-using.cpp
M clang/test/FixIt/typo.c
M clang/test/FixIt/typo.cpp
M clang/test/FixIt/typo.m
M clang/test/Frontend/fixed_point_add.c
M clang/test/Frontend/fixed_point_add_const.c
M clang/test/Frontend/fixed_point_comparisons.c
M clang/test/Frontend/fixed_point_compound.c
M clang/test/Frontend/fixed_point_conversions.c
M clang/test/Frontend/fixed_point_conversions_const.c
M clang/test/Frontend/fixed_point_conversions_half.c
M clang/test/Frontend/fixed_point_div.c
M clang/test/Frontend/fixed_point_div_const.c
M clang/test/Frontend/fixed_point_mul.c
M clang/test/Frontend/fixed_point_mul_const.c
M clang/test/Frontend/fixed_point_same_fbits.c
M clang/test/Frontend/fixed_point_shift.c
M clang/test/Frontend/fixed_point_shift_const.c
M clang/test/Frontend/fixed_point_sub.c
M clang/test/Frontend/fixed_point_sub_const.c
M clang/test/Frontend/fixed_point_to_bool.c
M clang/test/Frontend/fixed_point_unary.c
M clang/test/Frontend/gnu-inline.c
M clang/test/Frontend/hexagon-target-basic.c
M clang/test/Frontend/invalid-cxx-abi.cpp
M clang/test/Frontend/llvmplugins.c
A clang/test/Frontend/multiple-actions.c
M clang/test/Frontend/objc-bool-is-bool.m
M clang/test/Frontend/output-paths.c
M clang/test/Frontend/rewrite-includes-macros.cpp
M clang/test/Frontend/valid-cxx-abi.cpp
M clang/test/Headers/arm-acle-header.c
M clang/test/Headers/ms-arm64-intrin.cpp
A clang/test/InstallAPI/Inputs/Foundation/Foundation.framework/Modules/module.modulemap
A clang/test/InstallAPI/Inputs/LibFoo/usr/include/foo.h
A clang/test/InstallAPI/Inputs/LibFoo/usr/include/macro_defs.h
A clang/test/InstallAPI/Inputs/LibFoo/usr/include/public.h
A clang/test/InstallAPI/Inputs/Zippered/Zippered.framework/Headers/Zippered.h
A clang/test/InstallAPI/Inputs/Zippered/Zippered.framework/PrivateHeaders/Zippered_Private.h
A clang/test/InstallAPI/Inputs/Zippered/Zippered.tbd
A clang/test/InstallAPI/Inputs/Zippered/Zippered.yaml
A clang/test/InstallAPI/exclusive-passes-2.test
A clang/test/InstallAPI/exclusive-passes-platform.test
A clang/test/InstallAPI/exclusive-passes-zippered.test
A clang/test/InstallAPI/exclusive-passes.test
A clang/test/InstallAPI/invalid-exclusive-passes.test
A clang/test/InstallAPI/project-header-only-args.test
M clang/test/Interpreter/const.cpp
M clang/test/Layout/aix-power-alignment-typedef-2.cpp
M clang/test/Layout/aix-type-align-and-pack-attr.cpp
M clang/test/Layout/ms-aligned-array.c
M clang/test/Layout/ms-vtordisp-local.cpp
M clang/test/Layout/ms-x86-alias-avoidance-padding.cpp
M clang/test/Layout/ms-x86-aligned-tail-padding.cpp
M clang/test/Layout/ms-x86-basic-layout.cpp
M clang/test/Layout/ms-x86-bitfields-vbases.cpp
M clang/test/Layout/ms-x86-declspec-empty_bases.cpp
M clang/test/Layout/ms-x86-empty-layout.c
M clang/test/Layout/ms-x86-empty-nonvirtual-bases.cpp
M clang/test/Layout/ms-x86-empty-virtual-base.cpp
M clang/test/Layout/ms-x86-lazy-empty-nonvirtual-base.cpp
M clang/test/Layout/ms-x86-member-pointers.cpp
M clang/test/Layout/ms-x86-misalignedarray.cpp
M clang/test/Layout/ms-x86-pack-and-align.cpp
M clang/test/Layout/ms-x86-primary-bases.cpp
M clang/test/Layout/ms-x86-vfvb-alignment.cpp
M clang/test/Layout/ms-x86-vfvb-sharing.cpp
M clang/test/Layout/ms-x86-vtordisp.cpp
M clang/test/Lexer/cxx-features.cpp
M clang/test/Lexer/minimize_source_to_dependency_directives_include.c
M clang/test/Lexer/minimize_source_to_dependency_directives_utf8bom.c
M clang/test/Lexer/ms-compatibility.c
M clang/test/Lexer/raw-string-dlim-invalid.cpp
M clang/test/Lexer/unicode.c
M clang/test/Lexer/wchar-signedness.c
M clang/test/Misc/backend-optimization-failure-nodbg.cpp
M clang/test/Misc/backend-optimization-failure.cpp
M clang/test/Misc/loop-opt-setup.c
M clang/test/Misc/pragma-attribute-cxx.cpp
M clang/test/Misc/pragma-attribute-objc.m
M clang/test/Misc/pragma-attribute-strict-subjects.c
M clang/test/Modules/DebugInfo-fmodule-name.c
M clang/test/Modules/cstd.m
M clang/test/Modules/cxx20-10-5-ex1.cpp
M clang/test/Modules/cxx20-importing-function-bodies.cppm
M clang/test/Modules/cxx20-include-translation.cpp
M clang/test/Modules/eagerly-load-cxx-named-modules.cppm
A clang/test/Modules/function-transitive-change.cppm
M clang/test/Modules/getSourceDescriptor-crash.cpp
M clang/test/Modules/implicit-module-no-timestamp.cpp
M clang/test/Modules/language-linkage.cppm
M clang/test/Modules/load-module-with-errors.m
M clang/test/Modules/merge-objc-protocol-visibility.m
M clang/test/Modules/module-init-duplicated-import.cppm
A clang/test/Modules/module-symlink.m
M clang/test/Modules/modules-reduced-bmi.cppm
M clang/test/Modules/no-duplicate-codegen-in-GMF.cppm
M clang/test/Modules/no-import-func-body.cppm
A clang/test/Modules/no-transitive-source-location-change.cppm
A clang/test/Modules/odr_hash-enum.c
M clang/test/Modules/odr_using_dependent_name.cppm
M clang/test/Modules/pr58716.cppm
M clang/test/Modules/pr59780.cppm
M clang/test/Modules/pr59999.cppm
M clang/test/Modules/pr60085.cppm
M clang/test/Modules/pr60693.cppm
M clang/test/Modules/pr60890.cppm
M clang/test/Modules/pr61067.cppm
M clang/test/Modules/pr61783.cppm
M clang/test/Modules/pr64091.cpp
M clang/test/Modules/pr67893.cppm
M clang/test/Modules/pr72828.cppm
M clang/test/Modules/pr78830.cppm
A clang/test/Modules/pr91105.cppm
M clang/test/Modules/prune-non-affecting-module-map-files-textual.c
M clang/test/Modules/reduced-bmi-generating-codes.cppm
M clang/test/Modules/stress1.cpp
M clang/test/OpenMP/allocate_allocator_ast_print.cpp
M clang/test/OpenMP/allocate_ast_print.cpp
M clang/test/OpenMP/amdgpu_exceptions.cpp
M clang/test/OpenMP/amdgpu_throw.cpp
M clang/test/OpenMP/amdgpu_throw_trap.cpp
M clang/test/OpenMP/amdgpu_try_catch.cpp
M clang/test/OpenMP/assumes_print.cpp
M clang/test/OpenMP/assumes_template_print.cpp
M clang/test/OpenMP/atomic_ast_print.cpp
M clang/test/OpenMP/barrier_ast_print.cpp
M clang/test/OpenMP/cancel_ast_print.cpp
M clang/test/OpenMP/cancel_codegen.cpp
M clang/test/OpenMP/cancellation_point_ast_print.cpp
M clang/test/OpenMP/cancellation_point_codegen.cpp
M clang/test/OpenMP/constexpr_capture.cpp
M clang/test/OpenMP/critical_ast_print.cpp
M clang/test/OpenMP/declare_mapper_ast_print.c
M clang/test/OpenMP/declare_mapper_ast_print.cpp
M clang/test/OpenMP/declare_reduction_ast_print.c
M clang/test/OpenMP/declare_reduction_ast_print.cpp
M clang/test/OpenMP/declare_simd_ast_print.c
M clang/test/OpenMP/declare_simd_ast_print.cpp
M clang/test/OpenMP/declare_target_ast_print.cpp
M clang/test/OpenMP/declare_target_codegen.cpp
M clang/test/OpenMP/declare_target_link_codegen.cpp
M clang/test/OpenMP/declare_variant_device_kind_codegen.cpp
M clang/test/OpenMP/declare_variant_mixed_codegen.c
M clang/test/OpenMP/depobj_ast_print.cpp
M clang/test/OpenMP/distribute_ast_print.cpp
M clang/test/OpenMP/distribute_dist_schedule_ast_print.cpp
M clang/test/OpenMP/distribute_parallel_for_ast_print.cpp
M clang/test/OpenMP/distribute_parallel_for_num_threads_codegen.cpp
M clang/test/OpenMP/distribute_parallel_for_simd_ast_print.cpp
M clang/test/OpenMP/distribute_parallel_for_simd_num_threads_codegen.cpp
M clang/test/OpenMP/distribute_simd_ast_print.cpp
M clang/test/OpenMP/error_ast_print.cpp
M clang/test/OpenMP/flush_ast_print.cpp
M clang/test/OpenMP/for_ast_print.cpp
M clang/test/OpenMP/for_ast_print_cxx20.cpp
M clang/test/OpenMP/for_loop_auto.cpp
M clang/test/OpenMP/for_simd_ast_print.cpp
M clang/test/OpenMP/masked_ast_print.cpp
M clang/test/OpenMP/masked_taskloop_ast_print.cpp
M clang/test/OpenMP/masked_taskloop_simd_ast_print.cpp
M clang/test/OpenMP/master_ast_print.cpp
M clang/test/OpenMP/master_taskloop_ast_print.cpp
M clang/test/OpenMP/master_taskloop_simd_ast_print.cpp
M clang/test/OpenMP/nvptx_declare_target_var_ctor_dtor_codegen.cpp
M clang/test/OpenMP/nvptx_declare_variant_device_kind_codegen.cpp
M clang/test/OpenMP/nvptx_declare_variant_implementation_vendor_codegen.cpp
M clang/test/OpenMP/nvptx_declare_variant_name_mangling.cpp
M clang/test/OpenMP/nvptx_exceptions.cpp
M clang/test/OpenMP/nvptx_lambda_capturing.cpp
M clang/test/OpenMP/nvptx_throw.cpp
M clang/test/OpenMP/nvptx_throw_trap.cpp
M clang/test/OpenMP/nvptx_try_catch.cpp
M clang/test/OpenMP/openmp-read-only-feature.c
M clang/test/OpenMP/openmp_capture_const_var_ast_print.cpp
M clang/test/OpenMP/openmp_offload_codegen.cpp
M clang/test/OpenMP/ordered_ast_print.cpp
M clang/test/OpenMP/parallel_ast_print.cpp
M clang/test/OpenMP/parallel_for_ast_print.cpp
M clang/test/OpenMP/parallel_for_simd_ast_print.cpp
M clang/test/OpenMP/parallel_masked_ast_print.cpp
M clang/test/OpenMP/parallel_masked_taskloop_ast_print.cpp
M clang/test/OpenMP/parallel_masked_taskloop_simd_ast_print.cpp
M clang/test/OpenMP/parallel_master_ast_print.cpp
M clang/test/OpenMP/parallel_master_taskloop_ast_print.cpp
M clang/test/OpenMP/parallel_master_taskloop_simd_ast_print.cpp
M clang/test/OpenMP/parallel_sections_ast_print.cpp
M clang/test/OpenMP/parallel_sections_codegen.cpp
M clang/test/OpenMP/requires_acq_rel_codegen.cpp
M clang/test/OpenMP/requires_acq_rel_print.cpp
M clang/test/OpenMP/requires_ast_print.cpp
M clang/test/OpenMP/requires_relaxed_codegen.cpp
M clang/test/OpenMP/requires_relaxed_print.cpp
M clang/test/OpenMP/requires_seq_cst_codegen.cpp
M clang/test/OpenMP/scan_ast_print.cpp
M clang/test/OpenMP/sections_ast_print.cpp
M clang/test/OpenMP/sections_codegen.cpp
M clang/test/OpenMP/simd_ast_print.cpp
M clang/test/OpenMP/single_ast_print.cpp
M clang/test/OpenMP/target_ast_print.cpp
M clang/test/OpenMP/target_data_ast_print.cpp
M clang/test/OpenMP/target_data_use_device_ptr_addr_ast_print.cpp
M clang/test/OpenMP/target_enter_data_ast_print.cpp
M clang/test/OpenMP/target_enter_data_ast_print_openmp52.cpp
M clang/test/OpenMP/target_exit_data_ast_print.cpp
M clang/test/OpenMP/target_exit_data_ast_print_openmp52.cpp
M clang/test/OpenMP/target_has_device_addr_ast_print.cpp
M clang/test/OpenMP/target_indirect_codegen.cpp
M clang/test/OpenMP/target_is_device_ptr_ast_print.cpp
M clang/test/OpenMP/target_parallel_ast_print.cpp
M clang/test/OpenMP/target_parallel_for_ast_print.cpp
M clang/test/OpenMP/target_parallel_for_is_device_ptr_ast_print.cpp
M clang/test/OpenMP/target_parallel_for_simd_ast_print.cpp
M clang/test/OpenMP/target_parallel_for_simd_is_device_ptr_ast_print.cpp
M clang/test/OpenMP/target_parallel_is_device_ptr_ast_print.cpp
M clang/test/OpenMP/target_simd_ast_print.cpp
M clang/test/OpenMP/target_teams_ast_print.cpp
M clang/test/OpenMP/target_teams_distribute_ast_print.cpp
M clang/test/OpenMP/target_teams_distribute_parallel_for_ast_print.cpp
M clang/test/OpenMP/target_teams_distribute_parallel_for_is_device_ptr_ast_print.cpp
M clang/test/OpenMP/target_teams_distribute_parallel_for_simd_ast_print.cpp
M clang/test/OpenMP/target_teams_distribute_parallel_for_simd_is_device_ptr_ast_print.cpp
M clang/test/OpenMP/target_teams_distribute_simd_ast_print.cpp
M clang/test/OpenMP/target_teams_distribute_simd_is_device_ptr_ast_print.cpp
M clang/test/OpenMP/target_teams_is_device_ptr_ast_print.cpp
M clang/test/OpenMP/target_update_ast_print.cpp
M clang/test/OpenMP/task_ast_print.cpp
M clang/test/OpenMP/task_depend_template_call_ast_print.cpp
M clang/test/OpenMP/taskgroup_ast_print.cpp
M clang/test/OpenMP/taskloop_ast_print.cpp
M clang/test/OpenMP/taskloop_simd_ast_print.cpp
M clang/test/OpenMP/taskloop_strict_modifier_ast_print.cpp
M clang/test/OpenMP/taskwait_ast_print.cpp
M clang/test/OpenMP/taskyield_ast_print.cpp
M clang/test/OpenMP/teams_ast_print.cpp
M clang/test/OpenMP/teams_distribute_ast_print.cpp
M clang/test/OpenMP/teams_distribute_parallel_for_ast_print.cpp
M clang/test/OpenMP/teams_distribute_parallel_for_simd_ast_print.cpp
M clang/test/OpenMP/teams_distribute_simd_ast_print.cpp
M clang/test/OpenMP/threadprivate_ast_print.cpp
M clang/test/OpenMP/tile_ast_print.cpp
M clang/test/OpenMP/tile_codegen.cpp
M clang/test/OpenMP/tile_messages.cpp
M clang/test/OpenMP/x86_target_exceptions.cpp
M clang/test/OpenMP/x86_target_throw.cpp
M clang/test/OpenMP/x86_target_try_catch.cpp
M clang/test/Options/HV.hlsl
M clang/test/Options/enable_16bit_types_validation.hlsl
M clang/test/Options/enable_16bit_types_validation_spirv.hlsl
M clang/test/PCH/arc.m
M clang/test/PCH/blocks.c
M clang/test/PCH/chain-openmp-threadprivate.cpp
M clang/test/PCH/cxx-alias-decl.cpp
M clang/test/PCH/cxx-for-range.cpp
M clang/test/PCH/cxx-member-init.cpp
M clang/test/PCH/cxx-namespaces.cpp
M clang/test/PCH/cxx-reference.cpp
M clang/test/PCH/cxx1z-init-statement.cpp
M clang/test/PCH/cxx_exprs.cpp
M clang/test/PCH/cxx_paren_init.cpp
M clang/test/PCH/empty-with-headers.c
M clang/test/PCH/fixed-point-literal.c
M clang/test/PCH/local_static.cpp
M clang/test/PCH/ms-if-exists.cpp
M clang/test/PCH/multiple_decls.c
M clang/test/PCH/ocl_types.cl
M clang/test/PCH/rdar10830559.cpp
M clang/test/PCH/stmt-openmp_structured_block-bit.cpp
M clang/test/PCH/stmts.c
M clang/test/PCH/types.c
M clang/test/PCH/uuidof.cpp
M clang/test/Parser/extra-semi.cpp
M clang/test/Parser/objc-attr.m
M clang/test/ParserOpenACC/parse-cache-construct.c
M clang/test/ParserOpenACC/parse-cache-construct.cpp
M clang/test/ParserOpenACC/parse-clauses.c
M clang/test/ParserOpenACC/parse-clauses.cpp
A clang/test/ParserOpenACC/parse-sub-array.cpp
M clang/test/ParserOpenACC/parse-wait-clause.c
M clang/test/ParserOpenACC/parse-wait-construct.c
M clang/test/Preprocessor/aarch64-target-features.c
M clang/test/Preprocessor/arm-target-features.c
M clang/test/Preprocessor/macro_vaopt_check.cpp
M clang/test/Preprocessor/macro_vaopt_expand.cpp
M clang/test/Preprocessor/print-pragma-microsoft.c
M clang/test/Preprocessor/ptrauth_feature.c
M clang/test/Preprocessor/riscv-target-features.c
M clang/test/Preprocessor/wasm-target-features.c
M clang/test/Preprocessor/x86_target_features.c
M clang/test/Profile/cxx-missing-bodies.cpp
A clang/test/Profile/debug-info-instr_profile_switch.cpp
M clang/test/Rewriter/rewrite-super-message.mm
M clang/test/Sema/aarch64-fp16-target.c
M clang/test/Sema/aarch64-neon-target.c
M clang/test/Sema/aarch64-sme-intrinsics/acle_sme_target.c
A clang/test/Sema/aarch64-sme2-intrinsics/acle_sme2_fmlas16.c
A clang/test/Sema/aarch64-sme2-intrinsics/acle_sme2_mopa_nonwide.c
M clang/test/Sema/aarch64-sve-intrinsics/acle_sve_bfloat.cpp
M clang/test/Sema/aarch64-sve-intrinsics/acle_sve_target.cpp
M clang/test/Sema/aarch64-sve-vector-log-ops.c
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/aix-builtin-cpu-unsupports.c
M clang/test/Sema/arm-neon-target.c
M clang/test/Sema/attr-alias-elf.c
M clang/test/Sema/attr-availability-swift.c
M clang/test/Sema/attr-self-alias.c
M clang/test/Sema/bpf-attr-preserve-static-offset.c
A clang/test/Sema/builtin-cpu-unsupports-AIX-Os.c
M clang/test/Sema/builtin-setjmp.c
M clang/test/Sema/builtins-arm64-mte.c
M clang/test/Sema/builtins-elementwise-math.c
M clang/test/Sema/code_align_ast.c
M clang/test/Sema/format-strings-no-fixit.c
A clang/test/Sema/incomplete-struct-decl.cpp
M clang/test/Sema/incorrect_pure.cpp
M clang/test/Sema/ppc-attr-target-inline.c
M clang/test/Sema/riscv-rvv-vector-log-ops.c
M clang/test/Sema/riscv-rvv-vector-trig-ops.c
M clang/test/Sema/sizeof-struct-non-zero-as-member.cl
M clang/test/Sema/test-wunaligned-access.c
M clang/test/Sema/test-wunaligned-access.cpp
M clang/test/Sema/thread_local.c
M clang/test/Sema/uninit-variables-riscv-vector.c
M clang/test/Sema/uninit-variables-vectors.c
M clang/test/Sema/uninit-variables.c
M clang/test/Sema/warn-documentation-almost-trailing.c
M clang/test/Sema/warn-strncat-size.c
M clang/test/SemaCUDA/call-kernel-from-kernel.cu
M clang/test/SemaCUDA/constexpr-variables.cu
M clang/test/SemaCUDA/fp16-arg-return.cu
M clang/test/SemaCUDA/qualifiers.cu
M clang/test/SemaCUDA/static-device-var.cu
A clang/test/SemaCXX/PR12361.cpp
M clang/test/SemaCXX/PR62533.cpp
M clang/test/SemaCXX/attr-non-x86-no_caller_saved_registers.cpp
M clang/test/SemaCXX/attr-x86-no_caller_saved_registers.cpp
M clang/test/SemaCXX/builtins-elementwise-math.cpp
M clang/test/SemaCXX/co_await-ast.cpp
M clang/test/SemaCXX/compound-literal.cpp
M clang/test/SemaCXX/constexpr-default-arg.cpp
M clang/test/SemaCXX/cxx1y-generic-lambdas-capturing.cpp
M clang/test/SemaCXX/cxx1y-generic-lambdas.cpp
M clang/test/SemaCXX/cxx1z-lambda-star-this.cpp
M clang/test/SemaCXX/cxx1z-noexcept-function-type.cpp
M clang/test/SemaCXX/cxx20-ctad-type-alias.cpp
M clang/test/SemaCXX/cxx20-lambda-decltype-this.cpp
M clang/test/SemaCXX/cxx23-assume.cpp
M clang/test/SemaCXX/cxx23-static-callop-lambda-expression.cpp
M clang/test/SemaCXX/cxx2a-consteval.cpp
M clang/test/SemaCXX/cxx2b-ast-print.cpp
M clang/test/SemaCXX/cxx2b-consteval-propagate.cpp
M clang/test/SemaCXX/cxx2b-deducing-this-constexpr.cpp
M clang/test/SemaCXX/delete-and-function-templates.cpp
M clang/test/SemaCXX/delete.cpp
M clang/test/SemaCXX/enum-scoped.cpp
M clang/test/SemaCXX/eval-crashes.cpp
M clang/test/SemaCXX/friend3.cpp
M clang/test/SemaCXX/lambda-conversion-op-cc.cpp
M clang/test/SemaCXX/ms_wide_bitfield.cpp
M clang/test/SemaCXX/type-traits.cpp
M clang/test/SemaCXX/uninit-variables-conditional.cpp
M clang/test/SemaCXX/uninit-variables.cpp
M clang/test/SemaCXX/vla-ext-diag.cpp
M clang/test/SemaCXX/warn-redundant-move.cpp
M clang/test/SemaCXX/warn-shadow.cpp
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/OverloadResolutionBugs.hlsl
A clang/test/SemaHLSL/ScalarOverloadResolution.hlsl
A clang/test/SemaHLSL/Types/Arithmetic/half_size.hlsl
A clang/test/SemaHLSL/Types/Arithmetic/literal_suffixes.hlsl
A clang/test/SemaHLSL/Types/Arithmetic/literal_suffixes_202x.hlsl
A clang/test/SemaHLSL/Types/Arithmetic/literal_suffixes_no_16bit.hlsl
M clang/test/SemaHLSL/Types/BuiltinVector/ScalarSwizzles.hlsl
A clang/test/SemaHLSL/VectorElementOverloadResolution.hlsl
R clang/test/SemaHLSL/literal_suffixes.hlsl
R clang/test/SemaHLSL/literal_suffixes_no_16bit.hlsl
A clang/test/SemaHLSL/packoffset-invalid.hlsl
M clang/test/SemaObjC/uninit-variables.m
M clang/test/SemaObjCXX/block-cleanup.mm
A clang/test/SemaOpenACC/compute-construct-async-clause.c
A clang/test/SemaOpenACC/compute-construct-async-clause.cpp
A clang/test/SemaOpenACC/compute-construct-attach-clause.c
A clang/test/SemaOpenACC/compute-construct-attach-clause.cpp
A clang/test/SemaOpenACC/compute-construct-copy-clause.c
A clang/test/SemaOpenACC/compute-construct-copy-clause.cpp
A clang/test/SemaOpenACC/compute-construct-copyin-clause.c
A clang/test/SemaOpenACC/compute-construct-copyin-clause.cpp
A clang/test/SemaOpenACC/compute-construct-copyout-clause.c
A clang/test/SemaOpenACC/compute-construct-copyout-clause.cpp
A clang/test/SemaOpenACC/compute-construct-create-clause.c
A clang/test/SemaOpenACC/compute-construct-create-clause.cpp
A clang/test/SemaOpenACC/compute-construct-deviceptr-clause.c
A clang/test/SemaOpenACC/compute-construct-deviceptr-clause.cpp
A clang/test/SemaOpenACC/compute-construct-firstprivate-clause.c
A clang/test/SemaOpenACC/compute-construct-firstprivate-clause.cpp
M clang/test/SemaOpenACC/compute-construct-intexpr-clause-ast.cpp
A clang/test/SemaOpenACC/compute-construct-no_create-clause.c
A clang/test/SemaOpenACC/compute-construct-no_create-clause.cpp
A clang/test/SemaOpenACC/compute-construct-present-clause.c
A clang/test/SemaOpenACC/compute-construct-present-clause.cpp
M clang/test/SemaOpenACC/compute-construct-private-clause.c
M clang/test/SemaOpenACC/compute-construct-private-clause.cpp
M clang/test/SemaOpenACC/compute-construct-varlist-ast.cpp
A clang/test/SemaOpenACC/compute-construct-wait-clause.c
A clang/test/SemaOpenACC/compute-construct-wait-clause.cpp
A clang/test/SemaOpenACC/sub-array-ast.cpp
A clang/test/SemaOpenACC/sub-array.cpp
M clang/test/SemaOpenCL/as_type.cl
M clang/test/SemaOpenCL/multistep-explicit-cast.cl
M clang/test/SemaTemplate/ctad.cpp
A clang/test/SemaTemplate/cwg2398.cpp
M clang/test/SemaTemplate/deduction-guide.cpp
M clang/test/SemaTemplate/default-arguments-ast-print.cpp
M clang/test/SemaTemplate/default-arguments.cpp
M clang/test/SemaTemplate/default-expr-arguments-3.cpp
M clang/test/SemaTemplate/instantiate-friend-function.cpp
M clang/test/SemaTemplate/instantiate-template-template-parm.cpp
M clang/test/SemaTemplate/instantiation-depth-default.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/pr47676.cpp
M clang/test/SemaTemplate/temp_arg_enum_printing.cpp
M clang/test/SemaTemplate/temp_arg_enum_printing_more.cpp
M clang/test/SemaTemplate/temp_arg_string_printing.cpp
M clang/test/SemaTemplate/temp_arg_template.cpp
M clang/test/SemaTemplate/temp_arg_template_cxx1z.cpp
M clang/test/SemaTemplate/temp_arg_type.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/VFS/directory.c
M clang/test/VFS/external-names-multi-overlay.c
M clang/test/VFS/fallback.c
M clang/test/lit.site.cfg.py.in
M clang/tools/clang-installapi/ClangInstallAPI.cpp
M clang/tools/clang-installapi/InstallAPIOpts.td
M clang/tools/clang-installapi/Options.cpp
M clang/tools/clang-installapi/Options.h
M clang/tools/clang-linker-wrapper/ClangLinkerWrapper.cpp
M clang/tools/diagtool/ShowEnabledWarnings.cpp
M clang/tools/diagtool/TreeView.cpp
M clang/tools/libclang/CIndex.cpp
M clang/unittests/AST/CMakeLists.txt
A clang/unittests/AST/ConceptPrinterTest.cpp
M clang/unittests/AST/Interp/Descriptor.cpp
M clang/unittests/Analysis/FlowSensitive/CMakeLists.txt
R clang/unittests/Analysis/FlowSensitive/SolverTest.cpp
A clang/unittests/Analysis/FlowSensitive/SolverTest.h
M clang/unittests/Analysis/FlowSensitive/TransferTest.cpp
A clang/unittests/Analysis/FlowSensitive/WatchedLiteralsSolverTest.cpp
M clang/unittests/CodeGen/IRMatchers.h
M clang/unittests/Driver/DXCModeTest.cpp
M clang/unittests/Format/ConfigParseTest.cpp
M clang/unittests/Format/FormatTest.cpp
M clang/unittests/Format/FormatTestJava.cpp
M clang/unittests/Format/TokenAnnotatorTest.cpp
M clang/unittests/Serialization/SourceLocationEncodingTest.cpp
M clang/www/cxx_dr_status.html
M clang/www/cxx_status.html
M compiler-rt/cmake/Modules/CompilerRTUtils.cmake
M compiler-rt/lib/ctx_profile/CMakeLists.txt
A compiler-rt/lib/ctx_profile/CtxInstrContextNode.h
M compiler-rt/lib/ctx_profile/CtxInstrProfiling.cpp
M compiler-rt/lib/ctx_profile/CtxInstrProfiling.h
M compiler-rt/lib/ctx_profile/tests/CtxInstrProfilingTest.cpp
M compiler-rt/lib/fuzzer/FuzzerDriver.cpp
M compiler-rt/lib/xray/xray_utils.h
M compiler-rt/test/asan/TestCases/Posix/fake_stack_gc.cpp
M compiler-rt/test/ctx_profile/CMakeLists.txt
A compiler-rt/test/ctx_profile/TestCases/check-same-ctx-node.test
A compiler-rt/test/ctx_profile/lit.cfg.py
A compiler-rt/test/ctx_profile/lit.site.cfg.py.in
M compiler-rt/test/dfsan/release_shadow_space.c
M compiler-rt/test/lit.common.cfg.py
M compiler-rt/test/sanitizer_common/TestCases/sanitizer_coverage_trace_pc_guard.cpp
M flang/docs/Extensions.md
M flang/docs/FlangDriver.md
M flang/docs/OpenMP-descriptor-management.md
M flang/include/flang/Common/Fortran-features.h
M flang/include/flang/Common/Fortran.h
M flang/include/flang/Evaluate/tools.h
M flang/include/flang/Frontend/CompilerInvocation.h
M flang/include/flang/Lower/AbstractConverter.h
M flang/include/flang/Optimizer/Builder/FIRBuilder.h
M flang/include/flang/Optimizer/Builder/HLFIRTools.h
M flang/include/flang/Optimizer/Dialect/FIROps.td
M flang/include/flang/Optimizer/HLFIR/HLFIROps.td
M flang/include/flang/Optimizer/Transforms/Passes.h
M flang/include/flang/Optimizer/Transforms/Passes.td
M flang/include/flang/Parser/parse-tree.h
M flang/include/flang/Semantics/symbol.h
M flang/include/flang/Semantics/tools.h
M flang/include/flang/Tools/CLOptions.inc
M flang/include/flang/Tools/CrossToolHelpers.h
M flang/lib/Common/Fortran.cpp
M flang/lib/Evaluate/fold-designator.cpp
M flang/lib/Evaluate/fold-real.cpp
M flang/lib/Evaluate/formatting.cpp
M flang/lib/Evaluate/tools.cpp
M flang/lib/Frontend/CompilerInvocation.cpp
M flang/lib/Frontend/FrontendActions.cpp
M flang/lib/Lower/Bridge.cpp
M flang/lib/Lower/CMakeLists.txt
M flang/lib/Lower/ConvertArrayConstructor.cpp
M flang/lib/Lower/ConvertCall.cpp
M flang/lib/Lower/ConvertExprToHLFIR.cpp
M flang/lib/Lower/ConvertVariable.cpp
M flang/lib/Lower/OpenACC.cpp
M flang/lib/Lower/OpenMP/ClauseProcessor.cpp
M flang/lib/Lower/OpenMP/ClauseProcessor.h
M flang/lib/Lower/OpenMP/Clauses.cpp
M flang/lib/Lower/OpenMP/Clauses.h
M flang/lib/Lower/OpenMP/DataSharingProcessor.cpp
M flang/lib/Lower/OpenMP/DataSharingProcessor.h
A flang/lib/Lower/OpenMP/Decomposer.cpp
A flang/lib/Lower/OpenMP/Decomposer.h
M flang/lib/Lower/OpenMP/OpenMP.cpp
M flang/lib/Lower/OpenMP/Utils.cpp
M flang/lib/Lower/OpenMP/Utils.h
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/TemporaryStorage.cpp
M flang/lib/Optimizer/CodeGen/CodeGen.cpp
M flang/lib/Optimizer/Dialect/FIROps.cpp
M flang/lib/Optimizer/HLFIR/IR/HLFIROps.cpp
M flang/lib/Optimizer/HLFIR/Transforms/BufferizeHLFIR.cpp
M flang/lib/Optimizer/Transforms/CMakeLists.txt
R flang/lib/Optimizer/Transforms/OMPDescriptorMapInfoGen.cpp
A flang/lib/Optimizer/Transforms/OMPMapInfoFinalization.cpp
M flang/lib/Parser/openmp-parsers.cpp
M flang/lib/Parser/program-parsers.cpp
M flang/lib/Semantics/check-call.cpp
M flang/lib/Semantics/check-declarations.cpp
M flang/lib/Semantics/check-omp-structure.cpp
M flang/lib/Semantics/compute-offsets.cpp
M flang/lib/Semantics/data-to-inits.cpp
M flang/lib/Semantics/expression.cpp
M flang/lib/Semantics/resolve-directives.cpp
M flang/lib/Semantics/resolve-names-utils.cpp
M flang/lib/Semantics/resolve-names.cpp
M flang/lib/Semantics/tools.cpp
M flang/runtime/extensions.cpp
M flang/runtime/product.cpp
M flang/runtime/reduction-templates.h
M flang/runtime/sum.cpp
R flang/test/Driver/driver-help-hidden.f90
A flang/test/Driver/w-option.f90
M flang/test/Evaluate/rewrite-out_of_range.F90
M flang/test/Fir/convert-to-llvm-openmp-and-fir.fir
M flang/test/Fir/cuf-invalid.fir
M flang/test/Fir/dispatch.f90
M flang/test/HLFIR/assumed-type-actual-args.f90
M flang/test/HLFIR/assumed_shape_with_value_keyword.f90
M flang/test/HLFIR/boxchar_emboxing.f90
M flang/test/HLFIR/c_ptr_byvalue.f90
M flang/test/HLFIR/call_with_poly_dummy.f90
M flang/test/HLFIR/optional_dummy.f90
M flang/test/HLFIR/order_assignments/where-scheduling.f90
M flang/test/Integration/OpenMP/map-types-and-sizes.f90
A flang/test/Integration/debug-loc-1.f90
M flang/test/Lower/CUDA/cuda-data-attribute.cuf
M flang/test/Lower/CUDA/cuda-kernel-loop-directive.cuf
M flang/test/Lower/HLFIR/actual_target_for_dummy_pointer.f90
M flang/test/Lower/HLFIR/allocatable-and-pointer-status-change.f90
M flang/test/Lower/HLFIR/allocatables-and-pointers.f90
M flang/test/Lower/HLFIR/array-ctor-as-elemental-nested.f90
M flang/test/Lower/HLFIR/array-ctor-as-elemental.f90
M flang/test/Lower/HLFIR/array-ctor-as-inlined-temp.f90
M flang/test/Lower/HLFIR/array-ctor-index.f90
M flang/test/Lower/HLFIR/assignment-intrinsics.f90
M flang/test/Lower/HLFIR/assumed-rank-iface-alloc-ptr.f90
M flang/test/Lower/HLFIR/assumed-rank-iface.f90
M flang/test/Lower/HLFIR/binary-ops.f90
M flang/test/Lower/HLFIR/bindc-value-derived.f90
M flang/test/Lower/HLFIR/call-sequence-associated-descriptors.f90
M flang/test/Lower/HLFIR/calls-assumed-shape.f90
M flang/test/Lower/HLFIR/calls-constant-expr-arg.f90
M flang/test/Lower/HLFIR/calls-f77.f90
M flang/test/Lower/HLFIR/calls-optional.f90
M flang/test/Lower/HLFIR/calls-percent-val-ref.f90
M flang/test/Lower/HLFIR/calls-poly-to-assumed-type.f90
M flang/test/Lower/HLFIR/char_extremum.f03
M flang/test/Lower/HLFIR/charconvert.f90
M flang/test/Lower/HLFIR/convert-mbox-to-value.f90
M flang/test/Lower/HLFIR/convert-variable-block.f90
M flang/test/Lower/HLFIR/convert-variable.f90
M flang/test/Lower/HLFIR/cray-pointers.f90
M flang/test/Lower/HLFIR/custom-intrinsic.f90
M flang/test/Lower/HLFIR/designators-component-ref.f90
M flang/test/Lower/HLFIR/designators.f90
M flang/test/Lower/HLFIR/dot_product.f90
M flang/test/Lower/HLFIR/elemental-array-ops.f90
M flang/test/Lower/HLFIR/elemental-polymorphic-merge.f90
M flang/test/Lower/HLFIR/elemental-user-procedure-ref.f90
M flang/test/Lower/HLFIR/expr-addr.f90
M flang/test/Lower/HLFIR/expr-box.f90
M flang/test/Lower/HLFIR/expr-value.f90
M flang/test/Lower/HLFIR/ignore-rank-unlimited-polymorphic.f90
M flang/test/Lower/HLFIR/implicit-type-conversion.f90
M flang/test/Lower/HLFIR/intentout-allocatable-components.f90
M flang/test/Lower/HLFIR/internal-procedures.f90
M flang/test/Lower/HLFIR/intrinsic-dynamically-optional.f90
M flang/test/Lower/HLFIR/issue80884.f90
M flang/test/Lower/HLFIR/maxloc.f90
M flang/test/Lower/HLFIR/minloc.f90
M flang/test/Lower/HLFIR/procedure-pointer.f90
M flang/test/Lower/HLFIR/statement-functions.f90
M flang/test/Lower/HLFIR/structure-constructor.f90
M flang/test/Lower/HLFIR/transformational.f90
M flang/test/Lower/HLFIR/transpose.f90
M flang/test/Lower/HLFIR/unary-ops.f90
M flang/test/Lower/HLFIR/user-defined-assignment.f90
M flang/test/Lower/HLFIR/vector-subscript-as-value.f90
M flang/test/Lower/Intrinsics/associated-proc-pointers.f90
M flang/test/Lower/Intrinsics/c_f_procpointer.f90
M flang/test/Lower/Intrinsics/c_funloc-proc-pointers.f90
M flang/test/Lower/Intrinsics/c_ptr_eq_ne.f90
M flang/test/Lower/Intrinsics/execute_command_line-optional.f90
M flang/test/Lower/Intrinsics/execute_command_line.f90
M flang/test/Lower/Intrinsics/ieee_logb.f90
M flang/test/Lower/Intrinsics/product.f90
M flang/test/Lower/Intrinsics/signal.f90
M flang/test/Lower/Intrinsics/sizeof.f90
M flang/test/Lower/Intrinsics/sum.f90
M flang/test/Lower/Intrinsics/system-optional.f90
M flang/test/Lower/Intrinsics/system.f90
M flang/test/Lower/OpenACC/acc-atomic-update-array.f90
M flang/test/Lower/OpenACC/acc-bounds.f90
M flang/test/Lower/OpenACC/acc-declare.f90
M flang/test/Lower/OpenACC/acc-loop-exit.f90
M flang/test/Lower/OpenACC/acc-private.f90
M flang/test/Lower/OpenACC/acc-reduction.f90
M flang/test/Lower/OpenMP/allocatable-array-bounds.f90
M flang/test/Lower/OpenMP/allocatable-map.f90
M flang/test/Lower/OpenMP/array-bounds.f90
A flang/test/Lower/OpenMP/copyin-order.f90
M flang/test/Lower/OpenMP/default-clause-byref.f90
M flang/test/Lower/OpenMP/default-clause.f90
A flang/test/Lower/OpenMP/delayed-privatization-allocatable-array.f90
A flang/test/Lower/OpenMP/delayed-privatization-array.f90
A flang/test/Lower/OpenMP/delayed-privatization-character-array.f90
A flang/test/Lower/OpenMP/delayed-privatization-character.f90
A flang/test/Lower/OpenMP/derived-type-map.f90
M flang/test/Lower/OpenMP/flush.f90
A flang/test/Lower/OpenMP/implicit-dsa.f90
M flang/test/Lower/OpenMP/map-component-ref.f90
M flang/test/Lower/OpenMP/parallel-firstprivate-clause-scalar.f90
M flang/test/Lower/OpenMP/parallel-lastprivate-clause-scalar.f90
M flang/test/Lower/OpenMP/parallel-private-clause-fixes.f90
M flang/test/Lower/OpenMP/parallel-private-clause-str.f90
M flang/test/Lower/OpenMP/parallel-reduction3.f90
M flang/test/Lower/OpenMP/parallel-wsloop-firstpriv.f90
M flang/test/Lower/OpenMP/parallel-wsloop.f90
M flang/test/Lower/OpenMP/sections.f90
M flang/test/Lower/OpenMP/simd.f90
M flang/test/Lower/OpenMP/single.f90
M flang/test/Lower/OpenMP/target.f90
M flang/test/Lower/OpenMP/wsloop-reduction-array-assumed-shape.f90
M flang/test/Lower/OpenMP/wsloop-reduction-iand-byref.f90
M flang/test/Lower/OpenMP/wsloop-reduction-iand.f90
M flang/test/Lower/OpenMP/wsloop-reduction-ieor-byref.f90
M flang/test/Lower/OpenMP/wsloop-reduction-ieor.f90
M flang/test/Lower/OpenMP/wsloop-reduction-ior-byref.f90
M flang/test/Lower/OpenMP/wsloop-reduction-ior.f90
M flang/test/Lower/OpenMP/wsloop-reduction-logical-and-byref.f90
M flang/test/Lower/OpenMP/wsloop-reduction-logical-and.f90
M flang/test/Lower/OpenMP/wsloop-reduction-logical-eqv-byref.f90
M flang/test/Lower/OpenMP/wsloop-reduction-logical-eqv.f90
M flang/test/Lower/OpenMP/wsloop-reduction-logical-neqv-byref.f90
M flang/test/Lower/OpenMP/wsloop-reduction-logical-neqv.f90
M flang/test/Lower/OpenMP/wsloop-reduction-logical-or-byref.f90
M flang/test/Lower/OpenMP/wsloop-reduction-logical-or.f90
M flang/test/Lower/OpenMP/wsloop-reduction-max-byref.f90
M flang/test/Lower/OpenMP/wsloop-reduction-max-hlfir-byref.f90
M flang/test/Lower/OpenMP/wsloop-reduction-max-hlfir.f90
M flang/test/Lower/OpenMP/wsloop-reduction-max.f90
M flang/test/Lower/OpenMP/wsloop-reduction-min-byref.f90
M flang/test/Lower/OpenMP/wsloop-reduction-min.f90
M flang/test/Lower/allocatable-polymorphic.f90
M flang/test/Lower/array-expression.f90
A flang/test/Lower/branching-directive.f90
M flang/test/Lower/character-substrings.f90
M flang/test/Lower/charconvert.f90
M flang/test/Lower/dispatch.f90
M flang/test/Lower/do_loop.f90
A flang/test/Lower/if-loc.f90
M flang/test/Lower/pointer-references.f90
M flang/test/Lower/polymorphic.f90
M flang/test/Lower/select-type.f90
M flang/test/Lower/structure-constructors-alloc-comp.f90
A flang/test/Parser/OpenMP/fail-construct1.f90
A flang/test/Parser/OpenMP/fail-construct2.f90
M flang/test/Semantics/OpenMP/do08.f90
A flang/test/Semantics/OpenMP/implicit-dsa.f90
M flang/test/Semantics/OpenMP/map-clause.f90
A flang/test/Semantics/OpenMP/parallel-critical-do.f90
A flang/test/Semantics/OpenMP/parallel-sections-do.f90
M flang/test/Semantics/OpenMP/symbol08.f90
A flang/test/Semantics/array-constr-index01.f90
M flang/test/Semantics/bind-c03.f90
M flang/test/Semantics/bind-c06.f90
M flang/test/Semantics/bindings01.f90
M flang/test/Semantics/cuf02.cuf
M flang/test/Semantics/cuf13.cuf
A flang/test/Semantics/cuf14.cuf
A flang/test/Semantics/cuf15.cuf
M flang/test/Semantics/data01.f90
A flang/test/Semantics/data23.f90
M flang/test/Semantics/entry01.f90
M flang/test/Semantics/equivalence01.f90
M flang/test/Semantics/modfile12.f90
M flang/test/Semantics/modfile17.f90
A flang/test/Semantics/pdt03.f90
M flang/test/Semantics/resolve81.f90
M flang/test/Semantics/resolve85.f90
M flang/test/Semantics/stmt-func01.f90
A flang/test/Transforms/debug-90683.fir
R flang/test/Transforms/omp-descriptor-map-info-gen.fir
A flang/test/Transforms/omp-map-info-finalization.fir
M flang/tools/bbc/bbc.cpp
M flang/tools/tco/tco.cpp
M libc/fuzzing/__support/CMakeLists.txt
A libc/fuzzing/__support/hashtable_fuzz.cpp
M libc/fuzzing/__support/uint_fuzz.cpp
M libc/hdr/CMakeLists.txt
M libc/hdr/fenv_macros.h
A libc/hdr/time_macros.h
M libc/hdr/types/CMakeLists.txt
A libc/hdr/types/clock_t.h
A libc/hdr/types/clockid_t.h
A libc/hdr/types/struct_timeval.h
A libc/hdr/types/suseconds_t.h
A libc/hdr/types/time_t.h
M libc/include/CMakeLists.txt
M libc/include/llvm-libc-macros/fenv-macros.h
M libc/src/__support/CMakeLists.txt
M libc/src/__support/CPP/CMakeLists.txt
M libc/src/__support/CPP/atomic.h
A libc/src/__support/CPP/mutex.h
M libc/src/__support/FPUtil/FMA.h
M libc/src/__support/FPUtil/aarch64/FEnvImpl.h
R libc/src/__support/FPUtil/aarch64/FMA.h
M libc/src/__support/FPUtil/aarch64/fenv_darwin_impl.h
M libc/src/__support/FPUtil/arm/FEnvImpl.h
R libc/src/__support/FPUtil/gpu/FMA.h
M libc/src/__support/FPUtil/riscv/FEnvImpl.h
R libc/src/__support/FPUtil/riscv/FMA.h
M libc/src/__support/FPUtil/x86_64/FEnvImpl.h
R libc/src/__support/FPUtil/x86_64/FMA.h
M libc/src/__support/File/CMakeLists.txt
M libc/src/__support/File/dir.cpp
M libc/src/__support/GPU/amdgpu/utils.h
M libc/src/__support/GPU/nvptx/utils.h
M libc/src/__support/HashTable/generic/bitmask_impl.inc
M libc/src/__support/threads/CMakeLists.txt
M libc/src/__support/threads/fork_callbacks.cpp
M libc/src/__support/threads/linux/CMakeLists.txt
M libc/src/__support/threads/linux/callonce.cpp
A libc/src/__support/threads/linux/futex_utils.h
M libc/src/__support/threads/linux/futex_word.h
M libc/src/__support/threads/linux/mutex.h
M libc/src/__support/threads/linux/thread.cpp
M libc/src/__support/threads/mutex.h
M libc/src/__support/threads/thread.cpp
A libc/src/__support/time/CMakeLists.txt
A libc/src/__support/time/linux/CMakeLists.txt
A libc/src/__support/time/linux/clock_gettime.cpp
A libc/src/__support/time/linux/clock_gettime.h
A libc/src/__support/time/units.h
M libc/src/math/generic/powf.cpp
M libc/src/stdlib/CMakeLists.txt
M libc/src/stdlib/atexit.cpp
M libc/src/threads/linux/CMakeLists.txt
M libc/src/threads/linux/CndVar.h
M libc/src/time/clock.h
M libc/src/time/clock_gettime.h
M libc/src/time/gettimeofday.h
M libc/src/time/gpu/CMakeLists.txt
M libc/src/time/gpu/clock.cpp
M libc/src/time/gpu/time_utils.h
M libc/src/time/linux/CMakeLists.txt
M libc/src/time/linux/clock.cpp
R libc/src/time/linux/clockGetTimeImpl.h
M libc/src/time/linux/clock_gettime.cpp
M libc/src/time/linux/gettimeofday.cpp
M libc/src/time/linux/time.cpp
M libc/src/time/nanosleep.h
M libc/src/time/time_func.h
M libc/test/UnitTest/FPMatcher.h
M libc/test/src/__support/CPP/CMakeLists.txt
A libc/test/src/__support/CPP/mutex_test.cpp
M libc/test/src/math/FModTest.h
M libc/test/src/math/RoundToIntegerTest.h
M libc/test/src/math/atanf_test.cpp
M libc/test/src/math/atanhf_test.cpp
M libc/test/src/math/powf_test.cpp
M libc/test/src/math/smoke/NextAfterTest.h
M libc/test/src/math/smoke/NextTowardTest.h
M libc/test/src/math/smoke/RoundToIntegerTest.h
M libc/test/src/math/smoke/atan2f_test.cpp
M libc/test/src/math/smoke/atanf_test.cpp
M libc/test/src/math/smoke/atanhf_test.cpp
M libclc/generic/lib/math/log_base.h
M libcxx/benchmarks/CMakeLists.txt
A libcxx/benchmarks/numeric/gcd.bench.cpp
M libcxx/docs/FeatureTestMacroTable.rst
M libcxx/docs/ReleaseNotes/19.rst
M libcxx/docs/Status/Cxx20.rst
M libcxx/docs/Status/Cxx20Papers.csv
M libcxx/docs/Status/Cxx2c.rst
M libcxx/docs/Status/Cxx2cIssues.csv
M libcxx/docs/Status/Cxx2cPapers.csv
M libcxx/docs/Status/SpaceshipProjects.csv
M libcxx/include/CMakeLists.txt
M libcxx/include/__algorithm/mismatch.h
M libcxx/include/__algorithm/simd_utils.h
M libcxx/include/__availability
M libcxx/include/__config
M libcxx/include/__functional/is_transparent.h
M libcxx/include/__functional/reference_wrapper.h
A libcxx/include/__iterator/aliasing_iterator.h
M libcxx/include/__numeric/gcd_lcm.h
A libcxx/include/__ostream/basic_ostream.h
A libcxx/include/__ostream/print.h
M libcxx/include/__tuple/make_tuple_types.h
R libcxx/include/__type_traits/apply_cv.h
M libcxx/include/__type_traits/is_equality_comparable.h
M libcxx/include/__type_traits/make_signed.h
M libcxx/include/__type_traits/make_unsigned.h
M libcxx/include/cwchar
M libcxx/include/functional
M libcxx/include/istream
M libcxx/include/map
M libcxx/include/module.modulemap
M libcxx/include/ostream
M libcxx/include/set
M libcxx/include/sstream
M libcxx/include/string
M libcxx/include/syncstream
M libcxx/include/tuple
M libcxx/include/type_traits
M libcxx/include/unordered_map
M libcxx/include/unordered_set
M libcxx/include/variant
M libcxx/include/version
M libcxx/modules/std.compat/cctype.inc
M libcxx/modules/std.compat/cfenv.inc
M libcxx/modules/std.compat/cinttypes.inc
M libcxx/modules/std.compat/clocale.inc
M libcxx/modules/std.compat/cmath.inc
M libcxx/modules/std.compat/csetjmp.inc
M libcxx/modules/std.compat/csignal.inc
M libcxx/modules/std.compat/cstdarg.inc
M libcxx/modules/std.compat/cstddef.inc
M libcxx/modules/std.compat/cstdint.inc
M libcxx/modules/std.compat/cstdio.inc
M libcxx/modules/std.compat/cstdlib.inc
M libcxx/modules/std.compat/cstring.inc
M libcxx/modules/std.compat/ctime.inc
M libcxx/modules/std.compat/cwchar.inc
M libcxx/modules/std.compat/cwctype.inc
M libcxx/modules/std/atomic.inc
M libcxx/modules/std/cctype.inc
M libcxx/modules/std/cfenv.inc
M libcxx/modules/std/chrono.inc
M libcxx/modules/std/cinttypes.inc
M libcxx/modules/std/clocale.inc
M libcxx/modules/std/cmath.inc
M libcxx/modules/std/csetjmp.inc
M libcxx/modules/std/csignal.inc
M libcxx/modules/std/cstdarg.inc
M libcxx/modules/std/cstddef.inc
M libcxx/modules/std/cstdint.inc
M libcxx/modules/std/cstdio.inc
M libcxx/modules/std/cstdlib.inc
M libcxx/modules/std/cstring.inc
M libcxx/modules/std/ctime.inc
M libcxx/modules/std/cwchar.inc
M libcxx/modules/std/cwctype.inc
M libcxx/modules/std/ranges.inc
M libcxx/test/CMakeLists.txt
M libcxx/test/libcxx/clang_modules_include.gen.py
M libcxx/test/libcxx/clang_tidy.gen.py
A libcxx/test/libcxx/containers/strings/basic.string/asan_deque_integration.pass.cpp
A libcxx/test/libcxx/containers/strings/basic.string/asan_short.pass.cpp
A libcxx/test/libcxx/containers/strings/basic.string/asan_vector_integration.pass.cpp
M libcxx/test/libcxx/double_include.gen.py
M libcxx/test/libcxx/input.output/file.streams/fstreams/traits_mismatch.verify.cpp
M libcxx/test/libcxx/input.output/iostream.format/output.streams/traits_mismatch.verify.cpp
A libcxx/test/libcxx/iterators/aliasing_iterator.pass.cpp
M libcxx/test/libcxx/transitive_includes.gen.py
M libcxx/test/libcxx/transitive_includes/cxx03.csv
M libcxx/test/libcxx/transitive_includes/cxx11.csv
M libcxx/test/libcxx/transitive_includes/cxx14.csv
M libcxx/test/libcxx/transitive_includes/cxx17.csv
M libcxx/test/libcxx/transitive_includes/cxx20.csv
M libcxx/test/libcxx/transitive_includes/cxx23.csv
M libcxx/test/libcxx/transitive_includes/cxx26.csv
M libcxx/test/libcxx/type_traits/is_trivially_relocatable.compile.pass.cpp
M libcxx/test/std/algorithms/alg.nonmodifying/mismatch/mismatch.pass.cpp
M libcxx/test/std/atomics/atomics.types.generic/atomics.types.float/fetch_add.pass.cpp
M libcxx/test/std/atomics/atomics.types.generic/atomics.types.float/fetch_sub.pass.cpp
M libcxx/test/std/atomics/atomics.types.generic/atomics.types.float/operator.minus_equals.pass.cpp
M libcxx/test/std/atomics/atomics.types.generic/atomics.types.float/operator.plus_equals.pass.cpp
M libcxx/test/std/input.output/syncstream/syncbuf/helpers.h
M libcxx/test/std/language.support/support.limits/support.limits.general/deque.version.compile.pass.cpp
M libcxx/test/std/language.support/support.limits/support.limits.general/forward_list.version.compile.pass.cpp
M libcxx/test/std/language.support/support.limits/support.limits.general/functional.version.compile.pass.cpp
M libcxx/test/std/language.support/support.limits/support.limits.general/list.version.compile.pass.cpp
M libcxx/test/std/language.support/support.limits/support.limits.general/map.version.compile.pass.cpp
M libcxx/test/std/language.support/support.limits/support.limits.general/queue.version.compile.pass.cpp
M libcxx/test/std/language.support/support.limits/support.limits.general/set.version.compile.pass.cpp
M libcxx/test/std/language.support/support.limits/support.limits.general/stack.version.compile.pass.cpp
M libcxx/test/std/language.support/support.limits/support.limits.general/string.version.compile.pass.cpp
M libcxx/test/std/language.support/support.limits/support.limits.general/unordered_map.version.compile.pass.cpp
M libcxx/test/std/language.support/support.limits/support.limits.general/unordered_set.version.compile.pass.cpp
M libcxx/test/std/language.support/support.limits/support.limits.general/vector.version.compile.pass.cpp
M libcxx/test/std/language.support/support.limits/support.limits.general/version.version.compile.pass.cpp
M libcxx/test/std/localization/locale.categories/category.ctype/locale.ctype.byname/widen_1.pass.cpp
M libcxx/test/std/localization/locale.categories/category.ctype/locale.ctype.byname/widen_many.pass.cpp
M libcxx/test/std/localization/locale.categories/facet.numpunct/locale.numpunct.byname/grouping.pass.cpp
M libcxx/test/std/numerics/numeric.ops/numeric.ops.gcd/gcd.pass.cpp
M libcxx/test/std/numerics/rand/rand.dist/rand.dist.bern/rand.dist.bern.bernoulli/eval.pass.cpp
M libcxx/test/std/numerics/rand/rand.dist/rand.dist.bern/rand.dist.bern.bernoulli/eval_param.pass.cpp
M libcxx/test/std/numerics/rand/rand.dist/rand.dist.bern/rand.dist.bern.bin/eval.PR44847.pass.cpp
M libcxx/test/std/numerics/rand/rand.dist/rand.dist.bern/rand.dist.bern.bin/eval.pass.cpp
M libcxx/test/std/numerics/rand/rand.dist/rand.dist.bern/rand.dist.bern.bin/eval_param.pass.cpp
M libcxx/test/std/numerics/rand/rand.dist/rand.dist.bern/rand.dist.bern.geo/eval.pass.cpp
M libcxx/test/std/numerics/rand/rand.dist/rand.dist.bern/rand.dist.bern.geo/eval_param.pass.cpp
M libcxx/test/std/numerics/rand/rand.dist/rand.dist.bern/rand.dist.bern.negbin/eval.pass.cpp
M libcxx/test/std/numerics/rand/rand.dist/rand.dist.bern/rand.dist.bern.negbin/eval_param.pass.cpp
M libcxx/test/std/numerics/rand/rand.dist/rand.dist.norm/rand.dist.norm.cauchy/eval.pass.cpp
M libcxx/test/std/numerics/rand/rand.dist/rand.dist.norm/rand.dist.norm.chisq/eval.pass.cpp
M libcxx/test/std/numerics/rand/rand.dist/rand.dist.norm/rand.dist.norm.chisq/eval_param.pass.cpp
M libcxx/test/std/numerics/rand/rand.dist/rand.dist.norm/rand.dist.norm.lognormal/eval.pass.cpp
M libcxx/test/std/numerics/rand/rand.dist/rand.dist.norm/rand.dist.norm.lognormal/eval_param.pass.cpp
M libcxx/test/std/numerics/rand/rand.dist/rand.dist.norm/rand.dist.norm.t/eval.pass.cpp
M libcxx/test/std/numerics/rand/rand.dist/rand.dist.norm/rand.dist.norm.t/eval_param.pass.cpp
M libcxx/test/std/numerics/rand/rand.dist/rand.dist.pois/rand.dist.pois.exp/eval.pass.cpp
M libcxx/test/std/numerics/rand/rand.dist/rand.dist.pois/rand.dist.pois.exp/eval_param.pass.cpp
M libcxx/test/std/numerics/rand/rand.dist/rand.dist.pois/rand.dist.pois.extreme/eval.pass.cpp
M libcxx/test/std/numerics/rand/rand.dist/rand.dist.pois/rand.dist.pois.extreme/eval_param.pass.cpp
M libcxx/test/std/numerics/rand/rand.dist/rand.dist.pois/rand.dist.pois.gamma/eval.pass.cpp
M libcxx/test/std/numerics/rand/rand.dist/rand.dist.pois/rand.dist.pois.gamma/eval_param.pass.cpp
M libcxx/test/std/numerics/rand/rand.dist/rand.dist.pois/rand.dist.pois.poisson/eval.pass.cpp
M libcxx/test/std/numerics/rand/rand.dist/rand.dist.pois/rand.dist.pois.poisson/eval_param.pass.cpp
M libcxx/test/std/numerics/rand/rand.dist/rand.dist.samp/rand.dist.samp.discrete/eval.pass.cpp
M libcxx/test/std/numerics/rand/rand.dist/rand.dist.samp/rand.dist.samp.pconst/eval.pass.cpp
M libcxx/test/std/numerics/rand/rand.dist/rand.dist.samp/rand.dist.samp.plinear/eval.pass.cpp
M libcxx/test/std/numerics/rand/rand.dist/rand.dist.samp/rand.dist.samp.plinear/eval_param.pass.cpp
M libcxx/test/std/thread/thread.threads/thread.thread.class/thread.thread.id/parse.pass.cpp
A libcxx/test/std/utilities/function.objects/refwrap/refwrap.comparissons/compare.three_way.refwrap.const_ref.pass.cpp
A libcxx/test/std/utilities/function.objects/refwrap/refwrap.comparissons/compare.three_way.refwrap.refwrap.pass.cpp
A libcxx/test/std/utilities/function.objects/refwrap/refwrap.comparissons/compare.three_way.refwrap.refwrap_const.pass.cpp
A libcxx/test/std/utilities/function.objects/refwrap/refwrap.comparissons/equal.refwrap.const_ref.pass.cpp
A libcxx/test/std/utilities/function.objects/refwrap/refwrap.comparissons/equal.refwrap.refwrap.pass.cpp
A libcxx/test/std/utilities/function.objects/refwrap/refwrap.comparissons/equal.refwrap.refwrap_const.pass.cpp
A libcxx/test/std/utilities/function.objects/refwrap/refwrap.comparissons/helper_concepts.h
A libcxx/test/std/utilities/function.objects/refwrap/refwrap.comparissons/helper_types.h
M libcxx/test/std/utilities/variant/variant.variant/variant.assign/T.pass.cpp
M libcxx/test/std/utilities/variant/variant.variant/variant.assign/copy.pass.cpp
M libcxx/test/std/utilities/variant/variant.variant/variant.assign/move.pass.cpp
M libcxx/test/std/utilities/variant/variant.variant/variant.ctor/copy.pass.cpp
M libcxx/test/std/utilities/variant/variant.variant/variant.ctor/default.pass.cpp
M libcxx/test/std/utilities/variant/variant.variant/variant.ctor/move.pass.cpp
M libcxx/test/std/utilities/variant/variant.variant/variant.dtor/dtor.pass.cpp
M libcxx/test/std/utilities/variant/variant.variant/variant.mod/emplace_index_args.pass.cpp
M libcxx/test/std/utilities/variant/variant.variant/variant.mod/emplace_index_init_list_args.pass.cpp
M libcxx/test/std/utilities/variant/variant.variant/variant.mod/emplace_type_args.pass.cpp
M libcxx/test/std/utilities/variant/variant.variant/variant.mod/emplace_type_init_list_args.pass.cpp
M libcxx/test/std/utilities/variant/variant.variant/variant.swap/swap.pass.cpp
M libcxx/test/support/asan_testing.h
M libcxx/test/support/atomic_helpers.h
M libcxx/test/support/constexpr_char_traits.h
M libcxx/test/support/nasty_string.h
M libcxx/test/tools/clang_tidy_checks/CMakeLists.txt
M libcxx/utils/ci/docker-compose.yml
M libcxx/utils/generate_feature_test_macro_components.py
M libcxxabi/src/aix_state_tab_eh.inc
M libcxxabi/src/cxa_personality.cpp
M libcxxabi/src/demangle/ItaniumDemangle.h
M lld/COFF/DebugTypes.cpp
M lld/ELF/Driver.cpp
M lld/ELF/InputSection.cpp
M lld/ELF/LinkerScript.cpp
M lld/ELF/LinkerScript.h
M lld/ELF/Options.td
M lld/ELF/OutputSections.cpp
M lld/ELF/Target.cpp
M lld/ELF/Writer.cpp
M lld/MachO/Driver.cpp
M lld/MachO/ObjC.cpp
M lld/test/COFF/Inputs/combined-resources.rc
M lld/test/COFF/pdb-type-server-invalid-signature.yaml
M lld/test/COFF/pdb_char8_t.ll
M lld/test/COFF/thinlto-index-only.ll
M lld/test/ELF/aarch64-thunk-reuse2.s
M lld/test/ELF/dynamic-list-cpp.s
M lld/test/ELF/linkerscript/orphan-phdrs2.test
M lld/test/ELF/lto/thinlto-emit-index.ll
M lld/test/ELF/lto/thinlto-index-only.ll
M lld/test/ELF/mips-eh_frame-pic.s
M lld/test/ELF/mips-got-page-script.s
A lld/test/ELF/riscv-split-stack.s
M lld/test/ELF/ttext-tdata-tbss.s
M lld/test/MachO/objc-category-merging-complete-test.s
M lld/test/MachO/objc-category-merging-extern-class-minimal.s
M lld/test/MachO/thinlto-emit-index.ll
M lld/test/MachO/thinlto-index-only.ll
M lld/wasm/InputChunks.cpp
M lldb/cmake/modules/LLDBFramework.cmake
R lldb/docs/lldb-for-gdb-users.txt
M lldb/docs/use/qemu-testing.rst
M lldb/docs/use/tutorial.rst
M lldb/examples/python/crashlog.py
M lldb/examples/python/crashlog_scripted_process.py
M lldb/include/lldb/API/SBType.h
M lldb/include/lldb/Core/Debugger.h
M lldb/include/lldb/Core/DebuggerEvents.h
M lldb/include/lldb/Expression/DiagnosticManager.h
M lldb/include/lldb/Host/Host.h
M lldb/include/lldb/Symbol/SymbolContext.h
M lldb/include/lldb/Symbol/Type.h
M lldb/include/lldb/Symbol/TypeList.h
M lldb/include/lldb/Symbol/TypeMap.h
M lldb/include/lldb/Target/Language.h
M lldb/include/lldb/Target/Platform.h
M lldb/include/lldb/Target/RemoteAwarePlatform.h
M lldb/include/lldb/Utility/Log.h
M lldb/include/lldb/lldb-enumerations.h
M lldb/packages/Python/lldbsuite/test/tools/lldb-dap/dap_server.py
M lldb/packages/Python/lldbsuite/test/tools/lldb-server/gdbremote_testcase.py
M lldb/packages/Python/lldbsuite/test/tools/lldb-server/lldbgdbserverutils.py
M lldb/scripts/generate-sbapi-dwarf-enum.py
M lldb/source/API/CMakeLists.txt
M lldb/source/API/SBType.cpp
M lldb/source/Breakpoint/BreakpointLocation.cpp
M lldb/source/Core/Address.cpp
M lldb/source/Core/Debugger.cpp
M lldb/source/Core/DebuggerEvents.cpp
M lldb/source/Core/Mangled.cpp
M lldb/source/Core/Progress.cpp
M lldb/source/Expression/DiagnosticManager.cpp
M lldb/source/Expression/FunctionCaller.cpp
M lldb/source/Expression/LLVMUserExpression.cpp
M lldb/source/Expression/UserExpression.cpp
M lldb/source/Host/common/Host.cpp
M lldb/source/Host/macosx/objcxx/Host.mm
M lldb/source/Plugins/DynamicLoader/POSIX-DYLD/DynamicLoaderPOSIXDYLD.cpp
M lldb/source/Plugins/ExpressionParser/Clang/ClangDiagnostic.h
M lldb/source/Plugins/ExpressionParser/Clang/ClangExpressionDeclMap.cpp
M lldb/source/Plugins/ExpressionParser/Clang/ClangExpressionParser.cpp
M lldb/source/Plugins/ExpressionParser/Clang/ClangFunctionCaller.cpp
M lldb/source/Plugins/ExpressionParser/Clang/ClangUserExpression.cpp
M lldb/source/Plugins/ExpressionParser/Clang/ClangUtilityFunction.cpp
M lldb/source/Plugins/ObjectFile/ELF/ObjectFileELF.cpp
M lldb/source/Plugins/ObjectFile/ELF/ObjectFileELF.h
M lldb/source/Plugins/ObjectFile/Mach-O/ObjectFileMachO.cpp
M lldb/source/Plugins/Platform/MacOSX/PlatformDarwinDevice.cpp
M lldb/source/Plugins/Platform/gdb-server/PlatformRemoteGDBServer.cpp
M lldb/source/Plugins/Platform/gdb-server/PlatformRemoteGDBServer.h
M lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.cpp
M lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.h
M lldb/source/Plugins/SymbolFile/DWARF/DWARFASTParser.h
M lldb/source/Plugins/SymbolFile/DWARF/DWARFASTParserClang.cpp
M lldb/source/Plugins/SymbolFile/DWARF/DWARFASTParserClang.h
M lldb/source/Plugins/SymbolFile/DWARF/DWARFBaseDIE.cpp
M lldb/source/Plugins/SymbolFile/DWARF/DWARFBaseDIE.h
M lldb/source/Plugins/SymbolFile/DWARF/DWARFDefines.cpp
M lldb/source/Plugins/SymbolFile/DWARF/DWARFDefines.h
M lldb/source/Plugins/SymbolFile/DWARF/DWARFUnit.cpp
M lldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARF.cpp
M lldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARF.h
M lldb/source/Plugins/SymbolFile/DWARF/UniqueDWARFASTType.cpp
M lldb/source/Plugins/SymbolFile/DWARF/UniqueDWARFASTType.h
M lldb/source/Plugins/SymbolLocator/Default/SymbolLocatorDefault.cpp
M lldb/source/Plugins/TypeSystem/Clang/TypeSystemClang.cpp
M lldb/source/Symbol/SymbolContext.cpp
M lldb/source/Symbol/Type.cpp
M lldb/source/Symbol/TypeList.cpp
M lldb/source/Symbol/TypeMap.cpp
M lldb/source/Target/Platform.cpp
M lldb/source/Target/Process.cpp
M lldb/source/Target/RemoteAwarePlatform.cpp
M lldb/source/Utility/Log.cpp
M lldb/source/Utility/Scalar.cpp
M lldb/test/API/commands/platform/process/launch/TestPlatformProcessLaunch.py
M lldb/test/API/commands/settings/TestSettings.py
M lldb/test/API/commands/settings/quoting/TestQuoting.py
M lldb/test/API/functionalities/gdb_remote_client/TestGDBRemoteLoad.py
M lldb/test/API/functionalities/postmortem/elf-core/TestLinuxCore.py
M lldb/test/API/functionalities/scripted_process/TestScriptedProcess.py
M lldb/test/API/functionalities/scripted_process/dummy_scripted_process.py
M lldb/test/API/lang/c/calling-conventions/TestCCallingConventions.py
M lldb/test/API/macosx/rosetta/TestRosetta.py
M lldb/test/API/macosx/universal64/TestUniversal64.py
A lldb/test/API/python_api/sbmodule/FindTypes/Makefile
A lldb/test/API/python_api/sbmodule/FindTypes/TestSBModuleFindTypes.py
A lldb/test/API/python_api/sbmodule/FindTypes/main.cpp
M lldb/test/API/python_api/type/TestTypeList.py
M lldb/test/API/python_api/type/main.cpp
M lldb/test/API/tools/lldb-dap/console/TestDAP_console.py
M lldb/test/API/tools/lldb-dap/variables/TestDAP_variables.py
M lldb/test/Shell/Commands/command-disassemble-aarch64-extensions.s
A lldb/test/Shell/ExecControl/StepIn/Inputs/aarch64_thunk.cc
A lldb/test/Shell/ExecControl/StepIn/step_through-aarch64-thunk.test
A lldb/test/Shell/SymbolFile/DWARF/delayed-definition-die-searching.test
M lldb/test/Shell/SymbolFile/DWARF/x86/debug_rnglists.s
M lldb/tools/debugserver/source/MacOSX/MachException.cpp
M lldb/tools/debugserver/source/MacOSX/MachProcess.mm
M lldb/tools/debugserver/source/MacOSX/arm64/DNBArchImplARM64.cpp
M lldb/tools/driver/Driver.cpp
M lldb/tools/lldb-dap/DAP.cpp
M lldb/tools/lldb-dap/DAP.h
M lldb/tools/lldb-dap/JSONUtils.cpp
M lldb/tools/lldb-dap/lldb-dap.cpp
M lldb/tools/lldb-server/lldb-platform.cpp
M lldb/unittests/Core/DiagnosticEventTest.cpp
M lldb/unittests/Core/ProgressReportTest.cpp
M lldb/unittests/Expression/DiagnosticManagerTest.cpp
M lldb/unittests/Process/gdb-remote/GDBRemoteCommunicationClientTest.cpp
M lldb/unittests/Symbol/TestType.cpp
M lldb/unittests/Utility/LogTest.cpp
M lldb/unittests/Utility/ScalarTest.cpp
M llvm/cmake/modules/LLVMExternalProjectUtils.cmake
M llvm/docs/AMDGPUUsage.rst
M llvm/docs/BranchWeightMetadata.rst
M llvm/docs/CommandGuide/dsymutil.rst
M llvm/docs/CommandGuide/llvm-mca.rst
M llvm/docs/CommandGuide/llvm-pdbutil.rst
A llvm/docs/DirectX/DXContainer.rst
M llvm/docs/DirectXUsage.rst
M llvm/docs/GettingInvolved.rst
M llvm/docs/GettingStartedTutorials.rst
M llvm/docs/GlobalISel/GenericOpcode.rst
M llvm/docs/InstCombineContributorGuide.md
M llvm/docs/LangRef.rst
M llvm/docs/MIRLangRef.rst
M llvm/docs/PDB/CodeViewSymbols.rst
M llvm/docs/RISCVUsage.rst
M llvm/docs/Reference.rst
M llvm/docs/ReleaseNotes.rst
M llvm/docs/TestingGuide.rst
M llvm/docs/UserGuides.rst
M llvm/include/llvm-c/Core.h
M llvm/include/llvm/ADT/APInt.h
M llvm/include/llvm/ADT/GenericCycleImpl.h
M llvm/include/llvm/ADT/GenericCycleInfo.h
M llvm/include/llvm/ADT/LazyAtomicPointer.h
M llvm/include/llvm/ADT/SmallString.h
M llvm/include/llvm/ADT/StringMap.h
M llvm/include/llvm/ADT/StringRef.h
M llvm/include/llvm/Analysis/DOTGraphTraitsPass.h
M llvm/include/llvm/Analysis/IndirectCallVisitor.h
M llvm/include/llvm/Analysis/LoopAccessAnalysis.h
M llvm/include/llvm/Analysis/MemorySSA.h
M llvm/include/llvm/Analysis/TargetTransformInfo.h
M llvm/include/llvm/Analysis/TargetTransformInfoImpl.h
M llvm/include/llvm/Analysis/ValueTracking.h
M llvm/include/llvm/Analysis/VectorUtils.h
M llvm/include/llvm/AsmParser/LLParser.h
M llvm/include/llvm/BinaryFormat/DXContainer.h
M llvm/include/llvm/CodeGen/BasicTTIImpl.h
M llvm/include/llvm/CodeGen/CommandFlags.h
M llvm/include/llvm/CodeGen/GlobalISel/CombinerHelper.h
M llvm/include/llvm/CodeGen/GlobalISel/GIMatchTableExecutor.h
M llvm/include/llvm/CodeGen/GlobalISel/GIMatchTableExecutorImpl.h
M llvm/include/llvm/CodeGen/GlobalISel/GenericMachineInstrs.h
M llvm/include/llvm/CodeGen/GlobalISel/MachineIRBuilder.h
M llvm/include/llvm/CodeGen/ISDOpcodes.h
M llvm/include/llvm/CodeGen/SDPatternMatch.h
M llvm/include/llvm/CodeGen/SelectionDAG.h
M llvm/include/llvm/CodeGen/SelectionDAGNodes.h
M llvm/include/llvm/CodeGen/TargetLowering.h
M llvm/include/llvm/DebugInfo/LogicalView/Core/LVStringPool.h
M llvm/include/llvm/Demangle/ItaniumDemangle.h
M llvm/include/llvm/ExecutionEngine/Orc/ObjectLinkingLayer.h
M llvm/include/llvm/Frontend/OpenMP/ClauseT.h
A llvm/include/llvm/Frontend/OpenMP/ConstructCompositionT.h
A llvm/include/llvm/Frontend/OpenMP/ConstructDecompositionT.h
M llvm/include/llvm/IR/Attributes.h
M llvm/include/llvm/IR/DebugInfo.h
M llvm/include/llvm/IR/DebugProgramInstruction.h
M llvm/include/llvm/IR/InstrTypes.h
M llvm/include/llvm/IR/Instructions.h
M llvm/include/llvm/IR/IntrinsicInst.h
M llvm/include/llvm/IR/Intrinsics.h
M llvm/include/llvm/IR/Intrinsics.td
M llvm/include/llvm/IR/IntrinsicsAArch64.td
M llvm/include/llvm/IR/IntrinsicsAMDGPU.td
M llvm/include/llvm/IR/IntrinsicsWebAssembly.td
M llvm/include/llvm/IR/MDBuilder.h
M llvm/include/llvm/IR/ModuleSummaryIndex.h
M llvm/include/llvm/IR/PatternMatch.h
M llvm/include/llvm/IR/ProfDataUtils.h
M llvm/include/llvm/IR/VPIntrinsics.def
M llvm/include/llvm/LTO/legacy/LTOCodeGenerator.h
M llvm/include/llvm/MC/MCRegisterInfo.h
M llvm/include/llvm/MC/MCSubtargetInfo.h
M llvm/include/llvm/Object/MachO.h
M llvm/include/llvm/Passes/MachinePassRegistry.def
M llvm/include/llvm/ProfileData/Coverage/CoverageMapping.h
M llvm/include/llvm/ProfileData/Coverage/MCDCTypes.h
A llvm/include/llvm/ProfileData/CtxInstrContextNode.h
M llvm/include/llvm/ProfileData/InstrProf.h
M llvm/include/llvm/ProfileData/MemProf.h
M llvm/include/llvm/Support/Compiler.h
M llvm/include/llvm/Support/LEB128.h
M llvm/include/llvm/Support/TargetOpcodes.def
M llvm/include/llvm/Support/VirtualFileSystem.h
M llvm/include/llvm/Support/YAMLTraits.h
M llvm/include/llvm/Target/GenericOpcodes.td
M llvm/include/llvm/Target/GlobalISel/Combine.td
M llvm/include/llvm/Target/TargetMachine.h
M llvm/include/llvm/Target/TargetOptions.h
M llvm/include/llvm/TargetParser/AArch64TargetParser.h
M llvm/include/llvm/TargetParser/ARMTargetParser.def
M llvm/include/llvm/TargetParser/ARMTargetParserCommon.h
M llvm/include/llvm/TargetParser/PPCTargetParser.def
M llvm/include/llvm/TargetParser/RISCVISAInfo.h
M llvm/include/llvm/TargetParser/Triple.h
M llvm/include/llvm/TargetParser/X86TargetParser.def
M llvm/include/llvm/TextAPI/Utils.h
M llvm/include/llvm/Transforms/AggressiveInstCombine/AggressiveInstCombine.h
M llvm/include/llvm/Transforms/Instrumentation/PGOCtxProfLowering.h
M llvm/include/llvm/Transforms/Scalar/JumpThreading.h
M llvm/include/llvm/Transforms/Utils/LoopUtils.h
M llvm/include/llvm/Transforms/Utils/UnrollLoop.h
M llvm/include/llvm/Transforms/Utils/ValueMapper.h
M llvm/lib/Analysis/BlockFrequencyInfo.cpp
M llvm/lib/Analysis/BranchProbabilityInfo.cpp
M llvm/lib/Analysis/ConstantFolding.cpp
M llvm/lib/Analysis/InlineCost.cpp
M llvm/lib/Analysis/InstructionSimplify.cpp
M llvm/lib/Analysis/LoopAccessAnalysis.cpp
M llvm/lib/Analysis/LoopInfo.cpp
M llvm/lib/Analysis/MemoryBuiltins.cpp
M llvm/lib/Analysis/MemoryProfileInfo.cpp
M llvm/lib/Analysis/MemorySSA.cpp
M llvm/lib/Analysis/ScalarEvolution.cpp
M llvm/lib/Analysis/TargetTransformInfo.cpp
M llvm/lib/Analysis/ValueTracking.cpp
M llvm/lib/AsmParser/LLParser.cpp
M llvm/lib/Bitcode/Reader/BitcodeReader.cpp
M llvm/lib/Bitcode/Writer/BitcodeWriter.cpp
M llvm/lib/CodeGen/Analysis.cpp
M llvm/lib/CodeGen/AsmPrinter/DwarfUnit.cpp
M llvm/lib/CodeGen/AtomicExpandPass.cpp
M llvm/lib/CodeGen/CodeGenPrepare.cpp
M llvm/lib/CodeGen/CommandFlags.cpp
M llvm/lib/CodeGen/ExpandVectorPredication.cpp
M llvm/lib/CodeGen/GlobalISel/CombinerHelper.cpp
M llvm/lib/CodeGen/GlobalISel/CombinerHelperVectorOps.cpp
M llvm/lib/CodeGen/GlobalISel/GISelKnownBits.cpp
M llvm/lib/CodeGen/GlobalISel/IRTranslator.cpp
M llvm/lib/CodeGen/GlobalISel/MachineIRBuilder.cpp
M llvm/lib/CodeGen/InterleavedLoadCombinePass.cpp
M llvm/lib/CodeGen/MIRSampleProfile.cpp
M llvm/lib/CodeGen/MachineBlockFrequencyInfo.cpp
M llvm/lib/CodeGen/MachineBlockPlacement.cpp
M llvm/lib/CodeGen/RDFGraph.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/LegalizeVectorTypes.cpp
M llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
M llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
M llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.h
M llvm/lib/CodeGen/SelectionDAG/SelectionDAGDumper.cpp
M llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp
M llvm/lib/CodeGen/StackMapLivenessAnalysis.cpp
M llvm/lib/CodeGen/TargetLoweringBase.cpp
M llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp
M llvm/lib/DebugInfo/LogicalView/Core/LVOptions.cpp
M llvm/lib/DebugInfo/LogicalView/Readers/LVBinaryReader.cpp
M llvm/lib/DebugInfo/LogicalView/Readers/LVCodeViewVisitor.cpp
M llvm/lib/DebugInfo/Symbolize/SymbolizableObjectFile.cpp
M llvm/lib/ExecutionEngine/Orc/EPCGenericDylibManager.cpp
M llvm/lib/ExecutionEngine/RuntimeDyld/RuntimeDyldELF.cpp
M llvm/lib/FileCheck/FileCheck.cpp
M llvm/lib/Frontend/Offloading/OffloadWrapper.cpp
M llvm/lib/Frontend/OpenMP/OMPIRBuilder.cpp
M llvm/lib/FuzzMutate/FuzzerCLI.cpp
M llvm/lib/IR/AttributeImpl.h
M llvm/lib/IR/Attributes.cpp
M llvm/lib/IR/AutoUpgrade.cpp
M llvm/lib/IR/BasicBlock.cpp
M llvm/lib/IR/Constants.cpp
M llvm/lib/IR/Core.cpp
M llvm/lib/IR/DebugInfo.cpp
M llvm/lib/IR/DebugProgramInstruction.cpp
M llvm/lib/IR/Function.cpp
M llvm/lib/IR/IRBuilder.cpp
M llvm/lib/IR/Instruction.cpp
M llvm/lib/IR/Instructions.cpp
M llvm/lib/IR/IntrinsicInst.cpp
M llvm/lib/IR/LLVMContextImpl.h
M llvm/lib/IR/MDBuilder.cpp
M llvm/lib/IR/Module.cpp
M llvm/lib/IR/ProfDataUtils.cpp
M llvm/lib/IR/Verifier.cpp
M llvm/lib/LTO/LTOModule.cpp
M llvm/lib/MC/MCAsmStreamer.cpp
M llvm/lib/MC/MCDXContainerWriter.cpp
M llvm/lib/MC/MCObjectFileInfo.cpp
M llvm/lib/MC/MCParser/AsmParser.cpp
M llvm/lib/MC/MCParser/DarwinAsmParser.cpp
M llvm/lib/MC/MCSymbolXCOFF.cpp
M llvm/lib/MCA/InstrBuilder.cpp
M llvm/lib/Object/Archive.cpp
M llvm/lib/Object/MachOObjectFile.cpp
M llvm/lib/Object/OffloadBinary.cpp
M llvm/lib/ObjectYAML/COFFEmitter.cpp
M llvm/lib/ObjectYAML/DXContainerEmitter.cpp
M llvm/lib/Passes/PassBuilder.cpp
M llvm/lib/Passes/PassBuilderPipelines.cpp
Log Message:
-----------
[𝘀𝗽𝗿] changes introduced through rebase
Created using spr 1.3.4
[skip ci]
Compare: https://github.com/llvm/llvm-project/compare/3066d808cbac...c60de044449e
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