[all-commits] [llvm/llvm-project] 1a4225: [C2y] Modify diagnostics for complex increment/dec...
Vikram Hegde via All-commits
all-commits at lists.llvm.org
Thu Jul 4 11:12:11 PDT 2024
Branch: refs/heads/users/vikramRH/rm-bitcasts
Home: https://github.com/llvm/llvm-project
Commit: 1a422553f9ed05ee57463ed5554cfd7eeea46800
https://github.com/llvm/llvm-project/commit/1a422553f9ed05ee57463ed5554cfd7eeea46800
Author: Aaron Ballman <aaron at aaronballman.com>
Date: 2024-07-02 (Tue, 02 Jul 2024)
Changed paths:
M clang/include/clang/Basic/DiagnosticSemaKinds.td
M clang/lib/Sema/SemaExpr.cpp
A clang/test/C/C2y/n3259.c
Log Message:
-----------
[C2y] Modify diagnostics for complex increment/decrement
Clang implemented WG14 N3259 as an extension, now it's a feature of C2y.
Commit: 5b77ed4d94fd6b57d7008b2ecabb230ac087a53d
https://github.com/llvm/llvm-project/commit/5b77ed4d94fd6b57d7008b2ecabb230ac087a53d
Author: Matt Arsenault <Matthew.Arsenault at amd.com>
Date: 2024-07-02 (Tue, 02 Jul 2024)
Changed paths:
M llvm/include/llvm/IR/IRBuilder.h
M llvm/lib/Transforms/InstCombine/InstCombineCalls.cpp
M llvm/test/Transforms/InstCombine/ldexp.ll
Log Message:
-----------
InstCombine: Try to fold ldexp with select of power operand (#97354)
This makes it more likely a constant value can fold into the source
operand.
Commit: 12a1e6dd1292efb3d7c45582ba20dafa523b51cc
https://github.com/llvm/llvm-project/commit/12a1e6dd1292efb3d7c45582ba20dafa523b51cc
Author: OverMighty <its.overmighty at gmail.com>
Date: 2024-07-02 (Tue, 02 Jul 2024)
Changed paths:
M libc/config/linux/aarch64/entrypoints.txt
M libc/config/linux/x86_64/entrypoints.txt
M libc/docs/math/index.rst
M libc/spec/llvm_libc_ext.td
M libc/src/__support/FPUtil/generic/CMakeLists.txt
A libc/src/__support/FPUtil/generic/add_sub.h
M libc/src/math/CMakeLists.txt
A libc/src/math/f16addf.h
A libc/src/math/f16subf.h
M libc/src/math/generic/CMakeLists.txt
A libc/src/math/generic/f16addf.cpp
A libc/src/math/generic/f16subf.cpp
A libc/test/src/math/AddTest.h
M libc/test/src/math/CMakeLists.txt
A libc/test/src/math/SubTest.h
A libc/test/src/math/f16addf_test.cpp
A libc/test/src/math/f16subf_test.cpp
A libc/test/src/math/smoke/AddTest.h
M libc/test/src/math/smoke/CMakeLists.txt
A libc/test/src/math/smoke/SubTest.h
A libc/test/src/math/smoke/f16addf_test.cpp
A libc/test/src/math/smoke/f16subf_test.cpp
M libc/utils/MPFRWrapper/MPFRUtils.cpp
M libc/utils/MPFRWrapper/MPFRUtils.h
Log Message:
-----------
[libc][math][c23] Add f16{add,sub}f C23 math functions (#96787)
Part of #93566.
Commit: 72f9bff4481bf50c565e3b9dc0a1495264ef4082
https://github.com/llvm/llvm-project/commit/72f9bff4481bf50c565e3b9dc0a1495264ef4082
Author: Aaron Ballman <aaron at aaronballman.com>
Date: 2024-07-02 (Tue, 02 Jul 2024)
Changed paths:
M clang/include/clang/Basic/DiagnosticSemaKinds.td
M clang/lib/Sema/SemaExpr.cpp
R clang/test/C/C2y/n3259.c
Log Message:
-----------
Revert "[C2y] Modify diagnostics for complex increment/decrement"
This reverts commit 1a422553f9ed05ee57463ed5554cfd7eeea46800.
It broke post-commit CI bots:
https://lab.llvm.org/buildbot/#/builders/144/builds/1428
Commit: 66d5ca2a3d8df780951ce2987157ef03e73393c7
https://github.com/llvm/llvm-project/commit/66d5ca2a3d8df780951ce2987157ef03e73393c7
Author: jeanPerier <jperier at nvidia.com>
Date: 2024-07-02 (Tue, 02 Jul 2024)
Changed paths:
M flang/include/flang/Optimizer/Builder/FIRBuilder.h
M flang/include/flang/Optimizer/Dialect/FIROps.td
M flang/include/flang/Optimizer/Support/InternalNames.h
M flang/include/flang/Optimizer/Support/Utils.h
M flang/lib/Lower/Bridge.cpp
M flang/lib/Optimizer/Builder/FIRBuilder.cpp
M flang/lib/Optimizer/Dialect/FIROps.cpp
M flang/lib/Optimizer/Support/CMakeLists.txt
M flang/lib/Optimizer/Support/InternalNames.cpp
A flang/lib/Optimizer/Support/Utils.cpp
M flang/test/Fir/fir-ops.fir
A flang/test/Lower/HLFIR/type-info-components.f90
Log Message:
-----------
Reland "[flang] add extra component information in fir.type_info" (#97404)
Reland #96746 with the proper Support/CMakelist.txt change.
fir.type does not contain all Fortran level information about
components. For instance, component lower bounds and default initial
value are lost. For correctness purpose, this does not matter because
this information is "applied" in lowering (e.g., when addressing the
components, the lower bounds are reflected in the hlfir.designate).
However, this "loss" of information will prevent the generation of
correct debug info for the type (needs to know about lower bounds). The
initial value could help building some optimization pass to get rid of
initialization runtime calls.
This patch adds lower bound and initial value information into
fir.type_info via a new fir.dt_component operation. This operation is
generated only for component that needs it, which helps keeping the IR
small for "boring" types.
In general, adding Fortran level info in fir.type_info will allow
delaying the generation of "type descriptors" gobals that are very
verbose in FIR and make it hard to work with FIR dumps from applications
with many derived types.
Commit: c3079ffcd34e8ee2faaf7576a69a49acc1a3653f
https://github.com/llvm/llvm-project/commit/c3079ffcd34e8ee2faaf7576a69a49acc1a3653f
Author: Haojian Wu <hokein.wu at gmail.com>
Date: 2024-07-02 (Tue, 02 Jul 2024)
Changed paths:
M clang/lib/Sema/CheckExprLifetime.cpp
M clang/test/SemaCXX/warn-dangling-local.cpp
Log Message:
-----------
[clang] Don't emit the warn_dangling_lifetime_pointer diagnostic for the assignment case. (#97408)
The `lifetime_pointer` case is handled before the assignment case. In
scenarios where we have the `gsl::Pointer` attribute, we may emit the
`-Wdangling-gsl` warning for assignment cases. This means we cannot use
`-Wno-dangling-assignment` to suppress the newly-added warning, this
patch fixes it.
Commit: 1e26a251a36b0479c7aca21e2d65d9877c0691ce
https://github.com/llvm/llvm-project/commit/1e26a251a36b0479c7aca21e2d65d9877c0691ce
Author: Aaron Ballman <aaron at aaronballman.com>
Date: 2024-07-02 (Tue, 02 Jul 2024)
Changed paths:
M clang/include/clang/Basic/DiagnosticSemaKinds.td
M clang/lib/Sema/SemaExpr.cpp
A clang/test/C/C2y/n3259.c
M clang/test/C/C99/n809.c
M clang/test/Misc/warning-flags.c
M clang/test/Sema/complex-inc-dec.c
Log Message:
-----------
[C2y] Modify diagnostics for complex increment/decrement
Clang implemented WG14 N3259 as an extension, now it's a feature of C2y.
Commit: b48623c23ae16a424102cc47ad173099bb45a695
https://github.com/llvm/llvm-project/commit/b48623c23ae16a424102cc47ad173099bb45a695
Author: Oleksandr T <oleksandr.tarasiuk at outlook.com>
Date: 2024-07-02 (Tue, 02 Jul 2024)
Changed paths:
M clang/include/clang/AST/Redeclarable.h
Log Message:
-----------
[Clang][NFC] use const references for function parameters in operator== and operator!= overloads in Redeclarable.h (#92963)
Fixes #92755
Commit: 696805d1330491c3228c0221c4458d33a6c4bfac
https://github.com/llvm/llvm-project/commit/696805d1330491c3228c0221c4458d33a6c4bfac
Author: Tim Gymnich <tgymnich at icloud.com>
Date: 2024-07-02 (Tue, 02 Jul 2024)
Changed paths:
M llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
M llvm/test/CodeGen/AArch64/popcount.ll
Log Message:
-----------
[AArch64] Improve non-SVE popcount for 32bit and 64 bit using udot (#95881)
fixes #95860
Use `udot` instead of a sequence of `uaddlp` instructions when summing
up lanes for `popcount`.
Commit: 34f701f1d48e4014f62ee09c28669e9f1020ec23
https://github.com/llvm/llvm-project/commit/34f701f1d48e4014f62ee09c28669e9f1020ec23
Author: Aaron Ballman <aaron at aaronballman.com>
Date: 2024-07-02 (Tue, 02 Jul 2024)
Changed paths:
M clang/test/C/C2y/n3259.c
Log Message:
-----------
Add an explicit triple to the test
This should address a failure found by post-commit CI:
https://lab.llvm.org/buildbot/#/builders/190/builds/1129
Commit: 1617af331e3caa785682955a789d3cfb02bc866d
https://github.com/llvm/llvm-project/commit/1617af331e3caa785682955a789d3cfb02bc866d
Author: Nico Weber <thakis at chromium.org>
Date: 2024-07-02 (Tue, 02 Jul 2024)
Changed paths:
A llvm/utils/gn/secondary/llvm/lib/SandboxIR/BUILD.gn
M llvm/utils/gn/secondary/llvm/unittests/BUILD.gn
A llvm/utils/gn/secondary/llvm/unittests/SandboxIR/BUILD.gn
Log Message:
-----------
[gn] port f9efc2950892 (SandboxIR)
Commit: 9da86ae567a1bd46c5aa9fe225d5e7f059a5b03e
https://github.com/llvm/llvm-project/commit/9da86ae567a1bd46c5aa9fe225d5e7f059a5b03e
Author: Balazs Benics <benicsbalazs at gmail.com>
Date: 2024-07-02 (Tue, 02 Jul 2024)
Changed paths:
M clang/docs/ReleaseNotes.rst
Log Message:
-----------
[clang][docs] Move entries around (#97416)
Let's just move these under the
`Non-comprehensive list of changes in this release` section.
Resolves:
- https://github.com/llvm/llvm-project/pull/79261#issuecomment-2202950396
- https://github.com/llvm/llvm-project/pull/65484#issuecomment-2202956759
Commit: 904e8f936495207cbb36a52fb8ca8183b44d6838
https://github.com/llvm/llvm-project/commit/904e8f936495207cbb36a52fb8ca8183b44d6838
Author: Nikita Popov <npopov at redhat.com>
Date: 2024-07-02 (Tue, 02 Jul 2024)
Changed paths:
M llvm/include/llvm/IR/PassManagerImpl.h
Log Message:
-----------
[PassManager] Reuse StackTraceEntry across passes (NFC)
As suggested by aengelke, create the stack frame before the loop
and only update the pass inside it. This reduces the overhead
of repeatedly registering and unregistering the stack frames.
Commit: f55e12a76d2bf3c4789190debf238a0dc898317f
https://github.com/llvm/llvm-project/commit/f55e12a76d2bf3c4789190debf238a0dc898317f
Author: Sudharsan Veeravalli <quic_svs at quicinc.com>
Date: 2024-07-02 (Tue, 02 Jul 2024)
Changed paths:
M llvm/lib/Transforms/Utils/SimplifyIndVar.cpp
A llvm/test/Transforms/IndVarSimplify/preserving-debugloc-rem-div.ll
Log Message:
-----------
[DebugInfo][SimplifyIndVar] Fix missing debug locations for div/rem instructions (#97284)
Fixes #97282
Commit: 0af2264d4e0b0d05b4fc0b5b730ec8d881f384ba
https://github.com/llvm/llvm-project/commit/0af2264d4e0b0d05b4fc0b5b730ec8d881f384ba
Author: Oleksandr T <oleksandr.tarasiuk at outlook.com>
Date: 2024-07-02 (Tue, 02 Jul 2024)
Changed paths:
M clang/lib/Frontend/Rewrite/RewriteModernObjC.cpp
Log Message:
-----------
[Clang][NFC] Improve RewriteModernObjC code quality by using const reference for function parameters (#93252)
Fixes #92759
Commit: f0567702aac99e97bf5cd42177323d1deaf6e90d
https://github.com/llvm/llvm-project/commit/f0567702aac99e97bf5cd42177323d1deaf6e90d
Author: Gheorghe-Teodor Bercea <doru.bercea at amd.com>
Date: 2024-07-02 (Tue, 02 Jul 2024)
Changed paths:
M openmp/runtime/src/dllexports
Log Message:
-----------
[OpenMP] Add missing export for dynamic tracking patch (#97419)
Add missing export for OpenMP non-offloading builds.
Commit: dacdb8db01751d352c33990197773446980ea37f
https://github.com/llvm/llvm-project/commit/dacdb8db01751d352c33990197773446980ea37f
Author: LLVM GN Syncbot <llvmgnsyncbot at gmail.com>
Date: 2024-07-02 (Tue, 02 Jul 2024)
Changed paths:
M llvm/utils/gn/secondary/lldb/source/Commands/BUILD.gn
Log Message:
-----------
[gn build] Port 410de0c8c831
Commit: 940ea5b8c55dbcb2b1c62027c6c18c70bdf101a9
https://github.com/llvm/llvm-project/commit/940ea5b8c55dbcb2b1c62027c6c18c70bdf101a9
Author: Matt Arsenault <Matthew.Arsenault at amd.com>
Date: 2024-07-02 (Tue, 02 Jul 2024)
Changed paths:
M llvm/test/CodeGen/AMDGPU/trunc-store.ll
Log Message:
-----------
AMDGPU: Add some exotic truncating store tests
PR#97010 is touching the legalize rules for 5 vector stores,
but not all of them so check some more cases to make sure they work.
Commit: a0ab0ca7a733eb9e8e6442676a974ff8a2cdb930
https://github.com/llvm/llvm-project/commit/a0ab0ca7a733eb9e8e6442676a974ff8a2cdb930
Author: Aaron Ballman <aaron at aaronballman.com>
Date: 2024-07-02 (Tue, 02 Jul 2024)
Changed paths:
M clang/include/clang/Basic/DiagnosticSemaKinds.td
M clang/lib/Sema/SemaExpr.cpp
A clang/test/C/C2y/n3273.c
Log Message:
-----------
[C2y] Add diagnostics for alignof on an incomplete array
Clang implemented WG14 N3273 since Clang 3.5
Commit: 9f8f6ce53cb7bc3f139db7b8f614a4f0e9a1b579
https://github.com/llvm/llvm-project/commit/9f8f6ce53cb7bc3f139db7b8f614a4f0e9a1b579
Author: Nikita Popov <npopov at redhat.com>
Date: 2024-07-02 (Tue, 02 Jul 2024)
Changed paths:
M llvm/lib/Transforms/Utils/PromoteMemoryToRegister.cpp
Log Message:
-----------
[SROA] Avoid expensive isComplete() call (NFC)
https://github.com/llvm/llvm-project/pull/83381 introduced a call
to PHINode::isComplete() in Mem2Reg, which is O(n^2) in the number
of predecessors, resulting in pathological compile-time regressions
for cases with many predecessors.
Remove the isComplete() check and instead cache the attribute
lookup, to only perform it once per function. Actually setting
the FMF flag is cheap.
Commit: 43b9888214234363e3468ffda5bcd599e9608938
https://github.com/llvm/llvm-project/commit/43b9888214234363e3468ffda5bcd599e9608938
Author: Jay Foad <jay.foad at amd.com>
Date: 2024-07-02 (Tue, 02 Jul 2024)
Changed paths:
M llvm/lib/Target/AMDGPU/AMDGPUAtomicOptimizer.cpp
M llvm/test/CodeGen/AMDGPU/global_atomic_optimizer_fp_rtn.ll
M llvm/test/CodeGen/AMDGPU/global_atomics_optimizer_fp_no_rtn.ll
M llvm/test/CodeGen/AMDGPU/global_atomics_scan_fmax.ll
M llvm/test/CodeGen/AMDGPU/global_atomics_scan_fmin.ll
Log Message:
-----------
[AMDGPU] Use nan as the identity for atomicrmw fmax/fmin (#97411)
atomicrmw fmax/fmin perform the same operation as llvm.maxnum/minnum
which return the other operand if one operand is nan. This means that,
in the presence of nan arguments, +/- inf is not an identity for these
operations but nan is (at least if you don't care about nan payloads).
Commit: cfbad45339edb4a512982d9180e6fd4bae781d8a
https://github.com/llvm/llvm-project/commit/cfbad45339edb4a512982d9180e6fd4bae781d8a
Author: James Y Knight <jyknight at google.com>
Date: 2024-07-02 (Tue, 02 Jul 2024)
Changed paths:
A libcxx/test/libcxx/utilities/utility/pairs/pairs.pair/pair.incomplete.compile.pass.cpp
Log Message:
-----------
Add a regression test for recent regression in pair. (#97355)
PR #96165 broke code similar to this test, and was subsequently
reverted. Add a test-case, to ensure the problem won't reoccur.
This error is potentially related to issues #59292 and #59966.
Commit: b146a57f6739846f7749daad099882fbd33e3066
https://github.com/llvm/llvm-project/commit/b146a57f6739846f7749daad099882fbd33e3066
Author: Paul Kirth <paulkirth at google.com>
Date: 2024-07-02 (Tue, 02 Jul 2024)
Changed paths:
M lld/ELF/Arch/RISCV.cpp
M llvm/include/llvm/Support/RISCVAttributeParser.h
M llvm/include/llvm/Support/RISCVAttributes.h
M llvm/lib/Support/RISCVAttributeParser.cpp
M llvm/lib/Support/RISCVAttributes.cpp
M llvm/lib/Target/RISCV/MCTargetDesc/RISCVTargetStreamer.cpp
M llvm/test/CodeGen/RISCV/attributes.ll
M llvm/test/MC/RISCV/attribute.s
M llvm/test/MC/RISCV/invalid-attribute.s
Log Message:
-----------
Reapply "[RISCV] Support RISCV Atomics ABI attributes (#84597)"
This patch adds support for the atomic_abi attribute, specifid in
https://github.com/riscv-non-isa/riscv-elf-psabi-doc/blob/master/riscv-elf.adoc#tag_riscv_atomic_abi-14-uleb128version.
This was previously reverted due to ld.bfd segfaulting w/ unknown riscv
attributes. Attribute emission is now guarded by a backend flag
`--riscv-abi-attributes`, which is off by default. Linker support in
LLD for attribute merging is now in a standalone patch.
Reviewers: kito-cheng, MaskRay, asb
Reviewed By: MaskRay
Pull Request: https://github.com/llvm/llvm-project/pull/90266
Commit: abb5bd3732cd0574aec4969d617b87921b5b1f8c
https://github.com/llvm/llvm-project/commit/abb5bd3732cd0574aec4969d617b87921b5b1f8c
Author: Nikita Popov <npopov at redhat.com>
Date: 2024-07-02 (Tue, 02 Jul 2024)
Changed paths:
A llvm/test/Transforms/CorrelatedValuePropagation/vectors.ll
Log Message:
-----------
[CVP] Add vector test cases (NFC)
Commit: 5ee53d417f41e8f452255ded1ff6a522afe17f08
https://github.com/llvm/llvm-project/commit/5ee53d417f41e8f452255ded1ff6a522afe17f08
Author: Harald van Dijk <harald.vandijk at codeplay.com>
Date: 2024-07-02 (Tue, 02 Jul 2024)
Changed paths:
M libclc/CMakeLists.txt
M libclc/cmake/modules/AddLibclc.cmake
Log Message:
-----------
[libclc] Fix cross in-tree builds (#97392)
When performing cross in-tree builds, we need native versions of various
tools, we cannot assume the cross builds that are part of the current
build are executable. LLVM provides the setup_host_tool function to
handle this, either picking up versions of tools from
LLVM_NATIVE_TOOL_DIR, or implicitly building native versions as needed.
Use it for libclc too.
LLVM's setup_host_tool function assumes the project is LLVM, so this
also needs libclc's project() to be conditional on it being built
standalone. Luckily, the only change this needs is using
CMAKE_CURRENT_SOURCE_DIR instead of PROJECT_SOURCE_DIR.
Commit: 70969df73dc9797e1bb219dfb2f6b8ba854bf8ba
https://github.com/llvm/llvm-project/commit/70969df73dc9797e1bb219dfb2f6b8ba854bf8ba
Author: Pete Steinfeld <47540744+psteinfeld at users.noreply.github.com>
Date: 2024-07-02 (Tue, 02 Jul 2024)
Changed paths:
M flang/lib/Evaluate/intrinsics-library.cpp
M flang/test/Evaluate/folding04.f90
Log Message:
-----------
[flang] Improve warnings for invalid arguments when folding host runtime (#96807)
This is another attempt at a change that Jean made to Phabricator in
https://reviews.llvm.org/D116934. That attempt ran into problems with
building on Windows.
This change improves the messages that are produced when running into
invalid arguments during constant folding.
Note that the original attempt at implementing this contained additional
code in .../llvm-project/flang/test/Evaluate/folding04.f90:
```
!WARN: warning: argument 'x' must be strictly positive
real(8), parameter :: nan_r8_dlog1 = dlog(-0.1_8)
TEST_ISNAN(nan_r8_dlog1)
```
For reasons I don't understand, this additional code caused the Windows
build to fail. So this new version of the update does not contain that
code.
Commit: 48263bd7e7a8b9f8de3cb9757008dd1b2b104802
https://github.com/llvm/llvm-project/commit/48263bd7e7a8b9f8de3cb9757008dd1b2b104802
Author: Davide Italiano <davidino at fb.com>
Date: 2024-07-02 (Tue, 02 Jul 2024)
Changed paths:
M llvm/lib/MC/MCAssembler.cpp
Log Message:
-----------
Revert "[MC] Remove assert to work around BOLT"
This reverts commit c72cb2766cec0ac519a051780ae5aed42485e012.
The patch was not reviewed, and this assertion guards against incorrect
values for symbols if the linker decides to modify the layout as it
happens on some platforms. getSymbolOffset() is used for code size
estimation, among others.
Reverting for now, until we get proper code review and undersatnding of
the implications.
Commit: 46f7929879a59ec72dc75679b4201e2d314efba9
https://github.com/llvm/llvm-project/commit/46f7929879a59ec72dc75679b4201e2d314efba9
Author: Davide Italiano <davidino at fb.com>
Date: 2024-07-02 (Tue, 02 Jul 2024)
Changed paths:
M clang/docs/tools/clang-formatted-files.txt
A llvm/include/llvm/MC/MCAsmLayout.h
Log Message:
-----------
Revert "Remove llvm/MC/MCAsmLayout.h"
This reverts commit 122db8b2cb7fa43ce1d6dc17148080579fcfb55a.
Commit: ac0b48a0dbf83b0c7e73fc5635af5b2912c1c54d
https://github.com/llvm/llvm-project/commit/ac0b48a0dbf83b0c7e73fc5635af5b2912c1c54d
Author: Davide Italiano <davidino at fb.com>
Date: 2024-07-02 (Tue, 02 Jul 2024)
Changed paths:
M bolt/lib/Core/BinaryContext.cpp
M llvm/include/llvm/MC/MCAssembler.h
M llvm/lib/MC/MCAssembler.cpp
M llvm/lib/MC/MCExpr.cpp
M llvm/tools/dsymutil/MachOUtils.cpp
Log Message:
-----------
Revert "MCAssembler::layout: remove the unused MCAsmLayout parameter"
This reverts commit 63ec52f867ada8d841dd872acf3d0cb62e2a99e8.
Commit: f80a4072ced41b52363c63df28fea9a649f7f89e
https://github.com/llvm/llvm-project/commit/f80a4072ced41b52363c63df28fea9a649f7f89e
Author: Davide Italiano <davidino at fb.com>
Date: 2024-07-02 (Tue, 02 Jul 2024)
Changed paths:
M llvm/include/llvm/MC/MCAsmLayout.h
M llvm/include/llvm/MC/MCAssembler.h
M llvm/lib/MC/MCAssembler.cpp
M llvm/lib/MC/MCExpr.cpp
M llvm/lib/Target/AVR/MCTargetDesc/AVRMCExpr.cpp
M llvm/lib/Target/PowerPC/MCTargetDesc/PPCMCExpr.cpp
Log Message:
-----------
Revert "[MC] Use a stub ctor for MCAsmLayout"
This reverts commit bbb50369a149d9a7d1f91efaaabf75c260a220c7.
This breaks BOLT.
Commit: 123beb7926651217024e5db58b93ab9e8f3c77c7
https://github.com/llvm/llvm-project/commit/123beb7926651217024e5db58b93ab9e8f3c77c7
Author: Vasileios Porpodas <vporpodas at google.com>
Date: 2024-07-02 (Tue, 02 Jul 2024)
Changed paths:
M llvm/lib/SandboxIR/SandboxIR.cpp
Log Message:
-----------
[NFC][SandboxIR] Drop namespace:: prefix.
Commit: 6c3897d90eda4c39789ac9f4efa51db46734a249
https://github.com/llvm/llvm-project/commit/6c3897d90eda4c39789ac9f4efa51db46734a249
Author: Giuseppe Rossini <giuseppe.rossini at amd.com>
Date: 2024-07-02 (Tue, 02 Jul 2024)
Changed paths:
M mlir/lib/Dialect/Bufferization/Transforms/BufferDeallocationSimplification.cpp
M mlir/lib/Transforms/Utils/RegionUtils.cpp
M mlir/test/Dialect/Bufferization/Transforms/OwnershipBasedBufferDeallocation/dealloc-branchop-interface.mlir
M mlir/test/Dialect/Linalg/detensorize_entry_block.mlir
M mlir/test/Dialect/Linalg/detensorize_if.mlir
M mlir/test/Dialect/Linalg/detensorize_while.mlir
M mlir/test/Dialect/Linalg/detensorize_while_impure_cf.mlir
M mlir/test/Dialect/Linalg/detensorize_while_pure_cf.mlir
M mlir/test/Transforms/canonicalize-block-merge.mlir
M mlir/test/Transforms/canonicalize-dce.mlir
M mlir/test/Transforms/make-isolated-from-above.mlir
A mlir/test/Transforms/test-canonicalize-merge-large-blocks.mlir
Log Message:
-----------
Fix block merging (#96871)
With this PR I am trying to address:
https://github.com/llvm/llvm-project/issues/63230.
What changed:
- While merging identical blocks, don't add a block argument if it is
"identical" to another block argument. I.e., if the two block arguments
refer to the same `Value`. The operations operands in the block will
point to the argument we already inserted
- After merged the blocks, get rid of "unnecessary" arguments. I.e., if
all the predecessors pass the same block argument, there is no need to
pass it as an argument.
- This last simplification clashed with
`BufferDeallocationSimplification`. The reason, I think, is that the two
simplifications are clashing. I.e., `BufferDeallocationSimplification`
contains an analysis based on the block structure. If we simplify the
block structure (by merging and/or dropping block arguments) the
analysis is invalid . The solution I found is to do a more prudent
simplification when running that pass.
**Note**: many tests are still not passing. But I wanted to submit the
code before changing all the tests (and probably adding a couple), so
that we can agree in principle on the algorithm/design.
Commit: 6820b0871807abff07df118659e0de2ca741cb0b
https://github.com/llvm/llvm-project/commit/6820b0871807abff07df118659e0de2ca741cb0b
Author: srcarroll <50210727+srcarroll at users.noreply.github.com>
Date: 2024-07-02 (Tue, 02 Jul 2024)
Changed paths:
M mlir/include/mlir/Dialect/SCF/IR/SCFOps.td
M mlir/include/mlir/Dialect/SCF/Utils/Utils.h
M mlir/include/mlir/Interfaces/LoopLikeInterface.h
M mlir/lib/Dialect/SCF/IR/SCF.cpp
M mlir/lib/Dialect/SCF/TransformOps/SCFTransformOps.cpp
M mlir/lib/Dialect/SCF/Transforms/ParallelLoopFusion.cpp
M mlir/lib/Dialect/SCF/Utils/Utils.cpp
M mlir/lib/Interfaces/LoopLikeInterface.cpp
M mlir/test/Dialect/SCF/transform-loop-fuse-sibling.mlir
Log Message:
-----------
Refactor LoopFuseSiblingOp and support parallel fusion (#94391)
This patch refactors code related to `LoopFuseSiblingOp` transform in
attempt to reduce duplicate common code. The aim is to refactor as much
as possible to a functions on `LoopLikeOpInterface`s, but this is still
a work in progress. A full refactor will require more additions to the
`LoopLikeOpInterface`.
In addition, `scf.parallel` fusion support has been added.
Commit: 13be6ee7da048acff9953db92486f5c2147af3ed
https://github.com/llvm/llvm-project/commit/13be6ee7da048acff9953db92486f5c2147af3ed
Author: Simon Pilgrim <llvm-dev at redking.me.uk>
Date: 2024-07-02 (Tue, 02 Jul 2024)
Changed paths:
M llvm/unittests/Analysis/MLModelRunnerTest.cpp
Log Message:
-----------
Fix MSVC discarded return value warnings. NFC.
"C4858 This function constructs an object wrapped by a smart pointer and has no other effects; it is not useful to call this function and discard the return value."
Commit: 1f7d31e3420f71f3cbf5f455d78735a0f2bd4442
https://github.com/llvm/llvm-project/commit/1f7d31e3420f71f3cbf5f455d78735a0f2bd4442
Author: Simon Pilgrim <llvm-dev at redking.me.uk>
Date: 2024-07-02 (Tue, 02 Jul 2024)
Changed paths:
M llvm/test/CodeGen/AMDGPU/srem.ll
Log Message:
-----------
[AMDGPU] Regenerate srem.ll tests - more closely match the testing in sdiv.ll
Commit: 344228ebf45f9bd1f7626fdcd3c0fada0f0c8385
https://github.com/llvm/llvm-project/commit/344228ebf45f9bd1f7626fdcd3c0fada0f0c8385
Author: Amir Ayupov <aaupov at fb.com>
Date: 2024-07-02 (Tue, 02 Jul 2024)
Changed paths:
M bolt/include/bolt/Core/BinaryBasicBlock.h
M bolt/include/bolt/Core/BinaryContext.h
M bolt/include/bolt/Core/BinaryFunction.h
M bolt/include/bolt/Core/MCPlusBuilder.h
M bolt/lib/Core/BinaryBasicBlock.cpp
M bolt/lib/Core/BinaryEmitter.cpp
M bolt/lib/Core/BinaryFunction.cpp
M bolt/lib/Passes/BinaryPasses.cpp
M bolt/lib/Rewrite/RewriteInstance.cpp
M bolt/lib/Target/AArch64/AArch64MCPlusBuilder.cpp
M bolt/lib/Target/X86/X86MCPlusBuilder.cpp
Log Message:
-----------
[BOLT] Drop macro-fusion alignment (#97358)
9d0754ada5dbbc0c009bcc2f7824488419cc5530 dropped MC support required for
optimal macro-fusion alignment in BOLT. Remove the support in BOLT as
performance measurements with large binaries didn't show a significant
improvement.
Test Plan:
macro-fusion alignment was never upstreamed, so no upstream tests are
affected.
Commit: e3500ea48868651b3d1ef79a7f6a57d45877414a
https://github.com/llvm/llvm-project/commit/e3500ea48868651b3d1ef79a7f6a57d45877414a
Author: Craig Topper <craig.topper at sifive.com>
Date: 2024-07-02 (Tue, 02 Jul 2024)
Changed paths:
M llvm/docs/LangRef.rst
Log Message:
-----------
[LangRef] Replace 'the argument' with 'the first argument' in llvm.abs description. NFC (#97386)
Make it more clear which argument we're referring to.
Similar for vp.abs.
Commit: e414bf9fffcb9b6010c7eb08406696a9de931d66
https://github.com/llvm/llvm-project/commit/e414bf9fffcb9b6010c7eb08406696a9de931d66
Author: Craig Topper <craig.topper at sifive.com>
Date: 2024-07-02 (Tue, 02 Jul 2024)
Changed paths:
M llvm/docs/LangRef.rst
Log Message:
-----------
[LangRef] Document the fourth operand for vp.cttz/ctlz. NFC (#97387)
Commit: 7359edbc0981280e029701aa1ddee7ed313126dc
https://github.com/llvm/llvm-project/commit/7359edbc0981280e029701aa1ddee7ed313126dc
Author: Michael Klemm <michael.klemm at amd.com>
Date: 2024-07-02 (Tue, 02 Jul 2024)
Changed paths:
M flang/runtime/time-intrinsic.cpp
M flang/test/Runtime/no-cpp-dep.c
Log Message:
-----------
[Flang][runtime] Distinguish CPU time and elapsed time for cpu_time and system_clock (#96652)
The current implementation for `system_clock()` returns the CPU time
instead of elapsed wallclock time. This PR fixes the issue and makes
`system_clock()` correctly return elapsed time.
Commit: 87de49753d4bd860fed5165e9411c703107ad3a5
https://github.com/llvm/llvm-project/commit/87de49753d4bd860fed5165e9411c703107ad3a5
Author: Craig Topper <craig.topper at sifive.com>
Date: 2024-07-02 (Tue, 02 Jul 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] Remove IgnoreUnknown from RISCVISAInfo::parseArchString. (#97372)
This isn't used in tree, and thus I don't know what the expectations for
its behavior really are. The original usage of this feature has been replaced
by parseNormalizedArchString.
Commit: 7217201dd9cb216e95dfd80dd11ab3785bfe7455
https://github.com/llvm/llvm-project/commit/7217201dd9cb216e95dfd80dd11ab3785bfe7455
Author: Philip Reames <preames at rivosinc.com>
Date: 2024-07-02 (Tue, 02 Jul 2024)
Changed paths:
M llvm/test/CodeGen/RISCV/rvv/fixed-vectors-fp-buildvec.ll
M llvm/test/CodeGen/RISCV/rvv/fixed-vectors-int-buildvec.ll
Log Message:
-----------
[RISCV] Add coverage of build vectors with rv32 + v + bitmanip
rv32+v allows cases with XLEN < ELEN, and since we're about to add
a bitmanip specific lowering, it's good to have coverage of this
corner case.
Commit: e94a00c3b8bf81fcd441c868644612fc887c7170
https://github.com/llvm/llvm-project/commit/e94a00c3b8bf81fcd441c868644612fc887c7170
Author: Fangrui Song <i at maskray.me>
Date: 2024-07-02 (Tue, 02 Jul 2024)
Changed paths:
M llvm/include/llvm/MC/MCAsmLayout.h
M llvm/include/llvm/MC/MCAssembler.h
M llvm/lib/MC/MCAssembler.cpp
M llvm/lib/MC/MCExpr.cpp
M llvm/lib/Target/AVR/MCTargetDesc/AVRMCExpr.cpp
M llvm/lib/Target/PowerPC/MCTargetDesc/PPCMCExpr.cpp
Log Message:
-----------
[MC] Use a stub ctor for MCAsmLayout
and replace MCAssembler::Layout with a bool.
This mostly completes "[MC] Start merging MCAsmLayout into MCAssembler".
Note: BOLT used a dummy `MCAsmLayout` to call `getSymbolOffset`, which
is technically not supported. There is some discussion in
https://reviews.llvm.org/D154604 .
The revert f80a4072ced41b52363c63df28fea9a649f7f89e is incorrect and
actually broke bots.
Commit: 60cd3eb880fe48d192a58c64a1e38e875fc65377
https://github.com/llvm/llvm-project/commit/60cd3eb880fe48d192a58c64a1e38e875fc65377
Author: Kevin Frei <kevinfrei at users.noreply.github.com>
Date: 2024-07-02 (Tue, 02 Jul 2024)
Changed paths:
M llvm/include/llvm/DebugInfo/DWARF/DWARFUnit.h
M llvm/lib/DebugInfo/DWARF/DWARFUnit.cpp
M llvm/lib/DebugInfo/GSYM/DwarfTransformer.cpp
Log Message:
-----------
Reduce llvm-gsymutil memory usage (#91023)
llvm-gsymutil eats a lot of RAM. On some large binaries, it causes OOM's on smaller hardware, consuming well over 64GB of RAM. This change frees line tables once we're done with them, and frees DWARFUnits's DIE's when we finish processing each DU, though they may get reconstituted if there are references from other DU's during processing. Once the conversion is complete, all DIE's are freed. The reduction in peak memory usage from these changes showed between 7-12% in my tests.
The double-checked locking around the creation & freeing of the data structures was tested on a 166 core system. I validated that it trivially malfunctioned without the locks (and with stupid reordering of the locks) and worked reliably with them.
---------
Co-authored-by: Kevin Frei <freik at meta.com>
Commit: 5e564d97e3e99006e725b3ac514675a0157e9762
https://github.com/llvm/llvm-project/commit/5e564d97e3e99006e725b3ac514675a0157e9762
Author: Michael Klemm <michael.klemm at amd.com>
Date: 2024-07-02 (Tue, 02 Jul 2024)
Changed paths:
M flang/runtime/time-intrinsic.cpp
Log Message:
-----------
[Flang][runtime] Fix compilation errors introduced with PR #96652 (#97442)
Commit: ebdb6f4ef4ba79eb73589fc96a64ce2c6994935d
https://github.com/llvm/llvm-project/commit/ebdb6f4ef4ba79eb73589fc96a64ce2c6994935d
Author: Arthur Eubanks <aeubanks at google.com>
Date: 2024-07-02 (Tue, 02 Jul 2024)
Changed paths:
M llvm/include/llvm/Analysis/MLInlineAdvisor.h
M llvm/lib/Analysis/MLInlineAdvisor.cpp
Log Message:
-----------
[MLInliner] Keep track of deleted functions (#97348)
As opposed to using Node::isDead(), which is no longer accurate after
#94815.
This is only used in diagnostics.
Commit: bf5a2a99b186216e4126dae3b16851f16c50603f
https://github.com/llvm/llvm-project/commit/bf5a2a99b186216e4126dae3b16851f16c50603f
Author: Pete Steinfeld <47540744+psteinfeld at users.noreply.github.com>
Date: 2024-07-02 (Tue, 02 Jul 2024)
Changed paths:
M flang/lib/Evaluate/intrinsics-library.cpp
Log Message:
-----------
[flang] Fix build problem caused by #96807 (#97450)
I had erroneously used a bitwise '&' with boolean operands which caused
a warning on the ARM build. This change fixes that.
Commit: e852725e5d517195de247f30b62ad2c56717958a
https://github.com/llvm/llvm-project/commit/e852725e5d517195de247f30b62ad2c56717958a
Author: Matt Arsenault <Matthew.Arsenault at amd.com>
Date: 2024-07-02 (Tue, 02 Jul 2024)
Changed paths:
M llvm/lib/Support/Unix/Signals.inc
Log Message:
-----------
Support: Fix typo in comment
Commit: fdd319655359b005889abf40d1d8a54fbd56059e
https://github.com/llvm/llvm-project/commit/fdd319655359b005889abf40d1d8a54fbd56059e
Author: Fangrui Song <i at maskray.me>
Date: 2024-07-02 (Tue, 02 Jul 2024)
Changed paths:
M lld/ELF/LinkerScript.cpp
M lld/ELF/LinkerScript.h
M lld/ELF/Writer.cpp
A lld/test/ELF/linkerscript/empty-preinit-array-start-stop.test
A lld/test/ELF/linkerscript/empty-section-start-stop.test
R lld/test/ELF/linkerscript/preinit-array-empty.test
M lld/test/ELF/linkerscript/sections-gc2.s
M lld/test/ELF/pre_init_fini_array_missing.s
Log Message:
-----------
[ELF] Make start/stop symbols retain associated discardable output sections
An empty output section specified in the `SECTIONS` command (e.g.
`empty : { *(empty) }`) may be discarded. Due to phase ordering, we
might define `__start_empty`/`__stop_empty` symbols with incorrect
section indexes (usually benign, but could go out of bounds and cause
`readelf -s` to print `BAD`).
```
finalizeSections
addStartStopSymbols // __start_empty is defined
// __start_empty is added to .symtab
sortSections
adjustOutputSections // `empty` is discarded
writeSections
// __start_empty is Defined with an invalid section index
```
Loaders use `st_value` members of the start/stop symbols and expect no
"undefined symbol" linker error, but do not particularly care whether
the symbols are defined or undefined. Let's retain the associated empty
output section so that start/stop symbols will have correct section
indexes.
The approach allows us to remove `LinkerScript::isDiscarded`
(https://reviews.llvm.org/D114179). Also delete the
`findSection(".text")` special case from https://reviews.llvm.org/D46200,
which is unnecessary even before this patch (`elfHeader` would be fine
even with very large executables).
Note: we should be careful not to unnecessarily retain .ARM.exidx, which
would create an empty PT_ARM_EXIDX. ~40 tests would need to be updated.
---
An alternative is to discard the empty output section and keep the
start/stop symbols undefined. This approach needs more code and requires
`LinkerScript::isDiscarded` before we discard empty sections in
``adjustOutputSections`.
Pull Request: https://github.com/llvm/llvm-project/pull/96343
Commit: 5f1743cd074cc7d45744d1acc8db379513b4501c
https://github.com/llvm/llvm-project/commit/5f1743cd074cc7d45744d1acc8db379513b4501c
Author: Fangrui Song <i at maskray.me>
Date: 2024-07-02 (Tue, 02 Jul 2024)
Changed paths:
M lld/ELF/Driver.cpp
M lld/test/ELF/basic-freebsd.s
Log Message:
-----------
[ELF] Infer EI_OSABI from object files
The first object file whose EI_OSABI is not ELFOSABI_NONE is selected.
This is useful for some OSes to identify themselves. This achieves
similar effects to BFD emulations `ld.lld -m *_fbsd` but is more
lightweight.
Pull Request: https://github.com/llvm/llvm-project/pull/97144
Commit: 0fb3351524acd48c62c06c57ed28cc423db4e99e
https://github.com/llvm/llvm-project/commit/0fb3351524acd48c62c06c57ed28cc423db4e99e
Author: Sam Clegg <sbc at chromium.org>
Date: 2024-07-02 (Tue, 02 Jul 2024)
Changed paths:
A lld/test/wasm/import-table-explicit.s
A lld/test/wasm/import-table.s
R lld/test/wasm/import-table.test
M lld/wasm/SymbolTable.cpp
Log Message:
-----------
[lld][WebAssembly] Fix for --import-table when combined with reference types (#97451)
When reference types are enabled clang will generate call_indirect
instructions that explicitly reference the global
`__indirect_function_table` symbol.
In this case the resulting global symbol was not being correctly marked
with explicit import name/module, resulting in the linker reporting
errors when it was referenced.
This issue was reported in
https://github.com/WebAssembly/tool-conventions/issues/158
Commit: 4d8883759432bb5fe6c5039b88c035d127ce948d
https://github.com/llvm/llvm-project/commit/4d8883759432bb5fe6c5039b88c035d127ce948d
Author: Sam Clegg <sbc at chromium.org>
Date: 2024-07-02 (Tue, 02 Jul 2024)
Changed paths:
M lld/test/wasm/unresolved-symbols.s
M lld/wasm/Relocations.cpp
Log Message:
-----------
[lld][WebAssembly] Fix filename when reporting references to undefined symbols (#97444)
When an undefined symbol is referenced from more than one file we were
reporting all undefined symbols as originating from just one of them.
This came up while working on
https://github.com/WebAssembly/tool-conventions/issues/158 where
undefined symbols in one object file were being reported as coming from
another.
Commit: 3c50cbfda4fc3ad85349167132f7ed809ecc685a
https://github.com/llvm/llvm-project/commit/3c50cbfda4fc3ad85349167132f7ed809ecc685a
Author: Joseph Huber <huberjn at outlook.com>
Date: 2024-07-02 (Tue, 02 Jul 2024)
Changed paths:
M offload/DeviceRTL/src/Debug.cpp
M offload/DeviceRTL/src/LibC.cpp
Log Message:
-----------
[DeviceRTL] Make defined 'libc' functions weak in OpenMP (#97356)
Summary:
These functions provide special-case implementations internal to the
OpenMP device runtime. This can potentially conflict with the symbols
pulled in from the actual GPU `libc`. This patch makes these weak, so in
the case that the GPU libc functions exist they will be overridden. This
should not impact performance in the average case because the old
`-mlink-builtin-bitcode` version does internalization, deleting weak,
and the new LTO path will resolve to the strong reference and then
internalize it.
Commit: 2f89d4a8c79a2e88f2749c7460886e0d776f3aff
https://github.com/llvm/llvm-project/commit/2f89d4a8c79a2e88f2749c7460886e0d776f3aff
Author: Florian Hahn <flo at fhahn.com>
Date: 2024-07-02 (Tue, 02 Jul 2024)
Changed paths:
M llvm/include/llvm/Analysis/ScalarEvolution.h
M llvm/lib/Analysis/ScalarEvolution.cpp
Log Message:
-----------
[SCEV] Split collecting and applying rewrite info from loop guards (NFC) (#97316)
Introduce a new LoopGuards class to track info from loop guards and split
off collecting rewrite info to LoopGuards::collect. This allows users of
applyLoopGuards to collect rewrite info once in cases where the same
loop guards are applied multiple times.
This is used to collect rewrite info once in howFarToZero, which saves a
bit of compile-time:
stage1-O3: -0.04%
stage1-ReleaseThinLTO: -0.02%
stage1-ReleaseLTO-g: -0.04%
stage2-O3: -0.02%
https://llvm-compile-time-tracker.com/compare.php?from=117b53ae38428ca66eaa886fb432e6f09db88fe4&to=4ffb7b2e1c99081ccebe6f236c48a0be2f64b6ff&stat=instructions:u
Notably this improves mafft by -0.9% with -O3, -0.11% with LTO and
-0.12% with stage2-O3.
PR: https://github.com/llvm/llvm-project/pull/97316
Commit: 072e81db7a974bfb27b9b65d73330de7dd739821
https://github.com/llvm/llvm-project/commit/072e81db7a974bfb27b9b65d73330de7dd739821
Author: Aaron Ballman <aaron at aaronballman.com>
Date: 2024-07-02 (Tue, 02 Jul 2024)
Changed paths:
M clang/docs/ReleaseNotes.rst
M clang/lib/AST/ASTContext.cpp
M clang/lib/Headers/amxcomplexintrin.h
M clang/lib/Headers/ia32intrin.h
M clang/test/Index/annotate-comments.cpp
M clang/unittests/AST/DeclTest.cpp
Log Message:
-----------
Revert "[Clang][Comments] Attach comments to decl even if preproc directives are in between (#88367)"
This reverts commit 9f04d75b2bd8ba83863db74ebe1a5c08cfc5815c.
There was post-commit feedback on the direction this PR took.
Commit: b8eaa5bb10e1cf282fef130e372e57acc6a4b7e7
https://github.com/llvm/llvm-project/commit/b8eaa5bb10e1cf282fef130e372e57acc6a4b7e7
Author: Kazu Hirata <kazu at google.com>
Date: 2024-07-02 (Tue, 02 Jul 2024)
Changed paths:
M llvm/include/llvm/ProfileData/InstrProf.h
M llvm/lib/ProfileData/InstrProf.cpp
Log Message:
-----------
[ProfileData] Remove the old version of getValueProfDataFromInst (#97374)
I've migrated uses of the old version of getValueProfDataFromInst to
the one that returns SmallVector<InstrProfValueData, 4>. This patch
removes the old version.
Commit: 28a11cc49203b9af0875f4a78a681115478190b8
https://github.com/llvm/llvm-project/commit/28a11cc49203b9af0875f4a78a681115478190b8
Author: Mehdi Amini <joker.eph at gmail.com>
Date: 2024-07-02 (Tue, 02 Jul 2024)
Changed paths:
M mlir/lib/Dialect/Bufferization/Transforms/BufferDeallocationSimplification.cpp
M mlir/lib/Transforms/Utils/RegionUtils.cpp
M mlir/test/Dialect/Bufferization/Transforms/OwnershipBasedBufferDeallocation/dealloc-branchop-interface.mlir
M mlir/test/Dialect/Linalg/detensorize_entry_block.mlir
M mlir/test/Dialect/Linalg/detensorize_if.mlir
M mlir/test/Dialect/Linalg/detensorize_while.mlir
M mlir/test/Dialect/Linalg/detensorize_while_impure_cf.mlir
M mlir/test/Dialect/Linalg/detensorize_while_pure_cf.mlir
M mlir/test/Transforms/canonicalize-block-merge.mlir
M mlir/test/Transforms/canonicalize-dce.mlir
M mlir/test/Transforms/make-isolated-from-above.mlir
R mlir/test/Transforms/test-canonicalize-merge-large-blocks.mlir
Log Message:
-----------
Revert "Fix block merging" (#97460)
Reverts llvm/llvm-project#96871
Bots are broken.
Commit: e25da69c132b2829a90a0fff6764cf27ea30a6d3
https://github.com/llvm/llvm-project/commit/e25da69c132b2829a90a0fff6764cf27ea30a6d3
Author: Craig Topper <craig.topper at sifive.com>
Date: 2024-07-02 (Tue, 02 Jul 2024)
Changed paths:
M llvm/docs/LangRef.rst
Log Message:
-----------
[LangRef] Rename 'operand' to 'argument' in descriptions of VP intrinsics. NFC (#97437)
Fixes inconsistencies noted in #97386 and #97387.
There are still more intrinsics that have the same issue. I might submit
more patches for those.
Commit: 717d839be4e36ab5330e60d61e0e1265c233b2ea
https://github.com/llvm/llvm-project/commit/717d839be4e36ab5330e60d61e0e1265c233b2ea
Author: Craig Topper <craig.topper at sifive.com>
Date: 2024-07-02 (Tue, 02 Jul 2024)
Changed paths:
M llvm/docs/LangRef.rst
Log Message:
-----------
[LangRef] Rename 'operand' to 'argument' in descriptions for masked load/store/gather/scatter. NFC (#97440)
Following up on the renaming started in #97437.
Commit: 139508eb87bda18c8adbfb87bba6acac8ce29a36
https://github.com/llvm/llvm-project/commit/139508eb87bda18c8adbfb87bba6acac8ce29a36
Author: Alexey Bataev <a.bataev at outlook.com>
Date: 2024-07-02 (Tue, 02 Jul 2024)
Changed paths:
A llvm/test/Transforms/SLPVectorizer/X86/reordering-single-phi.ll
Log Message:
-----------
[SLP][NFC]Add a test with inefficient reordering of operands, NFC.
Commit: b8bbc57b68454fda9811fd956a1d2caa61d4d323
https://github.com/llvm/llvm-project/commit/b8bbc57b68454fda9811fd956a1d2caa61d4d323
Author: Petr Hosek <phosek at google.com>
Date: 2024-07-02 (Tue, 02 Jul 2024)
Changed paths:
M libc/cmake/modules/CheckCompilerFeatures.cmake
M libc/cmake/modules/LLVMLibCCompileOptionRules.cmake
Log Message:
-----------
[libc] Use -nostdlibinc in the full build mode (#97461)
This avoids accidentally including system headers.
Commit: 3584a82333bf518e25c84d30e31ab5decd0f3fb6
https://github.com/llvm/llvm-project/commit/3584a82333bf518e25c84d30e31ab5decd0f3fb6
Author: Petr Hosek <phosek at google.com>
Date: 2024-07-02 (Tue, 02 Jul 2024)
Changed paths:
M libc/cmake/modules/LLVMLibCCompileOptionRules.cmake
Log Message:
-----------
[libc] Only use COMPILER_RESOURCE_DIR if available (#97465)
This avoids build error when COMPILER_RESOURCE_DIR is unset.
Commit: 59f4267c8e0625c6583327be2db1608930f2d796
https://github.com/llvm/llvm-project/commit/59f4267c8e0625c6583327be2db1608930f2d796
Author: Med Ismail Bennani <ismail at bennani.ma>
Date: 2024-07-02 (Tue, 02 Jul 2024)
Changed paths:
M lldb/docs/CMakeLists.txt
M lldb/docs/index.rst
M lldb/examples/python/templates/operating_system.py
M lldb/examples/python/templates/scripted_platform.py
M lldb/examples/python/templates/scripted_process.py
Log Message:
-----------
[lldb/docs] Add scripting extensions documentation to the website (#97262)
This patch adds the documentation for a subset of scripting extensions
such as scripted process, scripted thread, operating system threads &
scritped thread plans to the lldb website.
Signed-off-by: Med Ismail Bennani <ismail at bennani.ma>
Commit: 93e0ffa790c5f738171ed90004ab2b9e46f8d387
https://github.com/llvm/llvm-project/commit/93e0ffa790c5f738171ed90004ab2b9e46f8d387
Author: Joseph Huber <huberjn at outlook.com>
Date: 2024-07-02 (Tue, 02 Jul 2024)
Changed paths:
M lld/ELF/Driver.cpp
M lld/ELF/Options.td
M lld/test/ELF/lto/emit-llvm.ll
Log Message:
-----------
[lld] Add `--lto-emit-asm` and alias `--plugin-opt=emit-llvm` to it (#97469)
Summary:
The LTO pass currently supporting emitting LTO via the
`--plugin-opt=emit-llvm` option. However, there is a very similar option
called `--lto-emit-asm`. This patch just makes the usage more
consistent and more obvious that emitting LLVM-IR is supported.
Commit: 2ee86a1ebb9be7ff7be893b411a4af0a1dcee420
https://github.com/llvm/llvm-project/commit/2ee86a1ebb9be7ff7be893b411a4af0a1dcee420
Author: Tim Gymnich <tgymnich at icloud.com>
Date: 2024-07-02 (Tue, 02 Jul 2024)
Changed paths:
M llvm/lib/Target/AArch64/GISel/AArch64LegalizerInfo.cpp
M llvm/test/CodeGen/AArch64/popcount.ll
Log Message:
-----------
[AArch64][GlobalISel] Improve non-SVE popcount for 32bit and 64 bit using udot (#96409)
Follow up for #95881
Use udot instead of a sequence of uaddlp instructions when summing up
lanes for popcount.
Commit: 9fa7f401b2651663407562932529f72142bf8aaa
https://github.com/llvm/llvm-project/commit/9fa7f401b2651663407562932529f72142bf8aaa
Author: alx32 <103613512+alx32 at users.noreply.github.com>
Date: 2024-07-02 (Tue, 02 Jul 2024)
Changed paths:
M lld/MachO/ObjC.cpp
A lld/test/MachO/objc-category-merging-swift.s
Log Message:
-----------
[lld-macho] Category merger: handle addends when getting symbol at offset (#91238)
Currently the `tryFindDefinedOnIsec` takes in an `InputSection` and an
`offset` and is supposed to return the target symbol that is referenced
on that `InputSection` at the given offset.
However, it does not deal with the reloc `addend` and might return the
incorrect symbol.
Here we add support for handling the reloc's `addend`.
Commit: 1490141145db1f9136a16bbce0f020e576613a72
https://github.com/llvm/llvm-project/commit/1490141145db1f9136a16bbce0f020e576613a72
Author: Fangrui Song <i at maskray.me>
Date: 2024-07-02 (Tue, 02 Jul 2024)
Changed paths:
M llvm/include/llvm/MC/MCSection.h
M llvm/include/llvm/MC/MCSectionMachO.h
M llvm/lib/MC/MachObjectWriter.cpp
Log Message:
-----------
Move MCSection::LayoutOrder to MCSectionMachO
This variable is similar to `Ordinal` but only used for Mach-O to place
zerofill sections ("virtual sections" in MC term) after non-zerofill ones.
Follow-up to 7840c0066837797cdeb62aab63044b964aa7f372.
Pull Request: https://github.com/llvm/llvm-project/pull/97474
Commit: 45507166a1b38ce2831bd1e32f43977f647ccf47
https://github.com/llvm/llvm-project/commit/45507166a1b38ce2831bd1e32f43977f647ccf47
Author: Igor Kudrin <ikudrin at accesssoftek.com>
Date: 2024-07-02 (Tue, 02 Jul 2024)
Changed paths:
M llvm/test/CodeGen/AArch64/machine-outliner-retaddr-sign-cfi.ll
M llvm/test/CodeGen/AArch64/machine-outliner-retaddr-sign-diff-scope-same-key.ll
M llvm/test/CodeGen/AArch64/machine-outliner-retaddr-sign-non-leaf.ll
M llvm/test/CodeGen/AArch64/machine-outliner-retaddr-sign-regsave.mir
M llvm/test/CodeGen/AArch64/machine-outliner-retaddr-sign-same-scope-diff-key.ll
M llvm/test/CodeGen/AArch64/machine-outliner-retaddr-sign-same-scope-same-key-a.ll
M llvm/test/CodeGen/AArch64/machine-outliner-retaddr-sign-same-scope-same-key-b.ll
M llvm/test/CodeGen/AArch64/machine-outliner-retaddr-sign-subtarget.ll
M llvm/test/CodeGen/AArch64/machine-outliner-retaddr-sign-thunk.ll
M llvm/test/CodeGen/AArch64/machine-outliner-retaddr-sign-v8-3.ll
Log Message:
-----------
[AArch64][MachineOutliner][NFC] Re-enable some tests (#96376)
Part of the tests did not run and some checks were missing due to
incorrect prefixes. The patch also updates the check lines to catch up
with recent changes.
The problematic revisions were:
* [D70635](https://reviews.llvm.org/D70635)
* [D71658](https://reviews.llvm.org/D71658)
* [D111780](https://reviews.llvm.org/D111780)
Commit: 79516ddbee3a1d6c95cfbe6d14c790f741167165
https://github.com/llvm/llvm-project/commit/79516ddbee3a1d6c95cfbe6d14c790f741167165
Author: Matt Arsenault <Matthew.Arsenault at amd.com>
Date: 2024-07-02 (Tue, 02 Jul 2024)
Changed paths:
M llvm/lib/Target/AMDGPU/AMDGPUCodeGenPrepare.cpp
M llvm/test/CodeGen/AMDGPU/codegen-prepare-addrspacecast-non-null.ll
Log Message:
-----------
AMDGPU: Fix assert from wrong address space size assumption (#97267)
This was assuming the source address space was at least as large
as the destination of the cast. I'm not sure why this was casting
to begin with; the assumption seems to be the source
address space from the root addrspacecast matches the underlying
object so directly check that.
Fixes #97457
Commit: 57555c6a0a96790bf1408b056405abe07899ead4
https://github.com/llvm/llvm-project/commit/57555c6a0a96790bf1408b056405abe07899ead4
Author: Craig Topper <craig.topper at sifive.com>
Date: 2024-07-02 (Tue, 02 Jul 2024)
Changed paths:
M llvm/lib/Target/RISCV/RISCVISelLowering.cpp
Log Message:
-----------
[RISCV] Don't custom lower f16 SCALAR_TO_VECTOR with Zvfhmin.
This doesn't appear to be tested and our custom handler doesn't
support this right now.
Commit: 9ed4b171e95e9704286a5406c41a9a14580e2c42
https://github.com/llvm/llvm-project/commit/9ed4b171e95e9704286a5406c41a9a14580e2c42
Author: Tom Stellard <tstellar at redhat.com>
Date: 2024-07-02 (Tue, 02 Jul 2024)
Changed paths:
M third-party/unittest/CMakeLists.txt
Log Message:
-----------
llvm_gtest: Only install once (#96959)
llvm_gtest and its dependencies were being installed twice (and into two
different locations depending on the cmake options).
Commit: 21276fd7beb640d5fb1a10c228c9f48f620a8eac
https://github.com/llvm/llvm-project/commit/21276fd7beb640d5fb1a10c228c9f48f620a8eac
Author: Fangrui Song <i at maskray.me>
Date: 2024-07-02 (Tue, 02 Jul 2024)
Changed paths:
M llvm/lib/MC/MCMachOStreamer.cpp
M llvm/test/MC/MachO/cfi-advance-loc-err.s
Log Message:
-----------
[MC] Don't treat altentry symbols as atoms
The current `setAtom` is inaccurate: a `.alt_entry` label can also be
recognized as an atom. This is mostly benign, but might cause two
locations only separated by an `.alt_entry` to have different atoms.
https://reviews.llvm.org/D153167 changed a `evaluateKnownAbsolute` to
`evaluateAsAbsolute` and would not fold `A-B` even if they are only
separated by a `.alt_entry` label, leading to a spurious error
`invalid CFI advance_loc expression`.
The fix is similar to #82268: add a special case for `.alt_entry`.
Fix #97116
Pull Request: https://github.com/llvm/llvm-project/pull/97479
Commit: 622df0ee9226b90e924538909337d55333d5d2fa
https://github.com/llvm/llvm-project/commit/622df0ee9226b90e924538909337d55333d5d2fa
Author: Med Ismail Bennani <ismail at bennani.ma>
Date: 2024-07-02 (Tue, 02 Jul 2024)
Changed paths:
M lldb/bindings/python/CMakeLists.txt
M lldb/docs/CMakeLists.txt
A lldb/docs/python_extensions.rst
A lldb/examples/python/templates/scripted_thread_plan.py
Log Message:
-----------
[lldb] Add scripted thread plan python base class to lldb & website (#97481)
Following a feedback request in #97262, I took out the scripted thread
plan python base class from it and make a separate PR for it.
This patch adds the scripted thread plan base python class to the lldb
python module as well as the lldb documentation website.
Signed-off-by: Med Ismail Bennani <ismail at bennani.ma>
Commit: 5196a91b0827b895aba63ce150ebc8f10795316c
https://github.com/llvm/llvm-project/commit/5196a91b0827b895aba63ce150ebc8f10795316c
Author: Helena Kotas <hekotas at microsoft.com>
Date: 2024-07-02 (Tue, 02 Jul 2024)
Changed paths:
M clang/lib/Sema/SemaHLSL.cpp
M clang/test/SemaHLSL/Availability/avail-diag-default-lib.hlsl
M clang/test/SemaHLSL/Availability/avail-diag-relaxed-lib.hlsl
M clang/test/SemaHLSL/Availability/avail-diag-strict-lib.hlsl
Log Message:
-----------
[HLSL] Run availability diagnostic on exported functions (#97352)
Implements availability diagnostic on `export` functions.
For shader libraries the HLSL availability diagnostic should run on all
entry points and export functions. Now that the `export` keyword is
implemented (llvm/llvm-project#96823), we can detect which functions are
exported and run the diagnostic on them.
Exported functions can be nested in namespaces and in export
declarations so we need to scan not just the current translation unit
but also namespace and export declarations contexts.
Fixes #92073
Commit: 60d4a3517610494e5b2ef6bf347cdc71a6a979e5
https://github.com/llvm/llvm-project/commit/60d4a3517610494e5b2ef6bf347cdc71a6a979e5
Author: Craig Topper <craig.topper at sifive.com>
Date: 2024-07-02 (Tue, 02 Jul 2024)
Changed paths:
M llvm/docs/LangRef.rst
Log Message:
-----------
[LangRef] Rename 'operand' to 'argument' in description of contrained intrinsics. NFC (#97462)
Continues the renaming started in #97437.
Commit: 23db37c51cd3dcdcf069345aa7fab7d84b6f6f6e
https://github.com/llvm/llvm-project/commit/23db37c51cd3dcdcf069345aa7fab7d84b6f6f6e
Author: Igor Kudrin <ikudrin at accesssoftek.com>
Date: 2024-07-02 (Tue, 02 Jul 2024)
Changed paths:
M llvm/include/llvm/IR/Instructions.h
M llvm/lib/CodeGen/GlobalISel/IRTranslator.cpp
M llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
M llvm/test/CodeGen/X86/trap.ll
M llvm/test/CodeGen/X86/unreachable-trap.ll
A llvm/test/CodeGen/X86/unreachable-ubsantrap.ll
M llvm/test/LTO/X86/unified-cfi.ll
Log Message:
-----------
[CodeGen] Do not emit TRAP for `unreachable` after `@llvm.trap` (#94570)
With `--trap-unreachable`, `clang` can emit double `TRAP` instructions
for code that contains a call to `__builtin_trap()`:
```
> cat test.c
void test() { __builtin_trap(); }
> clang test.c --target=x86_64 -mllvm --trap-unreachable -O1 -S -o -
...
test:
...
ud2
ud2
...
```
`SimplifyCFGPass` inserts `unreachable` after a call to a `noreturn`
function, and later this instruction causes `TRAP/G_TRAP` to be emitted
in `SelectionDAGBuilder::visitUnreachable()` or
`IRTranslator::translateUnreachable()` if
`TargetOptions.TrapUnreachable` is set.
The patch checks the instruction before `unreachable` and avoids
inserting an additional trap.
Commit: b5b0a22ecc58c9950fb4b1cd3532e75f42155978
https://github.com/llvm/llvm-project/commit/b5b0a22ecc58c9950fb4b1cd3532e75f42155978
Author: Evgenii Kudriashov <evgenii.kudriashov at intel.com>
Date: 2024-07-03 (Wed, 03 Jul 2024)
Changed paths:
M llvm/lib/Target/X86/GISel/X86CallLowering.cpp
M llvm/test/CodeGen/X86/GlobalISel/irtranslator-callingconv.ll
M llvm/test/CodeGen/X86/isel-buildvector-sse.ll
M llvm/test/CodeGen/X86/isel-buildvector-sse2.ll
Log Message:
-----------
[X86][GlobalISel] Support StructRet arguments (#96629)
We follow SelectionDAG and FastISel manner: set a register during formal
arguments lowering and use this register to insert a copy of StructRet
argument to RAX register during return lowering.
Also add RAX register to RET instruction to fix a difference between
GlobalISel and SelectionDAG, when the copy instruction could be
deleted.
Commit: 594bc520a8a14617bdfc158f4c78fa70567dab19
https://github.com/llvm/llvm-project/commit/594bc520a8a14617bdfc158f4c78fa70567dab19
Author: Joseph Huber <huberjn at outlook.com>
Date: 2024-07-02 (Tue, 02 Jul 2024)
Changed paths:
M lld/ELF/LTO.cpp
M lld/test/ELF/lto/emit-llvm.ll
Log Message:
-----------
[lld] Change `--lto-emit-llvm` to use the pre-codegen module (#97480)
Summary:
Currently the `--lto-emit-llvm` option writes out the
post-internalization bitcode. This is the bitcode before any
optimizations or other pipelines have been run on it. This patch changes
that to use the pre-codegen module, which is the state of the LLVM-IR
after the optimizations have been run.
I believe that this makes sense as the `--lto-emit-llvm` option seems to
imply that we should emit the final output of the LLVM pass as if it
were the desired output. This should include optimizations at the
requested optimization level. My main motivation for this change is to
be able to use this to link several LLVM-IR files into a single one that
I can then pass back to `ld.lld` later (for JIT purposes).
Commit: 4b28b3fae4eb0808a135a7ec73a2f4a7257a6652
https://github.com/llvm/llvm-project/commit/4b28b3fae4eb0808a135a7ec73a2f4a7257a6652
Author: Kazu Hirata <kazu at google.com>
Date: 2024-07-02 (Tue, 02 Jul 2024)
Changed paths:
M llvm/lib/Transforms/IPO/Attributor.cpp
M llvm/lib/Transforms/IPO/DeadArgumentElimination.cpp
M llvm/lib/Transforms/Instrumentation/MemorySanitizer.cpp
M llvm/lib/Transforms/Scalar/Scalarizer.cpp
M llvm/lib/Transforms/Utils/AMDGPUEmitPrintf.cpp
M llvm/lib/Transforms/Utils/InlineFunction.cpp
M llvm/lib/Transforms/Utils/Local.cpp
M llvm/lib/Transforms/Utils/LoopSimplify.cpp
Log Message:
-----------
[Transforms] Use range-based for loops (NFC) (#97195)
Commit: 4e567242133678c88a6cb5aeb979c6148f6a7035
https://github.com/llvm/llvm-project/commit/4e567242133678c88a6cb5aeb979c6148f6a7035
Author: OverMighty <its.overmighty at gmail.com>
Date: 2024-07-02 (Tue, 02 Jul 2024)
Changed paths:
M libc/config/linux/aarch64/entrypoints.txt
M libc/config/linux/x86_64/entrypoints.txt
M libc/docs/math/index.rst
M libc/spec/llvm_libc_ext.td
M libc/spec/stdc.td
M libc/src/math/CMakeLists.txt
A libc/src/math/f16add.h
A libc/src/math/f16addf128.h
A libc/src/math/f16addl.h
A libc/src/math/f16sub.h
A libc/src/math/f16subf128.h
A libc/src/math/f16subl.h
M libc/src/math/generic/CMakeLists.txt
A libc/src/math/generic/f16add.cpp
A libc/src/math/generic/f16addf128.cpp
A libc/src/math/generic/f16addl.cpp
A libc/src/math/generic/f16sub.cpp
A libc/src/math/generic/f16subf128.cpp
A libc/src/math/generic/f16subl.cpp
M libc/test/src/math/CMakeLists.txt
A libc/test/src/math/f16add_test.cpp
A libc/test/src/math/f16addl_test.cpp
A libc/test/src/math/f16sub_test.cpp
A libc/test/src/math/f16subl_test.cpp
M libc/test/src/math/smoke/CMakeLists.txt
A libc/test/src/math/smoke/f16add_test.cpp
A libc/test/src/math/smoke/f16addf128_test.cpp
A libc/test/src/math/smoke/f16addl_test.cpp
A libc/test/src/math/smoke/f16sub_test.cpp
A libc/test/src/math/smoke/f16subf128_test.cpp
A libc/test/src/math/smoke/f16subl_test.cpp
Log Message:
-----------
[libc][math][c23] Add f16{add,sub}{,l,f128} C23 math functions (#97072)
Part of #93566.
Commit: 58fd3bea6d759eb17722ad2e0135714a34efd7e0
https://github.com/llvm/llvm-project/commit/58fd3bea6d759eb17722ad2e0135714a34efd7e0
Author: Kazu Hirata <kazu at google.com>
Date: 2024-07-02 (Tue, 02 Jul 2024)
Changed paths:
M llvm/lib/CodeGen/AggressiveAntiDepBreaker.cpp
M llvm/lib/CodeGen/GlobalISel/CombinerHelper.cpp
M llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
Log Message:
-----------
[CodeGen] Use range-based for loops (NFC) (#97467)
Commit: a1c4926dd0ffbc3be8b27b159d8b1978b2ee9411
https://github.com/llvm/llvm-project/commit/a1c4926dd0ffbc3be8b27b159d8b1978b2ee9411
Author: Petr Hosek <phosek at google.com>
Date: 2024-07-02 (Tue, 02 Jul 2024)
Changed paths:
M libc/CMakeLists.txt
M libc/cmake/modules/LLVMLibCCompileOptionRules.cmake
Log Message:
-----------
[libc] Include Linux kernel headers in the full build (#97486)
When doing a full build for Linux, as of #97461 we no longer include
system headers, but we need to include Linux kernel headers.
Commit: 35668e2c9cb1a09fac1773dfc62fcd892b358294
https://github.com/llvm/llvm-project/commit/35668e2c9cb1a09fac1773dfc62fcd892b358294
Author: Fangrui Song <i at maskray.me>
Date: 2024-07-02 (Tue, 02 Jul 2024)
Changed paths:
M bolt/lib/Core/BinaryContext.cpp
M clang/docs/tools/clang-formatted-files.txt
R llvm/include/llvm/MC/MCAsmLayout.h
M llvm/include/llvm/MC/MCAssembler.h
M llvm/lib/MC/MCAssembler.cpp
M llvm/lib/MC/MCExpr.cpp
M llvm/tools/dsymutil/MachOUtils.cpp
Log Message:
-----------
Remove llvm/MC/MCAsmLayout.h and the unused parameter in MCAssembler::layout
This restores 63ec52f867ada8d841dd872acf3d0cb62e2a99e8 and
46f7929879a59ec72dc75679b4201e2d314efba9, NFC changes that were
unnecessarily reverted.
This completes the work that merges MCAsmLayout into MCAssembler.
Pull Request: https://github.com/llvm/llvm-project/pull/97449
Commit: 3402a1a4d2d4c7ead69156c3d741fc9ae9c4d399
https://github.com/llvm/llvm-project/commit/3402a1a4d2d4c7ead69156c3d741fc9ae9c4d399
Author: Alexander Shaposhnikov <ashaposhnikov at google.com>
Date: 2024-07-02 (Tue, 02 Jul 2024)
Changed paths:
M clang/lib/CodeGen/BackendUtil.cpp
M clang/test/CodeGen/no-skipped-passes-O0-opt-bisect.c
A clang/test/CodeGen/nsan-basic.c
M clang/test/CodeGen/sanitizer-module-constructor.c
Log Message:
-----------
[Clang] Enable nsan instrumentation pass (#97359)
Enable nsan instrumentation pass
Commit: 0a369b06e34495966c6c9db427ea52f77a82a0bf
https://github.com/llvm/llvm-project/commit/0a369b06e34495966c6c9db427ea52f77a82a0bf
Author: Ryotaro KASUGA <kasuga.ryotaro at fujitsu.com>
Date: 2024-07-03 (Wed, 03 Jul 2024)
Changed paths:
M llvm/include/llvm/CodeGen/MachinePipeliner.h
M llvm/lib/CodeGen/MachinePipeliner.cpp
A llvm/test/CodeGen/AArch64/sms-instruction-scheduled-at-correct-cycle.mir
Log Message:
-----------
Reapply "[MachinePipeliner] Fix constraints aren't considered in cert… (#97259)
…ain cases" (#97246)
This reverts commit e6a961dbef773b16bda2cebc4bf9f3d1e0da42fc.
There is no difference from the original change. I re-ran the failed
test and it passed. So the failure wasn't caused by this change.
test result: https://lab.llvm.org/buildbot/#/builders/176/builds/585
Commit: 7c94a227bccf4d067a65f4ed88aa415fd1de9d81
https://github.com/llvm/llvm-project/commit/7c94a227bccf4d067a65f4ed88aa415fd1de9d81
Author: Alexander Shaposhnikov <ashaposhnikov at google.com>
Date: 2024-07-02 (Tue, 02 Jul 2024)
Changed paths:
M clang/lib/Driver/ToolChains/CommonArgs.cpp
M clang/test/Driver/sanitizer-ld.c
Log Message:
-----------
[Clang][Driver] Link nsan runtime (#97364)
Link nsan runtime.
Commit: 0856064ea219d029e7d2c4f68bb88196fe647f6b
https://github.com/llvm/llvm-project/commit/0856064ea219d029e7d2c4f68bb88196fe647f6b
Author: Youngsuk Kim <youngsuk.kim at hpe.com>
Date: 2024-07-02 (Tue, 02 Jul 2024)
Changed paths:
M clang/lib/StaticAnalyzer/Checkers/CheckObjCDealloc.cpp
M clang/lib/StaticAnalyzer/Checkers/RetainCountChecker/RetainCountDiagnostics.cpp
M clang/lib/StaticAnalyzer/Core/ExprEngine.cpp
M clang/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp
M clang/lib/StaticAnalyzer/Core/SVals.cpp
Log Message:
-----------
[clang][StaticAnalyzer] Avoid 'raw_string_ostream::str' (NFC)
Since `raw_string_ostream` doesn't own the string buffer, it is
desirable (in terms of memory safety) for users to directly reference
the string buffer rather than use `raw_string_ostream::str()`.
Work towards TODO comment to remove `raw_string_ostream::str()`.
Commit: de5ff38a0d20faedac43a1d838fb65b67e77c34e
https://github.com/llvm/llvm-project/commit/de5ff38a0d20faedac43a1d838fb65b67e77c34e
Author: Min-Yih Hsu <min.hsu at sifive.com>
Date: 2024-07-02 (Tue, 02 Jul 2024)
Changed paths:
M llvm/lib/Transforms/Vectorize/LoopIdiomVectorize.cpp
Log Message:
-----------
[LoopIdiomVectorize][NFC] Factoring out the part that handles vectorization strategy (#94682)
To pave the way for porting LIV to RISC-V, which uses VP intrinsics for
vectors.
NFC.
Commit: a355c2d07464f020c9a66cbd6189c22a42c2be2e
https://github.com/llvm/llvm-project/commit/a355c2d07464f020c9a66cbd6189c22a42c2be2e
Author: Shan Huang <52285902006 at stu.ecnu.edu.cn>
Date: 2024-07-03 (Wed, 03 Jul 2024)
Changed paths:
M llvm/lib/Transforms/Scalar/InferAddressSpaces.cpp
A llvm/test/Transforms/InferAddressSpaces/AMDGPU/preserving-debugloc-addrspacecast.ll
Log Message:
-----------
[DebugInfo][InferAddressSpaces] Fix the missing debug location update for the new addrspacecast (#97038)
Fix #97006 .
Commit: 8b55d342b6375ec64985272020d21f29422dce6a
https://github.com/llvm/llvm-project/commit/8b55d342b6375ec64985272020d21f29422dce6a
Author: Min-Yih Hsu <min.hsu at sifive.com>
Date: 2024-07-02 (Tue, 02 Jul 2024)
Changed paths:
M llvm/include/llvm/Transforms/Vectorize/LoopIdiomVectorize.h
M llvm/lib/Target/RISCV/RISCVTargetMachine.cpp
M llvm/lib/Target/RISCV/RISCVTargetMachine.h
M llvm/lib/Target/RISCV/RISCVTargetTransformInfo.h
M llvm/lib/Transforms/Vectorize/LoopIdiomVectorize.cpp
A llvm/test/CodeGen/RISCV/rvv/vfirst-byte-compare-index.ll
A llvm/test/Transforms/LoopIdiom/RISCV/byte-compare-index.ll
Log Message:
-----------
[RISCV][LoopIdiomVectorize] Support VP intrinsics in LoopIdiomVectorize (#94082)
Teach LoopIdiomVectorize to use VP intrinsics to replace the byte
compare loops. Right now only RISC-V uses LoopIdiomVectorize of this
style.
Commit: 2360c410fa501cb0a1606fc279e61abcda54326c
https://github.com/llvm/llvm-project/commit/2360c410fa501cb0a1606fc279e61abcda54326c
Author: Min Hsu <min.hsu at sifive.com>
Date: 2024-07-02 (Tue, 02 Jul 2024)
Changed paths:
M llvm/lib/Target/RISCV/CMakeLists.txt
Log Message:
-----------
[RISCV] Add the missing dependency on Vectorize
Caused by #94082.
Commit: 3641efcf8cb256ddbd20f4add5ce55800cad5399
https://github.com/llvm/llvm-project/commit/3641efcf8cb256ddbd20f4add5ce55800cad5399
Author: Kazu Hirata <kazu at google.com>
Date: 2024-07-02 (Tue, 02 Jul 2024)
Changed paths:
M llvm/lib/CodeGen/AssignmentTrackingAnalysis.cpp
Log Message:
-----------
[CodeGen] Use range-based for loops (NFC) (#97500)
Commit: 0f9fbbb63cfcd2069441aa2ebef622c9716f8dbb
https://github.com/llvm/llvm-project/commit/0f9fbbb63cfcd2069441aa2ebef622c9716f8dbb
Author: Hongyu Chen <hongyuchy at google.com>
Date: 2024-07-02 (Tue, 02 Jul 2024)
Changed paths:
M lld/Common/Version.cpp
M lld/ELF/Driver.cpp
M lld/MinGW/Driver.cpp
M lld/test/ELF/version.test
M lld/test/MinGW/driver.test
Log Message:
-----------
[lld][ELF] Support LLVM repository and LLVM revision information (#97323)
Added LLVM repository and LLVM revision information for
`lld::getLLDVersion()`
Before this change:
```
hongyuchy at hongyuchy:~/llvm-project/.build_lld_version$ bin/ld.lld --version
LLD 19.0.0 (compatible with GNU linkers)
```
After this change with LLVM_APPEND_VC_REV=on
```
hongyuchy at hongyuchy:~/llvm-project/.build_lld_version$ bin/ld.lld --version
LLD 19.0.0 (https://github.com/yugier/llvm-project.git 4134b33c6a362cb462b335177d6d9e8235f04309), compatible with GNU linkers
```
with LLVM_APPEND_VC_REV=off
```
hongyuchy at hongyuchy:~/llvm-project/.build_lld_version$ bin/ld.lld --version
LLD 19.0.0, compatible with GNU linkers
```
Commit: e860c166556105c6f9275e130a0c27ae117a5f12
https://github.com/llvm/llvm-project/commit/e860c166556105c6f9275e130a0c27ae117a5f12
Author: Luke Lau <luke at igalia.com>
Date: 2024-07-03 (Wed, 03 Jul 2024)
Changed paths:
A llvm/docs/RISCV/RISCVVectorExtension.rst
M llvm/docs/UserGuides.rst
Log Message:
-----------
[Docs][RISCV] Document RISC-V vector codegen (#96740)
This is a revival of https://reviews.llvm.org/D142348, and attempts to
document how RVV semantics can be expressed in LLVM IR as well as how
codegen works in the backend.
Parts of this are taken from the original RFC
https://lists.llvm.org/pipermail/llvm-dev/2020-October/145850.html, but
I've largely rewritten this from the original differential revision to
exclude explaining the specification itself and instead just focus on
the LLVM specific bits. (I figured that there's better material
available elsewhere for learning about RVV itself)
I've also updated it to include as much as I know about fixed vector
codegen as well as the recent changes to vsetvli insertion.
Commit: 6a992bc89f5ca25d132abd044d78ecf27ae6e162
https://github.com/llvm/llvm-project/commit/6a992bc89f5ca25d132abd044d78ecf27ae6e162
Author: Chen Zheng <czhengsz at cn.ibm.com>
Date: 2024-07-03 (Wed, 03 Jul 2024)
Changed paths:
M clang/lib/Basic/Targets/PPC.cpp
M clang/lib/CodeGen/CGBuiltin.cpp
M llvm/include/llvm/TargetParser/PPCTargetParser.def
M llvm/lib/Target/PowerPC/PPCInstrInfo.cpp
A llvm/tools/clang
Log Message:
-----------
[PowerPC] refactor CPU info in PPCTargetParser.def, NFC
CPU features will be done in follow up patches.
Commit: a9c44fd66a1a2f79c96cb5509634ca67a04b061a
https://github.com/llvm/llvm-project/commit/a9c44fd66a1a2f79c96cb5509634ca67a04b061a
Author: Vitaly Buka <vitalybuka at google.com>
Date: 2024-07-02 (Tue, 02 Jul 2024)
Changed paths:
M compiler-rt/test/asan/TestCases/printf-5.c
Log Message:
-----------
[asan] Disable flaky test on Android (#97516)
Issue #97515
Commit: dd220853081400db6b4f85027030645115229ba0
https://github.com/llvm/llvm-project/commit/dd220853081400db6b4f85027030645115229ba0
Author: Slava Zakharin <szakharin at nvidia.com>
Date: 2024-07-02 (Tue, 02 Jul 2024)
Changed paths:
A flang/include/flang/Runtime/matmul-instances.inc
M flang/include/flang/Runtime/matmul-transpose.h
M flang/include/flang/Runtime/matmul.h
M flang/runtime/matmul-transpose.cpp
M flang/runtime/matmul.cpp
M flang/unittests/Runtime/Matmul.cpp
M flang/unittests/Runtime/MatmulTranspose.cpp
Log Message:
-----------
[flang][runtime] Split MATMUL[_TRANSPOSE] into separate entries. (#97406)
Device compilation is much faster for separate MATMUL[_TRANPOSE]
entries than for a single one that covers all data types.
The lowering changes and the removal of the generic entries will follow.
Commit: 03579455bd941da6278f883ed8827ef0fbeb5e50
https://github.com/llvm/llvm-project/commit/03579455bd941da6278f883ed8827ef0fbeb5e50
Author: agozillon <Andrew.Gozillon at amd.com>
Date: 2024-07-03 (Wed, 03 Jul 2024)
Changed paths:
M flang/lib/Lower/OpenMP/OpenMP.cpp
A flang/test/Lower/OpenMP/declare-target-unnamed-main.f90
Log Message:
-----------
[Flang][OpenMP] More elegantly handle declare target in unnamed program (#95834)
This PR is related to the following issue:
https://github.com/llvm/llvm-project/issues/63362
It tries to solve the crash (which is now slightly different, since the
issue has been languishing for a while sorry about that I missed the
original issue ping).
The crash occurs due to trying to access the symbol of an
undefined/unnamed main when trying to find a declare target symbol that
has not been specified (but can be assumed based on it's residence in a
function or interface).
The solution in this PR will check if we're trying to retrieve a main
symbol, and then if that is the case, we make sure it exists (due to
being named) before we attempt to retrieve it, this avoids the crash.
However, that's only part of the issue in the above example, the other
is the significant amount of nested directives, I think we are still a
little while away from handling this, I have added a reduced variation
of the test in the issue as a replicator which contains a lesser number
of nesting directives. To push the issue along further, it will likely
be a case of working through a number of variations of nested directives
in conjunction with target + parallel.
However, this PR pushes the issue above to the point where the issue
encountered is identical to the following:
https://github.com/llvm/llvm-project/issues/67231
Commit: c785eaec373aecf669807d29478ddefd56c82228
https://github.com/llvm/llvm-project/commit/c785eaec373aecf669807d29478ddefd56c82228
Author: Craig Topper <craig.topper at sifive.com>
Date: 2024-07-02 (Tue, 02 Jul 2024)
Changed paths:
M llvm/lib/TargetParser/RISCVISAInfo.cpp
Log Message:
-----------
[RISCV] Add wrapper function for getStringError in RISCVISAInfo. NFC (#97478)
We use the same error code for all errors. Add a wrapper so we don't
have to repeat it.
Commit: 0cfd03ac0d3f9713090a581bda07584754c73a49
https://github.com/llvm/llvm-project/commit/0cfd03ac0d3f9713090a581bda07584754c73a49
Author: Kazu Hirata <kazu at google.com>
Date: 2024-07-02 (Tue, 02 Jul 2024)
Changed paths:
M llvm/lib/ProfileData/InstrProfWriter.cpp
Log Message:
-----------
[ProfileData] Use ArrayRef in PatchItem (NFC) (#97379)
Packaging an array and its size as ArrayRef in PatchItem allows us to
get rid of things like std::size(Header) and HeaderOffsets.size().
Commit: 4e78d3a6b1560fb5debf1b518b4bd62924e900e5
https://github.com/llvm/llvm-project/commit/4e78d3a6b1560fb5debf1b518b4bd62924e900e5
Author: srcarroll <50210727+srcarroll at users.noreply.github.com>
Date: 2024-07-03 (Wed, 03 Jul 2024)
Changed paths:
M mlir/include/mlir/Dialect/SCF/IR/SCFOps.td
M mlir/include/mlir/Dialect/SCF/Utils/Utils.h
M mlir/include/mlir/Interfaces/LoopLikeInterface.h
M mlir/lib/Dialect/SCF/IR/SCF.cpp
M mlir/lib/Dialect/SCF/TransformOps/SCFTransformOps.cpp
M mlir/lib/Dialect/SCF/Transforms/ParallelLoopFusion.cpp
M mlir/lib/Dialect/SCF/Utils/Utils.cpp
M mlir/lib/Interfaces/LoopLikeInterface.cpp
M mlir/test/Dialect/SCF/transform-loop-fuse-sibling.mlir
Log Message:
-----------
Revert "Refactor LoopFuseSiblingOp and support parallel fusion (#94391)" (#97523)
This reverts commit 6820b0871807abff07df118659e0de2ca741cb0b.
Commit: e1094dd889c516da0c3181bf2be44ad631a84255
https://github.com/llvm/llvm-project/commit/e1094dd889c516da0c3181bf2be44ad631a84255
Author: Fabian Ritter <fabian.ritter at amd.com>
Date: 2024-07-03 (Wed, 03 Jul 2024)
Changed paths:
M llvm/lib/Target/AMDGPU/AMDGPUISelLowering.cpp
M llvm/test/CodeGen/AMDGPU/gfx-callable-argument-types.ll
M llvm/test/CodeGen/AMDGPU/memcpy-fixed-align.ll
M llvm/test/CodeGen/AMDGPU/memcpy-libcall.ll
A llvm/test/CodeGen/AMDGPU/memcpy-param-combinations.ll
A llvm/test/CodeGen/AMDGPU/memcpy-scalar-load.ll
A llvm/test/CodeGen/AMDGPU/memmove-param-combinations.ll
A llvm/test/CodeGen/AMDGPU/memmove-scalar-load.ll
Log Message:
-----------
[AMDGPU][DAG] Enable ganging up of memcpy loads/stores for AMDGPU (#96185)
In the SelectionDAG lowering of the memcpy intrinsic, this optimization
introduces additional chains between fixed-size groups of loads and the
corresponding stores. While initially introduced to ensure that wider
load/store-pair instructions are generated on AArch64, this optimization
also improves code generation for AMDGPU: Ganged loads are scheduled
into a clause; stores only await completion of their corresponding load.
The chosen value of 16 performed good in microbenchmarks, values of 8,
32, or 64 would perform similarly.
The testcase updates are autogenerated by
utils/update_llc_test_checks.py.
See also:
- PR introducing this optimization: https://reviews.llvm.org/D46477
Part of SWDEV-455845.
Commit: 690ecee40cd2f3d6655af09272c89a2ea15ada60
https://github.com/llvm/llvm-project/commit/690ecee40cd2f3d6655af09272c89a2ea15ada60
Author: Chen Zheng <czhengsz at cn.ibm.com>
Date: 2024-07-03 (Wed, 03 Jul 2024)
Changed paths:
R llvm/tools/clang
Log Message:
-----------
remove the symlink adding by mistake, NFC.
Commit: c5b67dde981d81f9bbd9a6328d5c1eb4297ed3b4
https://github.com/llvm/llvm-project/commit/c5b67dde981d81f9bbd9a6328d5c1eb4297ed3b4
Author: Thorsten Schütt <schuett at gmail.com>
Date: 2024-07-03 (Wed, 03 Jul 2024)
Changed paths:
M llvm/include/llvm/Target/GlobalISel/Combine.td
M llvm/lib/CodeGen/GlobalISel/CombinerHelper.cpp
M llvm/test/CodeGen/AArch64/GlobalISel/form-bitfield-extract-from-and.mir
Log Message:
-----------
[GlobalIsel][NFC] Modernize UBFX combine (#97513)
Credits: https://reviews.llvm.org/D99283
Commit: a707d0883b5ab9de6a0a864df614ef14909a4de1
https://github.com/llvm/llvm-project/commit/a707d0883b5ab9de6a0a864df614ef14909a4de1
Author: Joachim <jenke at itc.rwth-aachen.de>
Date: 2024-07-03 (Wed, 03 Jul 2024)
Changed paths:
M openmp/runtime/src/kmp_csupport.cpp
M openmp/runtime/src/kmp_dispatch.cpp
M openmp/runtime/src/kmp_sched.cpp
M openmp/runtime/src/ompt-specific.h
M openmp/runtime/test/ompt/callback.h
M openmp/runtime/test/ompt/synchronization/ordered_dependences.c
M openmp/runtime/test/ompt/tasks/taskloop.c
M openmp/runtime/test/ompt/tasks/taskloop_dispatch.c
M openmp/runtime/test/ompt/teams/distribute_dispatch.c
M openmp/runtime/test/ompt/worksharing/for/auto.c
M openmp/runtime/test/ompt/worksharing/for/auto_serialized.c
M openmp/runtime/test/ompt/worksharing/for/auto_split.c
M openmp/runtime/test/ompt/worksharing/for/base.h
M openmp/runtime/test/ompt/worksharing/for/base_serialized.h
M openmp/runtime/test/ompt/worksharing/for/base_split.h
M openmp/runtime/test/ompt/worksharing/for/guided_serialized.c
M openmp/runtime/test/ompt/worksharing/for/loop_dispatch.c
M openmp/runtime/test/ompt/worksharing/for/runtime.c
M openmp/runtime/test/ompt/worksharing/for/runtime_serialized.c
M openmp/runtime/test/ompt/worksharing/for/runtime_split.c
M openmp/runtime/test/ompt/worksharing/sections.c
M openmp/runtime/test/ompt/worksharing/sections_dispatch.c
M openmp/runtime/test/ompt/worksharing/single.c
Log Message:
-----------
[OpenMP][OMPT] Indicate loop schedule for worksharing-loop events (#97429)
Use more specific values from `ompt_work_t` to allow the tool identify
the schedule of a worksharing-loop. With this patch, the runtime will
report the schedule chosen by the runtime rather than necessarily the
schedule literally requested by the clause.
E.g., for guided + just one iteration per thread, the runtime would
choose and report static.
Fixes issue #63904
Commit: b77e734e4e6c8f5e016ba3ac49526862e6039482
https://github.com/llvm/llvm-project/commit/b77e734e4e6c8f5e016ba3ac49526862e6039482
Author: David Spickett <david.spickett at linaro.org>
Date: 2024-07-03 (Wed, 03 Jul 2024)
Changed paths:
M lldb/source/Plugins/Process/Utility/RegisterFlagsDetector_arm64.cpp
M lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerLLGS.cpp
M lldb/test/API/commands/register/register/register_command/TestRegisters.py
M lldb/test/API/functionalities/postmortem/elf-core/TestLinuxCore.py
M lldb/test/API/linux/aarch64/mte_core_file/TestAArch64LinuxMTEMemoryTagCoreFile.py
M lldb/test/Shell/Register/Core/aarch64-freebsd-register-fields.test
Log Message:
-----------
[lldb][AArch64] Add register field enum information (#96887)
This enables XML output for enums and adds enums for 2 fields on AArch64
Linux:
* mte_ctrl.tcf, which controls how tag faults are delivered.
* fpcr.rmode, which sets the rounding mode for floating point
operations.
The other one we could do is cpsr.btype, but it is not clear what would
be useful here so I'm not including it in this change.
Commit: 3969d2c3b5f42e4a180f5205efa780b0f950d733
https://github.com/llvm/llvm-project/commit/3969d2c3b5f42e4a180f5205efa780b0f950d733
Author: Nikita Popov <npopov at redhat.com>
Date: 2024-07-03 (Wed, 03 Jul 2024)
Changed paths:
M llvm/lib/Transforms/InstCombine/InstCombineSelect.cpp
M llvm/test/Transforms/InstCombine/select-binop-cmp.ll
Log Message:
-----------
[InstCombine] Disable select known bits fold for vectors
This is not safe if the simplification ends up looking through
lane-crossing operations. For now, we don't have a good way to
limit this in computeKnownBits(), so just disable vector handling
entirely.
Fixes https://github.com/llvm/llvm-project/issues/97475.
Commit: b3be14896770b31c18f4ec32b05b334dc811f356
https://github.com/llvm/llvm-project/commit/b3be14896770b31c18f4ec32b05b334dc811f356
Author: Luke Lau <luke at igalia.com>
Date: 2024-07-03 (Wed, 03 Jul 2024)
Changed paths:
M llvm/lib/Target/RISCV/RISCVInsertVSETVLI.cpp
M llvm/test/CodeGen/RISCV/rvv/vsetvli-insert-crossbb.ll
Log Message:
-----------
[RISCV] Use LiveIntervals::extendToIndices to extend AVL in insertVSETVLI (#97512)
In #96200 we handled extending AVL LiveIntervals across basic blocks,
which fixed a crash in a test case in
133ab9a8c82a31549f060da33fd7e14f1d7f39fd.
This was done by manually adding a single segment to the LiveInterval to
extend it from AVL def -> inserted vsetvli, but in hindsight this was
too simple and fails to handle cases where the vsetlvi is located before
the AVL def.
This patch fixes this by using LiveIntervals::extendToIndices instead
which can handle these cases.
(The crash that this fixes is separate from the crash in #97264)
Commit: f3a02253e9daba0e5c11b94c090dfa9e2e9ad5db
https://github.com/llvm/llvm-project/commit/f3a02253e9daba0e5c11b94c090dfa9e2e9ad5db
Author: Jay Foad <jay.foad at amd.com>
Date: 2024-07-03 (Wed, 03 Jul 2024)
Changed paths:
M llvm/test/Bitcode/upgrade-memory-intrinsics.ll
M llvm/test/CodeGen/AMDGPU/GlobalISel/llvm.amdgcn.wqm.demote.ll
M llvm/test/CodeGen/AMDGPU/amdgpu-reloc-const.ll
M llvm/test/CodeGen/AMDGPU/cse-phi-incoming-val.ll
M llvm/test/CodeGen/AMDGPU/dual-source-blend-export.ll
M llvm/test/CodeGen/AMDGPU/llvm.amdgcn.kill.ll
M llvm/test/CodeGen/AMDGPU/llvm.amdgcn.wqm.demote.ll
M llvm/test/CodeGen/AMDGPU/load-local-redundant-copies.ll
M llvm/test/CodeGen/AMDGPU/memory_clause.ll
M llvm/test/CodeGen/AMDGPU/multi-divergent-exit-region.ll
M llvm/test/CodeGen/AMDGPU/skip-if-dead.ll
M llvm/test/CodeGen/AMDGPU/wqm-gfx11.ll
M llvm/test/CodeGen/X86/masked_store.ll
M llvm/test/Transforms/InstCombine/select.ll
M llvm/test/Transforms/InstSimplify/select-inseltpoison.ll
M llvm/test/Transforms/InstSimplify/select.ll
Log Message:
-----------
[test] Remove immarg parameter attribute from calls (#97432)
It is documented that immarg is only valid on intrinsic declarations,
although the verifier also tolerates it on intrinsic calls.
This patch updates tests that are not specifically testing the
behavior of the IR parser or verifier.
Commit: 76c84e702bd9af7db2bb9373ba6de0508f1e57a9
https://github.com/llvm/llvm-project/commit/76c84e702bd9af7db2bb9373ba6de0508f1e57a9
Author: Shengchen Kan <shengchen.kan at intel.com>
Date: 2024-07-03 (Wed, 03 Jul 2024)
Changed paths:
M clang/include/clang/Driver/Options.td
M flang/test/Driver/target-cpu-features.f90
Log Message:
-----------
[Driver][X86] Add flang visibility for -mapx-features= (#97525)
The default visibility of `m_x86_Features_Group` is `ClangOption,
CLOption`. For x86, we expose `-march` to flang but not `-m<cpuid>`.
`apxf` is special b/c it contains several independent features like
`egpr, ndd, ppx, push2pop2, ccmp, nf, cf` and `zu`.
Users may would like to turn on part of features in different cases
1. enable `ndd` only when writing a code-size sensitive library
2. disable `ccmp`, `cf` when building component has strong security
request on caches
Hence, we expose `-mapx-features=` to flang for Fortran users.
Commit: 2a14c0643597c5932af85f22172c99800f9b4a6c
https://github.com/llvm/llvm-project/commit/2a14c0643597c5932af85f22172c99800f9b4a6c
Author: Pavel Labath <pavel at labath.sk>
Date: 2024-07-03 (Wed, 03 Jul 2024)
Changed paths:
M lldb/include/lldb/Utility/Broadcaster.h
M lldb/source/Utility/Broadcaster.cpp
M lldb/source/Utility/Listener.cpp
M lldb/unittests/Utility/ListenerTest.cpp
Log Message:
-----------
[lldb] Make Broadcaster mutexes non-recursive (#97400)
Non-recursive mutexes encourage better locking discipline and avoid bugs
like #96750, where one can unexpectedly re-enter the critical section on
the same thread, and interrupt a presumed-indivisible operation.
In this case, the only needed fix was to remove locking from some
BroadcastManager functions, which were only called from the Listener
class (and the listener already locked those mutexes to preserve lock
ordering).
While doing that, I noticed we don't have unit tests for these
functions, so I added one.
Commit: 1787d4b28417ea9f26c0213e8f597cc5bb289144
https://github.com/llvm/llvm-project/commit/1787d4b28417ea9f26c0213e8f597cc5bb289144
Author: Stefan Gränitz <stefan.graenitz at gmail.com>
Date: 2024-07-03 (Wed, 03 Jul 2024)
Changed paths:
M clang/lib/Interpreter/Interpreter.cpp
M clang/unittests/Interpreter/InterpreterTest.cpp
Log Message:
-----------
[clang-repl] Fix RuntimeInterfaceBuilder for 32-bit systems (#97071)
When generating runtime interface bindings, extend integral types to the
native register size rather than 64-bit per se
Fixes #94994
Commit: aa0851a5a6fd0c8d66dfd8b259c215dba3fabd1e
https://github.com/llvm/llvm-project/commit/aa0851a5a6fd0c8d66dfd8b259c215dba3fabd1e
Author: Michael Buch <michaelbuch12 at gmail.com>
Date: 2024-07-03 (Wed, 03 Jul 2024)
Changed paths:
M lldb/source/Plugins/Language/CPlusPlus/LibCxxMap.cpp
Log Message:
-----------
[lldb][DataFormatter][NFC] Remove redundant variables in std::map formatter
Redundant since:
```
commit be3be28b5d5c97de1c26bf069e0b82043d938f30
Author: Enrico Granata <egranata at apple.com>
Date: Mon Oct 3 23:33:00 2016 +0000
Changes to the std::multimap formatter to make it work against trunk libc++
Fixes rdar://28237486
llvm-svn: 283160
```
Commit: da62f5f8dfe4d4196191b40dc41e1ef2de1bf5cb
https://github.com/llvm/llvm-project/commit/da62f5f8dfe4d4196191b40dc41e1ef2de1bf5cb
Author: Michael Buch <michaelbuch12 at gmail.com>
Date: 2024-07-03 (Wed, 03 Jul 2024)
Changed paths:
M lldb/source/Plugins/Language/CPlusPlus/LibCxxMap.cpp
Log Message:
-----------
[lldb][DataFormatter][NFC] std::map: Add comments and other minor cleanups
Commit: e89890e8e510f2b76c8c4a2b2a6fc323b1e837ad
https://github.com/llvm/llvm-project/commit/e89890e8e510f2b76c8c4a2b2a6fc323b1e837ad
Author: Michael Buch <michaelbuch12 at gmail.com>
Date: 2024-07-03 (Wed, 03 Jul 2024)
Changed paths:
M lldb/source/Plugins/Language/CPlusPlus/LibCxxMap.cpp
Log Message:
-----------
[lldb][DataFormatter][NFC] std::map: minor restructuring in GetChildAtIndex to use early-return
Commit: 40278bb1193720c42911f7297d3bcb4c5af5bc9c
https://github.com/llvm/llvm-project/commit/40278bb1193720c42911f7297d3bcb4c5af5bc9c
Author: Slava Zakharin <szakharin at nvidia.com>
Date: 2024-07-03 (Wed, 03 Jul 2024)
Changed paths:
M flang/lib/Lower/OpenACC.cpp
M flang/test/Lower/OpenACC/acc-data.f90
M flang/test/Lower/OpenACC/acc-enter-data.f90
M flang/test/Lower/OpenACC/acc-exit-data.f90
M flang/test/Lower/OpenACC/acc-parallel.f90
M flang/test/Lower/OpenACC/acc-serial.f90
M flang/test/Lower/OpenACC/acc-update.f90
M mlir/include/mlir/Dialect/OpenACC/OpenACC.h
M mlir/include/mlir/Dialect/OpenACC/OpenACCOps.td
M mlir/lib/Dialect/OpenACC/IR/OpenACC.cpp
Log Message:
-----------
[mlir][acc] Added async to data clause operations. (#97307)
As long as the data clause operations are not tightly
"associated" with the compute/data operations (e.g.
they can be optimized as SSA producers and made block
arguments), the information about the original async()
clause should be attached to the data clause operations
to make it easier to generate proper runtime actions
for them. This change propagates the async() information
from the OpenACC data/compute constructs to the data clause
operations. This change also adds the CurrentDeviceIdResource
to guarantee proper ordering of the operations that read
and write the current device identifier.
Commit: 68a1944070caa33d73390e1a6d956c6abdbea872
https://github.com/llvm/llvm-project/commit/68a1944070caa33d73390e1a6d956c6abdbea872
Author: Benjamin Maxwell <benjamin.maxwell at arm.com>
Date: 2024-07-03 (Wed, 03 Jul 2024)
Changed paths:
M mlir/lib/Dialect/Vector/IR/ScalableValueBoundsConstraintSet.cpp
M mlir/test/Dialect/Vector/test-scalable-bounds.mlir
Log Message:
-----------
[mlir][vector] Project out anonymous bounds in ScalableValueBoundsConstraintSet (#96499)
If we don't eliminate these columns, then in some cases we fail to
compute a scalable bound. Test case reduced from a real-world example.
Commit: a3571376ad9555de07e4d8f74f92de1eaa4c486e
https://github.com/llvm/llvm-project/commit/a3571376ad9555de07e4d8f74f92de1eaa4c486e
Author: Nikita Popov <npopov at redhat.com>
Date: 2024-07-03 (Wed, 03 Jul 2024)
Changed paths:
M llvm/test/Transforms/InstCombine/scalarization.ll
Log Message:
-----------
[InstCombine] Add test for #97053 (NFC)
Commit: 4d2ae88d1617a910ec3a1436ce53579523ac2f97
https://github.com/llvm/llvm-project/commit/4d2ae88d1617a910ec3a1436ce53579523ac2f97
Author: Nikita Popov <npopov at redhat.com>
Date: 2024-07-03 (Wed, 03 Jul 2024)
Changed paths:
M llvm/lib/Transforms/InstCombine/InstCombineVectorOps.cpp
M llvm/test/Transforms/InstCombine/scalarization.ll
Log Message:
-----------
[InstCombine] Fix invalid scalarization of div
If the binop is not speculatable, and the extract index is out of
range, then scalarizing will perform the operation on a poison
operand, resulting in immediate UB, instead of the previous
poison result.
Fixes https://github.com/llvm/llvm-project/issues/97053.
Commit: d8c07342c021f31f08dee7d15e17f7eca0d1aae0
https://github.com/llvm/llvm-project/commit/d8c07342c021f31f08dee7d15e17f7eca0d1aae0
Author: Alexis Engelke <engelke at in.tum.de>
Date: 2024-07-03 (Wed, 03 Jul 2024)
Changed paths:
M clang-tools-extra/clangd/index/remote/server/Server.cpp
M clang-tools-extra/clangd/tool/ClangdMain.cpp
M llvm/include/llvm/Support/raw_ostream.h
M llvm/lib/Support/raw_ostream.cpp
M llvm/unittests/Support/raw_ostream_test.cpp
Log Message:
-----------
[Support] Move raw_ostream::tie to raw_fd_ostream (#97396)
Originally, tie was introduced by D81156 to flush stdout before writing
to stderr. 030897523 reverted this due to race conditions. Nonetheless,
it does cost performance, causing an extra check in the "cold" path,
which is actually the hot path for raw_svector_ostream. Given that this
feature is only used for errs(), move it to raw_fd_ostream so that it no
longer affects performance of other stream classes.
Commit: bb260eb87d9bebd93e64051b574fbce0eebbad30
https://github.com/llvm/llvm-project/commit/bb260eb87d9bebd93e64051b574fbce0eebbad30
Author: Alexis Engelke <engelke at in.tum.de>
Date: 2024-07-03 (Wed, 03 Jul 2024)
Changed paths:
M llvm/lib/CodeGen/PHIElimination.cpp
M llvm/test/CodeGen/AMDGPU/branch-folding-implicit-def-subreg.ll
M llvm/test/CodeGen/X86/bfloat.ll
M llvm/test/CodeGen/X86/div-rem-pair-recomposition-signed.ll
Log Message:
-----------
[CodeGen] Only deduplicate PHIs on critical edges (#97064)
PHIElim deduplicates identical PHI nodes to reduce the number of copies
inserted. There are two cases:
1. Identical PHI nodes are in different blocks. That's the reason for
this optimization; this can't be avoided at SSA-level. A necessary
prerequisite for this is that the predecessors of all basic blocks
(where such a PHI node could occur) are the same. This implies that
all (>= 2) predecessors must have multiple successors, i.e. all edges
into the block are critical edges.
2. Identical PHI nodes are in the same block. CSE can remove these.
There are a few cases, however, where they still occur regardless:
- expand-large-div-rem creates PHI nodes with large integers, which
get lowered into one PHI per MVT. Later, some identical values
(zeroes) get folded, resulting in identical PHI nodes.
- peephole-opt occasionally inserts PHIs for the same value.
- Some pseudo instruction emitters create redundant PHI nodes (e.g.,
AVR's insertShift), merging the same values more than once.
In any case, this happens rarely and MachineCSE handles most cases
anyway, so that PHIElim only gets to see very few of such cases (see
changed test files).
Currently, all PHI nodes are inserted into a DenseMap that checks
equality not by pointer but by operands. This hash map is pretty
expensive (hashing itself and the hash map), but only really useful in
the first case.
Avoid this expensive hashing most of the time by restricting it to basic
blocks with only critical input edges. This improves performance for
code with many PHI nodes, especially at -O0. (Note that Clang often
doesn't generate PHI nodes and -O0 includes no mem2reg. Other
compilers always generate PHI nodes.)
Commit: 3b73cb3bf138d2ad7f354c9d26037d769cfe9d53
https://github.com/llvm/llvm-project/commit/3b73cb3bf138d2ad7f354c9d26037d769cfe9d53
Author: David Green <david.green at arm.com>
Date: 2024-07-03 (Wed, 03 Jul 2024)
Changed paths:
M llvm/lib/CodeGen/GlobalISel/CombinerHelper.cpp
M llvm/test/CodeGen/AArch64/GlobalISel/combine-shufflevector.mir
Log Message:
-----------
[AArch64][GlobalISel] Create copy rather than single-element concat
The verifier does not accept single-element G_CONCAT_VECTORS, so if there is a
single Op generate a COPY instead.
Commit: 5a1a46722948b79803826f1b11877ffcf102c094
https://github.com/llvm/llvm-project/commit/5a1a46722948b79803826f1b11877ffcf102c094
Author: Dominik Adamski <dominik.adamski at amd.com>
Date: 2024-07-03 (Wed, 03 Jul 2024)
Changed paths:
M clang/lib/Driver/ToolChains/AMDGPUOpenMP.cpp
M clang/test/Driver/amdgpu-openmp-toolchain.c
Log Message:
-----------
Revert "[AMDGPU][OpenMP] Do not attach -fcuda-is-device flag for AMDGPU OpenMP" (#97531)
Reverts llvm/llvm-project#96909 (commit ID: 8bb00cb160830ec8f6029c2aae79d3e46b04b99c)
It breaks OpenMP CI:
https://gitlab.e4s.io/uo-public/llvm-openmp-offloading/-/jobs/283716
Commit: edbbc832a5308e4f6943583965e74254799f13ae
https://github.com/llvm/llvm-project/commit/edbbc832a5308e4f6943583965e74254799f13ae
Author: Ramkumar Ramachandra <ramkumar.ramachandra at codasip.com>
Date: 2024-07-03 (Wed, 03 Jul 2024)
Changed paths:
M llvm/include/llvm/IR/ConstantRange.h
M llvm/lib/IR/ConstantRange.cpp
M llvm/unittests/IR/ConstantRangeTest.cpp
Log Message:
-----------
ConstantRange: add query for isAllPositive (#97420)
ConstantRange has queries for isAllNegative and isAllNonNegative, but
misses a query for isAllPositive. Add this function.
Commit: 915ee0b823a528456226de513f303483d5fe0793
https://github.com/llvm/llvm-project/commit/915ee0b823a528456226de513f303483d5fe0793
Author: Ramkumar Ramachandra <ramkumar.ramachandra at codasip.com>
Date: 2024-07-03 (Wed, 03 Jul 2024)
Changed paths:
M llvm/lib/Transforms/Scalar/LoopDistribute.cpp
M llvm/test/Transforms/LoopDistribute/debug-print.ll
A llvm/test/tools/UpdateTestChecks/update_analyze_test_checks/Inputs/loop-distribute.ll
A llvm/test/tools/UpdateTestChecks/update_analyze_test_checks/Inputs/loop-distribute.ll.expected
A llvm/test/tools/UpdateTestChecks/update_analyze_test_checks/loop-distribute.test
M llvm/utils/UpdateTestChecks/common.py
M llvm/utils/update_analyze_test_checks.py
Log Message:
-----------
UTC: support debug output from LDist (#93208)
Tweak the LoopDistribute debug output to be prefixed with "LDist: ", get
it to be stable, and extend update_analyze_test_checks.py trivially to
support this output.
Commit: f819302a09dfec201f3ee4ef79b77a1e4c1de00d
https://github.com/llvm/llvm-project/commit/f819302a09dfec201f3ee4ef79b77a1e4c1de00d
Author: Ramkumar Ramachandra <ramkumar.ramachandra at codasip.com>
Date: 2024-07-03 (Wed, 03 Jul 2024)
Changed paths:
M mlir/include/mlir/Analysis/Presburger/IntegerRelation.h
M mlir/include/mlir/Analysis/Presburger/Simplex.h
M mlir/lib/Analysis/FlatLinearValueConstraints.cpp
M mlir/lib/Analysis/Presburger/IntegerRelation.cpp
M mlir/lib/Analysis/Presburger/PresburgerRelation.cpp
M mlir/lib/Analysis/Presburger/Simplex.cpp
M mlir/lib/Analysis/Presburger/Utils.cpp
Log Message:
-----------
mlir/Presburger: reinstate use of LogicalResult (#97415)
Follow up on a desire post-landing d0fee98 (mlir/Presburger: strip
dependency on MLIRSupport) to reinstate the use of LogicalResult in
Presburger. Since db791b2 (mlir/LogicalResult: move into llvm),
LogicalResult is in LLVM, and fulfilling this desire is possible while
still maintaining the goal of stripping the Presburger library of mlir
dependencies.
Commit: da24d3a79d73c725d1b672263e558a3de6cbcde9
https://github.com/llvm/llvm-project/commit/da24d3a79d73c725d1b672263e558a3de6cbcde9
Author: Kazu Hirata <kazu at google.com>
Date: 2024-07-03 (Wed, 03 Jul 2024)
Changed paths:
M llvm/lib/AsmParser/LLParser.cpp
Log Message:
-----------
[AsmParser] Use range-based for loops (NFC) (#97499)
Commit: 2b3376f35340d86d766dc8007534f137bf93aed3
https://github.com/llvm/llvm-project/commit/2b3376f35340d86d766dc8007534f137bf93aed3
Author: Allen <zhongyunde at huawei.com>
Date: 2024-07-03 (Wed, 03 Jul 2024)
Changed paths:
M llvm/lib/Transforms/InstCombine/InstCombineAndOrXor.cpp
M llvm/test/Transforms/InstCombine/xor.ll
Log Message:
-----------
[InstCombine] Guard noundef for transformation from xor to or disjoint (#96905)
Fix https://github.com/llvm/llvm-project/issues/96857
Commit: b76dd4edbfbba5593b691ef92b755f25cf63f445
https://github.com/llvm/llvm-project/commit/b76dd4edbfbba5593b691ef92b755f25cf63f445
Author: Jay Foad <jay.foad at amd.com>
Date: 2024-07-03 (Wed, 03 Jul 2024)
Changed paths:
M llvm/lib/Target/AMDGPU/AMDGPUAtomicOptimizer.cpp
M llvm/test/CodeGen/AMDGPU/GlobalISel/global-atomic-fadd.f32-rtn.ll
M llvm/test/CodeGen/AMDGPU/global-atomic-fadd.f32-rtn.ll
M llvm/test/CodeGen/AMDGPU/global-atomicrmw-fadd-wrong-subtarget.ll
M llvm/test/CodeGen/AMDGPU/global_atomic_optimizer_fp_rtn.ll
M llvm/test/CodeGen/AMDGPU/local-atomicrmw-fadd.ll
Log Message:
-----------
[AMDGPU] Disable atomic optimization of fadd/fsub with result (#96479)
An atomic fadd instruction like this should return %x:
; value at %ptr is %x
%r = atomicrmw fadd ptr %ptr, float %y
After atomic optimization, if %y is uniform, the result is calculated
as %r = %x + * %y * +0.0. This has a couple of problems:
1. If %y is Inf or NaN, this will return NaN instead of %x.
2. If %x is -0.0 and %y is positive, this will return +0.0 instead of
-0.0.
Avoid these problems by disabling the "%y is uniform" path if there are
any uses of the result.
Commit: 1eec81a831dcf925c0c86c153e8dce019a5b5436
https://github.com/llvm/llvm-project/commit/1eec81a831dcf925c0c86c153e8dce019a5b5436
Author: Nikita Popov <npopov at redhat.com>
Date: 2024-07-03 (Wed, 03 Jul 2024)
Changed paths:
M llvm/lib/Analysis/LazyValueInfo.cpp
M llvm/lib/Transforms/Scalar/CorrelatedValuePropagation.cpp
M llvm/test/Transforms/CorrelatedValuePropagation/icmp.ll
M llvm/test/Transforms/CorrelatedValuePropagation/vectors.ll
Log Message:
-----------
[CVP][LVI] Add support for vectors (#97428)
The core change here is to add support for converting vector constants
into constant ranges. The rest is just relaxing isIntegerTy() checks and
making sure we don't use APIs that assume vectors.
There are a couple of places that don't support vectors yet, most
notably the "simplest" fold (comparisons to a constant) isn't supported
yet. I'll leave these to a followup.
Commit: a6d289da0cce99b28658f264b7f9496e3648232e
https://github.com/llvm/llvm-project/commit/a6d289da0cce99b28658f264b7f9496e3648232e
Author: Simon Pilgrim <llvm-dev at redking.me.uk>
Date: 2024-07-03 (Wed, 03 Jul 2024)
Changed paths:
M llvm/lib/Target/X86/X86ISelLowering.cpp
M llvm/test/CodeGen/X86/is_fpclass-fp80.ll
M llvm/test/CodeGen/X86/movmsk-bittest.ll
Log Message:
-----------
[X86] Add checkSignTestSetCCCombine - if X86ISD::CMP/OR is testing for signbits, attempt to test for the signbit source instead. (#97433)
There's a lot more we could do here (including the reverse fold back to X86::COND_S/NS with some other X86ISD nodes), but I wanted to address the MOVMSK issue initially.
Fixes #66191
Commit: 298e292a76289d93f7c1a80c26e354830c6080e4
https://github.com/llvm/llvm-project/commit/298e292a76289d93f7c1a80c26e354830c6080e4
Author: Tsz Chan <keithcth2001 at gmail.com>
Date: 2024-07-03 (Wed, 03 Jul 2024)
Changed paths:
M llvm/lib/IR/Instructions.cpp
M llvm/unittests/IR/InstructionsTest.cpp
Log Message:
-----------
[IR] Add overflow check in AllocaInst::getAllocationSize (#97170)
Fixes #91380.
Commit: 7de7f50fc9d76ced7a971a66abf59aab6f9e5be6
https://github.com/llvm/llvm-project/commit/7de7f50fc9d76ced7a971a66abf59aab6f9e5be6
Author: Simon Pilgrim <llvm-dev at redking.me.uk>
Date: 2024-07-03 (Wed, 03 Jul 2024)
Changed paths:
M llvm/lib/Target/X86/X86InstCombineIntrinsic.cpp
M llvm/test/Transforms/PhaseOrdering/X86/blendv-select.ll
M llvm/test/Transforms/PhaseOrdering/X86/pr67803.ll
Log Message:
-----------
[InstCombine][X86] Fold blendv(x,y,shuffle(bitcast(sext(m)))) -> select(shuffle(m),x,y) (#96882)
We already handle blendv(x,y,bitcast(sext(m))) -> select(m,x,y) cases, but this adds support for peeking through one-use shuffles as well. VectorCombine should already have canonicalized the IR to shuffle(bitcast(...)) for us.
The particular use case is where we have split generic 256/512-bit code to use target-specific blendv intrinsics (e.g. AVX1 spoofing AVX2 256-bit ops).
Fixes #58895
Commit: bcb7c38af7de59f3b2201734ee11987839cd7bbe
https://github.com/llvm/llvm-project/commit/bcb7c38af7de59f3b2201734ee11987839cd7bbe
Author: Aaron Ballman <aaron at aaronballman.com>
Date: 2024-07-03 (Wed, 03 Jul 2024)
Changed paths:
M clang/docs/ReleaseNotes.rst
M clang/lib/Headers/float.h
M clang/test/Headers/float.c
M clang/www/c_status.html
Log Message:
-----------
[C23] Add INFINITY and NAN macros to <float.h> (#96659)
This is in support of WG14 N2848 which only define the macros if
an infinity or nan are supported. However, because we support builtins
that can produce an infinity or a NAN, and because we have pragmas
that control infinity or NAN behavior, we always define the macros even
if the user passed -ffinite-math-only on the command line.
Commit: 5fd5b8ada70d9cbdaa8cc5bea50a6314e3140364
https://github.com/llvm/llvm-project/commit/5fd5b8ada70d9cbdaa8cc5bea50a6314e3140364
Author: Sven van Haastregt <sven.vanhaastregt at arm.com>
Date: 2024-07-03 (Wed, 03 Jul 2024)
Changed paths:
M clang/lib/CodeGen/CodeGenModule.cpp
A clang/test/CodeGenOpenCLCXX/version.clcpp
Log Message:
-----------
[OpenCL] Emit opencl.cxx.version metadata for C++ (#92140)
Currently there is no way to tell whether an IR module was generated
using `-cl-std=cl3.0` or `-cl-std=clc++2021`, i.e., whether the origin
was a OpenCL C or C++ for OpenCL source.
Add new `opencl.cxx.version` named metadata when compiling C++. Keep the
`opencl.ocl.version` metadata to convey the compatible OpenCL C version.
Fixes https://github.com/llvm/llvm-project/issues/91912
Commit: d37e7ec2c5c3ecfd6a4612c1798d62d343ceb254
https://github.com/llvm/llvm-project/commit/d37e7ec2c5c3ecfd6a4612c1798d62d343ceb254
Author: Fabian Ritter <fabian.ritter at amd.com>
Date: 2024-07-03 (Wed, 03 Jul 2024)
Changed paths:
M llvm/lib/Transforms/Utils/LowerMemIntrinsics.cpp
M llvm/test/CodeGen/AMDGPU/lower-mem-intrinsics.ll
Log Message:
-----------
[LowerMemIntrinsics] Respect the volatile argument of llvm.memmove (#97545)
So far, we ignored if a memmove intrinsic is volatile when lowering it
to loops in the IR. This change generates volatile loads and stores in
this case (similar to how memcpy is handled) and adds tests for volatile
memmoves and memcpys.
Commit: 82f9a5ba965dc1a40fe955b8205dd863bf6385cf
https://github.com/llvm/llvm-project/commit/82f9a5ba965dc1a40fe955b8205dd863bf6385cf
Author: Youngsuk Kim <youngsuk.kim at hpe.com>
Date: 2024-07-03 (Wed, 03 Jul 2024)
Changed paths:
M llvm/lib/MC/MCParser/AsmParser.cpp
M llvm/lib/MC/MCParser/MasmParser.cpp
M llvm/lib/Support/JSON.cpp
M llvm/lib/Support/LockFileManager.cpp
M llvm/lib/TableGen/Main.cpp
M llvm/lib/TableGen/SetTheory.cpp
Log Message:
-----------
[llvm] Avoid 'raw_string_ostream::str' (NFC)
Since `raw_string_ostream` doesn't own the string buffer, it is
desirable (in terms of memory safety) for users to directly reference
the string buffer rather than use `raw_string_ostream::str()`.
Work towards TODO comment to remove `raw_string_ostream::str()`.
Commit: 18eef6802c36fc1744834fa761831aa805714d9e
https://github.com/llvm/llvm-project/commit/18eef6802c36fc1744834fa761831aa805714d9e
Author: Simon Pilgrim <llvm-dev at redking.me.uk>
Date: 2024-07-03 (Wed, 03 Jul 2024)
Changed paths:
M llvm/lib/Target/X86/X86InstCombineIntrinsic.cpp
Log Message:
-----------
Fix signed/unsigned integer comparison warning. NFC.
Commit: c1af97db1e3846db1188149afe86cee6585dfc9a
https://github.com/llvm/llvm-project/commit/c1af97db1e3846db1188149afe86cee6585dfc9a
Author: Timm Bäder <tbaeder at redhat.com>
Date: 2024-07-03 (Wed, 03 Jul 2024)
Changed paths:
M clang/lib/AST/Interp/Interp.h
M clang/lib/AST/Interp/Pointer.cpp
M clang/lib/AST/Interp/Pointer.h
M clang/test/AST/Interp/literals.cpp
Log Message:
-----------
[clang][Interp] Diagnose comparisons against one-past-end pointers
Commit: 52cc7c003a2851e66586dc15c6dc813355e147c6
https://github.com/llvm/llvm-project/commit/52cc7c003a2851e66586dc15c6dc813355e147c6
Author: Simon Pilgrim <llvm-dev at redking.me.uk>
Date: 2024-07-03 (Wed, 03 Jul 2024)
Changed paths:
A llvm/test/Transforms/InstCombine/X86/x86-pmulh.ll
A llvm/test/Transforms/InstCombine/X86/x86-pmulhrs.ll
A llvm/test/Transforms/InstCombine/X86/x86-pmulhu.ll
Log Message:
-----------
[InstCombine][X86] Add tests for special case, constant folding and demanded elts handling for PMULH style intrinsics
Commit: fb7f65ba468f462103599e762c86f49b420cd984
https://github.com/llvm/llvm-project/commit/fb7f65ba468f462103599e762c86f49b420cd984
Author: Koakuma <koachan at protonmail.com>
Date: 2024-07-03 (Wed, 03 Jul 2024)
Changed paths:
M llvm/lib/Target/Sparc/MCTargetDesc/SparcAsmBackend.cpp
M llvm/lib/Target/Sparc/MCTargetDesc/SparcELFObjectWriter.cpp
M llvm/lib/Target/Sparc/MCTargetDesc/SparcMCTargetDesc.h
A llvm/test/MC/Sparc/elf-sparc-machine-type.s
Log Message:
-----------
[SPARC][IAS] Emit the correct ELF machine type (#96583)
Emit the correct machine type when writing out ELF objects.
This patch is modeled on GCC's behavior:
- `-m32` emits an object of type EM_SPARC;
- `-m32 -mcpu=v9` emits EM_SPARC32PLUS (however, see below); and
- `-m64` emits EM_SPARCV9.
Note that GCC does not guarantee emission of EM_SPARC32PLUS objects,
since GNU as doesn't support user control of emitted machine type.
It will always autodetect the type based on the instruction mix:
- If there's a V9 instruction inside, then emit EM_SPARC32PLUS; and
- Emit EM_SPARC otherwise.
For LLVM we choose deterministic behavior instead for simplicity.
Commit: 7c96469ea86a8d41aaa1bdb51b14894b0fbf16c0
https://github.com/llvm/llvm-project/commit/7c96469ea86a8d41aaa1bdb51b14894b0fbf16c0
Author: Noah Goldstein <goldstein.w.n at gmail.com>
Date: 2024-07-03 (Wed, 03 Jul 2024)
Changed paths:
M llvm/lib/Analysis/ValueTracking.cpp
M llvm/test/Transforms/InstCombine/icmp-select-implies-common-op.ll
M llvm/test/Transforms/InstCombine/range-check.ll
M llvm/test/Transforms/LoopVectorize/X86/pr23997.ll
M llvm/test/Transforms/NewGVN/pr35125.ll
Log Message:
-----------
[ValueTracking] Extend LHS/RHS with matching operand to work without constants.
Previously we only handled the `L0 == R0` case if both `L1` and `R1`
where constant.
We can get more out of the analysis using general constant ranges
instead.
For example, `X u> Y` implies `X != 0`.
In general, any strict comparison on `X` implies that `X` is not equal
to the boundary value for the sign and constant ranges with/without
sign bits can be useful in deducing implications.
Closes #85557
Commit: 488fdb7d1245af5651ba77630f81412648ba7ae3
https://github.com/llvm/llvm-project/commit/488fdb7d1245af5651ba77630f81412648ba7ae3
Author: serge-sans-paille <sguelton at mozilla.com>
Date: 2024-07-03 (Wed, 03 Jul 2024)
Changed paths:
M lld/test/ELF/as-needed-no-reloc.s
M lld/test/ELF/as-needed.s
M lld/test/ELF/auxiliary.s
M lld/test/ELF/dynamic-reloc.s
M lld/test/ELF/filter.s
M lld/test/ELF/gc-sections-shared.s
M lld/test/ELF/no-soname.s
M lld/test/ELF/partition-synthetic-sections.s
M lld/test/ELF/push-state.s
M lld/test/ELF/shared-ppc64.s
M lld/test/ELF/shared.s
M lld/test/ELF/soname.s
M lld/test/ELF/soname2.s
M lld/test/ELF/wrap-drop-shared-original.s
M llvm/test/tools/llvm-ifs/write-stub.test
M llvm/test/tools/llvm-readobj/ELF/dynamic-malformed.test
M llvm/test/tools/llvm-readobj/ELF/dynamic-tags.test
M llvm/test/tools/llvm-readobj/ELF/loadname.test
M llvm/tools/llvm-readobj/ELFDumper.cpp
Log Message:
-----------
Revert "[llvm-readobj][ELF] Test multivalued rpath entries and alter the output for readobj to emphasize the single valued nature of NEEDED, SONAME, USED etc. (#96562)"
Reverted due to output change that breaks downstream project, see
https://github.com/llvm/llvm-project/pull/96562#issuecomment-2204938038
This reverts commit 161e1689ba98fabba71cac21f536708c78e9d7b0.
Commit: e8c94149d3ca12d4d02fb8de89981c68ffa278f3
https://github.com/llvm/llvm-project/commit/e8c94149d3ca12d4d02fb8de89981c68ffa278f3
Author: Alexandre Ganea <aganea at havenstudios.com>
Date: 2024-07-03 (Wed, 03 Jul 2024)
Changed paths:
M llvm/docs/ReleaseNotes.rst
M llvm/test/tools/llvm-config/paths.test
M llvm/tools/llvm-config/llvm-config.cpp
Log Message:
-----------
[llvm-config] Quote and escape paths if necessary (#97305)
If any of the printed paths by `llvm-config` contains quotes, spaces,
backslashes or dollar sign characters, these paths will be quoted and
the corresponding characters will be escaped.
Following discussion in https://github.com/llvm/llvm-project/pull/76304
Fixes https://github.com/llvm/llvm-project/issues/28117
Commit: 08888d0e6b2e02f1f4f34e2bf71a5d4fe8e0e039
https://github.com/llvm/llvm-project/commit/08888d0e6b2e02f1f4f34e2bf71a5d4fe8e0e039
Author: David Spickett <david.spickett at linaro.org>
Date: 2024-07-03 (Wed, 03 Jul 2024)
Changed paths:
M llvm/docs/ReleaseNotes.rst
Log Message:
-----------
[llvm][Docs] Add release note for lldb's support for register enums
Commit: d5c9ffd545ebf171346ac69b15fafeee469f0b3c
https://github.com/llvm/llvm-project/commit/d5c9ffd545ebf171346ac69b15fafeee469f0b3c
Author: Yingwei Zheng <dtcxzyw2333 at gmail.com>
Date: 2024-07-03 (Wed, 03 Jul 2024)
Changed paths:
M llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
A llvm/test/CodeGen/AArch64/pr96366.ll
M llvm/test/CodeGen/AMDGPU/dagcombine-fma-crash.ll
A llvm/test/CodeGen/RISCV/pr96366.ll
Log Message:
-----------
[SDAG] Intersect poison-generating flags after CSE (#97434)
This patch fixes a miscompilation when `N` gets CSEed to `Existing`:
```
Existing: t5: i32 = sub nuw Constant:i32<0>, t3
N: t30: i32 = sub Constant:i32<0>, t3
```
Fixes https://github.com/llvm/llvm-project/issues/96366.
Commit: 3e7ddcc3dcbe9b1e82473c0591af8b5fa24cbe7f
https://github.com/llvm/llvm-project/commit/3e7ddcc3dcbe9b1e82473c0591af8b5fa24cbe7f
Author: David Spickett <david.spickett at linaro.org>
Date: 2024-07-03 (Wed, 03 Jul 2024)
Changed paths:
M llvm/docs/ReleaseNotes.rst
Log Message:
-----------
[llvm][Docs] Fix some incorrect RST syntax in the tools release notes
Commit: c2072d993a443f08ab1bac8a3d5575e1a48663c7
https://github.com/llvm/llvm-project/commit/c2072d993a443f08ab1bac8a3d5575e1a48663c7
Author: Nikita Popov <npopov at redhat.com>
Date: 2024-07-03 (Wed, 03 Jul 2024)
Changed paths:
M llvm/lib/Transforms/Scalar/CorrelatedValuePropagation.cpp
M llvm/test/Transforms/CorrelatedValuePropagation/vectors.ll
Log Message:
-----------
[CVP] Support vectors for and elision
Commit: c20695a44817d52abda3dee495ef2a172ca315fa
https://github.com/llvm/llvm-project/commit/c20695a44817d52abda3dee495ef2a172ca315fa
Author: Simon Pilgrim <llvm-dev at redking.me.uk>
Date: 2024-07-03 (Wed, 03 Jul 2024)
Changed paths:
M llvm/lib/Target/X86/X86InstCombineIntrinsic.cpp
M llvm/test/Transforms/InstCombine/X86/x86-pmulh.ll
M llvm/test/Transforms/InstCombine/X86/x86-pmulhrs.ll
M llvm/test/Transforms/InstCombine/X86/x86-pmulhu.ll
Log Message:
-----------
[InstCombine][X86] simplifyDemandedVectorEltsIntrinsic - add handling for PMULH/PMULHU/PMULHRS intrinsics
Commit: 4ee4bc3cf259419c3d87711df1f96742a0914a0c
https://github.com/llvm/llvm-project/commit/4ee4bc3cf259419c3d87711df1f96742a0914a0c
Author: Simon Pilgrim <llvm-dev at redking.me.uk>
Date: 2024-07-03 (Wed, 03 Jul 2024)
Changed paths:
M llvm/lib/Target/X86/X86InstCombineIntrinsic.cpp
M llvm/test/Transforms/InstCombine/X86/x86-pmulh.ll
M llvm/test/Transforms/InstCombine/X86/x86-pmulhrs.ll
M llvm/test/Transforms/InstCombine/X86/x86-pmulhu.ll
Log Message:
-----------
[InstCombine][X86] Add zero/undef arg handling for MULH/PMULHU/PMULHRS intrinsics
Commit: acaa0262a98fe8ecc525bdbdc2692d803e50976a
https://github.com/llvm/llvm-project/commit/acaa0262a98fe8ecc525bdbdc2692d803e50976a
Author: Krzysztof Parzyszek <Krzysztof.Parzyszek at amd.com>
Date: 2024-07-03 (Wed, 03 Jul 2024)
Changed paths:
M clang/lib/Sema/SemaOpenMP.cpp
Log Message:
-----------
[clang][OpenMP] Use leaf constructs in `mapLoopConstruct` (#97446)
This removes mentions of specific combined directives.
Also, add a quote from the OpenMP spec to explain the code dealing with
the `bind` clause.
Commit: 6461b921fd06b1c812f1172685b8b7edc0608af7
https://github.com/llvm/llvm-project/commit/6461b921fd06b1c812f1172685b8b7edc0608af7
Author: Krzysztof Parzyszek <Krzysztof.Parzyszek at amd.com>
Date: 2024-07-03 (Wed, 03 Jul 2024)
Changed paths:
M clang/lib/Sema/SemaOpenMP.cpp
Log Message:
-----------
[clang][OpenMP] Change `ActOnOpenMPRegionStart` to use captured regions (#97445)
Instead of checking specific directives, this function now gets the list
of captured regions, and processes them individually. This makes this
function directive-agnostic (except a few cases of leaf constructs).
Commit: 0778b5d0d296edaca2ac52f2c8d2c806d492355a
https://github.com/llvm/llvm-project/commit/0778b5d0d296edaca2ac52f2c8d2c806d492355a
Author: Nikita Popov <npopov at redhat.com>
Date: 2024-07-03 (Wed, 03 Jul 2024)
Changed paths:
M llvm/test/Transforms/InstCombine/saturating-add-sub.ll
Log Message:
-----------
[InstCombine] Add test for computeConstantRange() with non-splat poison (NFC)
Commit: 2dbb454791044e3ef91c8e7069f953b7406d78c6
https://github.com/llvm/llvm-project/commit/2dbb454791044e3ef91c8e7069f953b7406d78c6
Author: Nikita Popov <npopov at redhat.com>
Date: 2024-07-03 (Wed, 03 Jul 2024)
Changed paths:
M llvm/include/llvm/Analysis/ValueTracking.h
M llvm/lib/Analysis/LazyValueInfo.cpp
M llvm/lib/Analysis/ValueTracking.cpp
M llvm/test/Transforms/InstCombine/saturating-add-sub.ll
Log Message:
-----------
[ValueTracking][LVI] Consolidate vector constant range calculation
Add a common helper used for computeConstantRange() and LVI. The
implementation is a mix of both, with the efficient handling for
ConstantDataVector taken from computeConstantRange(), and the
general handling (including non-splat poison) from LVI.
Commit: c1004cad4b62b70c4b316a49c5426271d4e1d740
https://github.com/llvm/llvm-project/commit/c1004cad4b62b70c4b316a49c5426271d4e1d740
Author: Nikita Popov <npopov at redhat.com>
Date: 2024-07-03 (Wed, 03 Jul 2024)
Changed paths:
M llvm/include/llvm/Analysis/LazyValueInfo.h
M llvm/lib/Analysis/LazyValueInfo.cpp
Log Message:
-----------
[LVI] Use CmpInst::Predicate in APIs (NFC)
Unfortunately this requires including InstrTypes.h in the header,
but I think that's fine given that that LazyValueInfo.h is not
widely used.
Commit: dde3f17026be48c05a5d3876f12db72fdd6422ed
https://github.com/llvm/llvm-project/commit/dde3f17026be48c05a5d3876f12db72fdd6422ed
Author: David Spickett <david.spickett at linaro.org>
Date: 2024-07-03 (Wed, 03 Jul 2024)
Changed paths:
M lldb/source/Plugins/TypeSystem/Clang/TypeSystemClang.cpp
A lldb/test/API/commands/expression/bitfield_enums/Makefile
A lldb/test/API/commands/expression/bitfield_enums/TestBitfieldEnums.py
A lldb/test/API/commands/expression/bitfield_enums/main.cpp
Log Message:
-----------
[lldb] Fix printing of unsigned enum bitfields when they contain the max value (#96202)
While testing register fields I found that if you put the max value into
a bitfield with an underlying type that is an unsigned enum, lldb would
not print the enum name.
This is because the code to match values to names wasn't checking
whether the enum's type was signed, it just assumed it was.
So for example a 2 bit field with value 3 got signed extended to -1,
which didn't match the enumerator value of 3. So lldb just printed the
number instead of the name.
For a value of 1, the top bit was 0 so the sign extend became a zero
extend, and lldb did print the name of the enumerator.
I added a new test because I needed to use C++ to get typed enums. It
checks min, max and an in between value for signed and unsigned enums
applied to a bitfield.
Commit: 41fddc4ec3302f125a5b84ae86c8027dedc89984
https://github.com/llvm/llvm-project/commit/41fddc4ec3302f125a5b84ae86c8027dedc89984
Author: David Spickett <david.spickett at linaro.org>
Date: 2024-07-03 (Wed, 03 Jul 2024)
Changed paths:
M lldb/source/Plugins/TypeSystem/Clang/TypeSystemClang.cpp
M lldb/test/Shell/SymbolFile/DWARF/x86/debug-types-missing-signature.test
M lldb/unittests/ValueObject/DumpValueObjectOptionsTests.cpp
Log Message:
-----------
[lldb] Print empty enums as if they were unrecognised normal enums (#97553)
Fixes #97514
Given this example:
```
enum E {};
int main()
{
E x = E(0);
E y = E(1);
E z = E(2);
return 0;
}
```
lldb used to print nothing for `x`, but `0x1` for `y` and `0x2` for `z`.
At first this seemed like the 0 case needed fixing but the real issue
here is that en enum with no enumerators was being detected as a
"bitfield like enum".
Which is an enum where all enumerators are a single bit value, or the
sum of previous single bit values.
For these we do not print anything for a value of 0, as we assume it
must be the remainder after we've printed the other bits that were set
(I think this is also unfortunate, but I'm not addressing that here).
Clearly an enum with no enumerators cannot be being used as a bitfield,
so check that up front and print it as if it's a normal enum where we
didn't match any of the enumerators. This means you now get:
```
(lldb) p x
(E) 0
(lldb) p y
(E) 1
(lldb) p z
(E) 2
```
Which is a change to decimal from hex, but I think it's overall more
consistent. Printing hex here was never a concious decision.
Commit: 31015240d366e4bf6f114856caa6e9ce90742b7f
https://github.com/llvm/llvm-project/commit/31015240d366e4bf6f114856caa6e9ce90742b7f
Author: David Spickett <david.spickett at linaro.org>
Date: 2024-07-03 (Wed, 03 Jul 2024)
Changed paths:
M lldb/source/Plugins/TypeSystem/Clang/TypeSystemClang.cpp
M lldb/unittests/ValueObject/DumpValueObjectOptionsTests.cpp
Log Message:
-----------
[lldb] Print "0x0" for bitfield like enums where the value is 0 (#97557)
Enums like this one are treated as bitfield like enums: enum FlagsLike
{B=2, C=4};
lldb recognises them as collections of flags, so you can have "B | C".
If there's any values not covered that's printed as hex "B | C | 0x1".
What happened if the value was 0 was we would not match any of the
enumerators, then the remainder check requires that the remainder is
non-zero. So lldb would print nothing at all.
Which I assume is a bug because knowing that no flags are set is useful,
just as much as knowing that some unkown bit was set to make it
non-zero.
Commit: 50c81128de8616117118564eff22cf508cba7848
https://github.com/llvm/llvm-project/commit/50c81128de8616117118564eff22cf508cba7848
Author: Aaron Ballman <aaron at aaronballman.com>
Date: 2024-07-03 (Wed, 03 Jul 2024)
Changed paths:
A clang/test/C/C23/Inputs/bits.bin
A clang/test/C/C23/Inputs/boop.h
A clang/test/C/C23/Inputs/i.dat
A clang/test/C/C23/Inputs/jump.wav
A clang/test/C/C23/Inputs/s.dat
A clang/test/C/C23/n2322.c
A clang/test/C/C23/n2350.c
A clang/test/C/C23/n2359.c
A clang/test/C/C23/n2508.c
A clang/test/C/C23/n2549.c
A clang/test/C/C23/n2607.c
A clang/test/C/C23/n2670.c
A clang/test/C/C23/n2683.c
A clang/test/C/C23/n2683_2.c
A clang/test/C/C23/n2819.c
A clang/test/C/C23/n2826.c
A clang/test/C/C23/n2836_n2939.c
A clang/test/C/C23/n2838.c
A clang/test/C/C23/n2886.c
A clang/test/C/C23/n2900_n3011.c
A clang/test/C/C23/n2900_n3011_2.c
A clang/test/C/C23/n2927.c
A clang/test/C/C23/n2927_2.c
A clang/test/C/C23/n2930.c
A clang/test/C/C23/n2934.c
A clang/test/C/C23/n2940.c
A clang/test/C/C23/n2975.c
A clang/test/C/C23/n3007.c
A clang/test/C/C23/n3017.c
A clang/test/C/C23/n3018.c
A clang/test/C/C23/n3033.c
A clang/test/C/C23/n3033_2.c
A clang/test/C/C23/n3035.c
A clang/test/C/C23/n3042.c
R clang/test/C/C2x/Inputs/bits.bin
R clang/test/C/C2x/Inputs/boop.h
R clang/test/C/C2x/Inputs/i.dat
R clang/test/C/C2x/Inputs/jump.wav
R clang/test/C/C2x/Inputs/s.dat
R clang/test/C/C2x/n2322.c
R clang/test/C/C2x/n2350.c
R clang/test/C/C2x/n2359.c
R clang/test/C/C2x/n2508.c
R clang/test/C/C2x/n2549.c
R clang/test/C/C2x/n2607.c
R clang/test/C/C2x/n2670.c
R clang/test/C/C2x/n2683.c
R clang/test/C/C2x/n2683_2.c
R clang/test/C/C2x/n2819.c
R clang/test/C/C2x/n2826.c
R clang/test/C/C2x/n2836_n2939.c
R clang/test/C/C2x/n2838.c
R clang/test/C/C2x/n2886.c
R clang/test/C/C2x/n2900_n3011.c
R clang/test/C/C2x/n2900_n3011_2.c
R clang/test/C/C2x/n2927.c
R clang/test/C/C2x/n2927_2.c
R clang/test/C/C2x/n2930.c
R clang/test/C/C2x/n2934.c
R clang/test/C/C2x/n2940.c
R clang/test/C/C2x/n2975.c
R clang/test/C/C2x/n3007.c
R clang/test/C/C2x/n3017.c
R clang/test/C/C2x/n3018.c
R clang/test/C/C2x/n3033.c
R clang/test/C/C2x/n3033_2.c
R clang/test/C/C2x/n3035.c
R clang/test/C/C2x/n3042.c
Log Message:
-----------
Rename C2x to C23; NFC
This renames the test directory for C23 tests.
Commit: 495452e7da8fad7bd311fd041530d72c101da643
https://github.com/llvm/llvm-project/commit/495452e7da8fad7bd311fd041530d72c101da643
Author: Izaak Schroeder <izaak.schroeder at gmail.com>
Date: 2024-07-03 (Wed, 03 Jul 2024)
Changed paths:
M libunwind/src/UnwindCursor.hpp
Log Message:
-----------
[libunwind] Remove needless `sys/uio.h` (#97495)
No reference to `readv` or `writev`. This makes `libcxx` happy when
compiling against clang's `libc` as part of
https://github.com/llvm/llvm-project/issues/97191.
Commit: 9ce895c1ae12ebed4249f2d693dcbff146193c60
https://github.com/llvm/llvm-project/commit/9ce895c1ae12ebed4249f2d693dcbff146193c60
Author: Nikolas Klauser <nikolasklauser at berlin.de>
Date: 2024-07-03 (Wed, 03 Jul 2024)
Changed paths:
M libcxx/utils/ci/Dockerfile
Log Message:
-----------
[libc++] Use GCC compilers from compiler explorer (#97219)
This avoids the very recent system requirements for new GCC versions,
making it a lot easier to update GCC in a timely manner.
Commit: 7bb251a91a4f57aed458aa0572c135b5374cd2f2
https://github.com/llvm/llvm-project/commit/7bb251a91a4f57aed458aa0572c135b5374cd2f2
Author: Simon Pilgrim <llvm-dev at redking.me.uk>
Date: 2024-07-03 (Wed, 03 Jul 2024)
Changed paths:
M llvm/lib/Target/X86/X86InstCombineIntrinsic.cpp
M llvm/test/Transforms/InstCombine/X86/x86-pmulh.ll
M llvm/test/Transforms/InstCombine/X86/x86-pmulhrs.ll
M llvm/test/Transforms/InstCombine/X86/x86-pmulhu.ll
Log Message:
-----------
[InstCombine][X86] Add constant folding for PMULH/PMULHU/PMULHRS intrinsics
Commit: aa3c84c85c8c2ef5b8665932e7934458a44504ce
https://github.com/llvm/llvm-project/commit/aa3c84c85c8c2ef5b8665932e7934458a44504ce
Author: Aaron Ballman <aaron at aaronballman.com>
Date: 2024-07-03 (Wed, 03 Jul 2024)
Changed paths:
M clang/www/cxx_status.html
Log Message:
-----------
Clang 19 isn't yet released; NFC
...just updates the colors in the table.
Commit: 54aa1d28b6a26b4980df4d5448fb64d19dc1a100
https://github.com/llvm/llvm-project/commit/54aa1d28b6a26b4980df4d5448fb64d19dc1a100
Author: Timm Bäder <tbaeder at redhat.com>
Date: 2024-07-03 (Wed, 03 Jul 2024)
Changed paths:
M clang/lib/AST/Interp/Compiler.cpp
M clang/test/CodeGenCXX/atomicinit.cpp
Log Message:
-----------
[clang][Interp] Fix initializing atomic record types
Remove the atomic type when visiting InitListExprs.
Commit: 0865b782f62fadcdb82e5bd7be432c96109228d0
https://github.com/llvm/llvm-project/commit/0865b782f62fadcdb82e5bd7be432c96109228d0
Author: A. Jiang <de34 at live.cn>
Date: 2024-07-03 (Wed, 03 Jul 2024)
Changed paths:
M libcxx/include/__exception/nested_exception.h
M libcxx/test/std/language.support/support.exception/except.nested/rethrow_if_nested.pass.cpp
Log Message:
-----------
[libc++] Fix the signatures of `std::rethrow_if_nested` (#91365)
Fixes #54470.
See https://eel.is/c++draft/global.functions#2:
> A call to a non-member function signature described in [support]
> through [thread] and [depr] shall behave as if the implementation
> declared no additional non-member function signatures.
and https://eel.is/c++draft/global.functions#3:
> An implementation shall not declare a non-member function signature
> with additional default arguments.
Commit: 86d456ad8f2aef6edcc36d44d26119025331981e
https://github.com/llvm/llvm-project/commit/86d456ad8f2aef6edcc36d44d26119025331981e
Author: Kirill <77356738+kirillpyasecky at users.noreply.github.com>
Date: 2024-07-03 (Wed, 03 Jul 2024)
Changed paths:
M utils/bazel/examples/http_archive/WORKSPACE
Log Message:
-----------
Fix error: name 'maybe' is not defined (#96741)
Commit: f1a8f94bba8b090a0d667065e4b8b4fc66b6a5cc
https://github.com/llvm/llvm-project/commit/f1a8f94bba8b090a0d667065e4b8b4fc66b6a5cc
Author: OverMighty <its.overmighty at gmail.com>
Date: 2024-07-03 (Wed, 03 Jul 2024)
Changed paths:
M libc/docs/build_and_test.rst
Log Message:
-----------
[libc][docs] Add doc for using containers to test on a different arch (#97431)
Commit: f7b09b5225a58a657fc0315377438077f9e9363f
https://github.com/llvm/llvm-project/commit/f7b09b5225a58a657fc0315377438077f9e9363f
Author: Izaak Schroeder <izaak.schroeder at gmail.com>
Date: 2024-07-03 (Wed, 03 Jul 2024)
Changed paths:
M libc/spec/gnu_ext.td
Log Message:
-----------
[libc] Add function spec for `getauxval` (#97492)
Does what it says on the box.
Commit: 56f0ecd6db9219b7d14a8eda613d6b75060643eb
https://github.com/llvm/llvm-project/commit/56f0ecd6db9219b7d14a8eda613d6b75060643eb
Author: realqhc <caiqihan021 at hotmail.com>
Date: 2024-07-04 (Thu, 04 Jul 2024)
Changed paths:
M llvm/include/llvm/IR/IntrinsicsRISCVXCV.td
M llvm/lib/Target/RISCV/RISCVISelLowering.cpp
M llvm/lib/Target/RISCV/RISCVInstrInfoXCV.td
A llvm/test/CodeGen/RISCV/xcvalu.ll
Log Message:
-----------
[RISCV] Implement Intrinsics Support for XCValu Extension in CV32E40P (#85603)
Implement XCValu intrinsics for CV32E40P according to the specification.
This commit is part of a patch-set to upstream the vendor specific
extensions of CV32E40P that need LLVM intrinsics to implement Clang
builtins.
Contributors: @CharKeaney, @ChunyuLiao, @jeremybennett, @lewis-revill,
@NandniJamnadas, @PaoloS02, @serkm, @simonpcook, @xingmingjie.
Commit: 07fa7fc00f3ad5a349ae53d576f48bfd54121a7f
https://github.com/llvm/llvm-project/commit/07fa7fc00f3ad5a349ae53d576f48bfd54121a7f
Author: Simon Pilgrim <llvm-dev at redking.me.uk>
Date: 2024-07-03 (Wed, 03 Jul 2024)
Changed paths:
M llvm/test/Transforms/InstCombine/X86/x86-pmulh.ll
M llvm/test/Transforms/InstCombine/X86/x86-pmulhrs.ll
M llvm/test/Transforms/InstCombine/X86/x86-pmulhu.ll
Log Message:
-----------
[InstCombine][X86] Add multiply-by-one tests for PMULH/PMULHU/PMULHRS intrinsics
PMULH/PMULHU will simplify, PMULHRS doesn't really and we're better off keeping the intrinsic
Commit: cb48ad6603c237b0832b88cb85530a58a1a6a01c
https://github.com/llvm/llvm-project/commit/cb48ad6603c237b0832b88cb85530a58a1a6a01c
Author: David Green <david.green at arm.com>
Date: 2024-07-03 (Wed, 03 Jul 2024)
Changed paths:
M llvm/lib/Target/AArch64/AArch64FrameLowering.cpp
Log Message:
-----------
[AArch64] Clean up formatting of AArch64FrameLowering. NFC
Commit: 1db4221c6da0f77517e1921f7c17a6f4e493e38f
https://github.com/llvm/llvm-project/commit/1db4221c6da0f77517e1921f7c17a6f4e493e38f
Author: Vyacheslav Levytskyy <vyacheslav.levytskyy at intel.com>
Date: 2024-07-03 (Wed, 03 Jul 2024)
Changed paths:
M llvm/lib/Target/SPIRV/SPIRVGlobalRegistry.cpp
A llvm/test/CodeGen/SPIRV/function/forward-call-type-inference.ll
Log Message:
-----------
[SPIR-V] Fix a crash in SPIRV Backend during the 'finalize lowering' stage on management of function forward calls (#97435)
This PR is to fix a crash in SPIRV Backend during the 'finalize
lowering' stage on management of function forward calls. The reproducer
is committed as a new test case.
Commit: bf9e9e5e843838f9bc905d4a0d575d8d39e9b5f2
https://github.com/llvm/llvm-project/commit/bf9e9e5e843838f9bc905d4a0d575d8d39e9b5f2
Author: Vyacheslav Levytskyy <vyacheslav.levytskyy at intel.com>
Date: 2024-07-03 (Wed, 03 Jul 2024)
Changed paths:
M llvm/lib/Target/SPIRV/SPIRVBuiltins.cpp
M llvm/lib/Target/SPIRV/SPIRVBuiltins.h
M llvm/lib/Target/SPIRV/SPIRVEmitIntrinsics.cpp
M llvm/lib/Target/SPIRV/SPIRVISelLowering.cpp
M llvm/test/CodeGen/SPIRV/transcoding/spirv-event-null.ll
Log Message:
-----------
[SPIR-V] Improve type inference for a known instruction's builtin: OpGroupAsyncCopy (#96895)
This PR improves type inference for a known instruction's builtin:
OpGroupAsyncCopy:
* deduce a type of one source/destination pointer when it's possible to
deduce a type of another argument, and
* validate src and dest types and tries to unfold a parameter if it's a
structure wrapper around a scalar/vector type.
Commit: f60f7b47a92dbf2f3d994868d3cd43b86a18a76c
https://github.com/llvm/llvm-project/commit/f60f7b47a92dbf2f3d994868d3cd43b86a18a76c
Author: Simon Pilgrim <llvm-dev at redking.me.uk>
Date: 2024-07-03 (Wed, 03 Jul 2024)
Changed paths:
M llvm/lib/Target/X86/X86InstCombineIntrinsic.cpp
M llvm/test/Transforms/InstCombine/X86/x86-pmulh.ll
M llvm/test/Transforms/InstCombine/X86/x86-pmulhu.ll
Log Message:
-----------
[InstCombine][X86] Add multiply-by-one handling for MULH/PMULHU/PMULHRS intrinsics
MULH/PMULHU simplifies to ASHR/ZERO as they just become a SEXT/ZEXT sign-splat instruction
PMULHRS doesn't simplify as much so I've not attempted to fold it.
Commit: f057130b169fe551b1fec6633fadba26ef19bcdd
https://github.com/llvm/llvm-project/commit/f057130b169fe551b1fec6633fadba26ef19bcdd
Author: Jonas Devlieghere <jonas at devlieghere.com>
Date: 2024-07-03 (Wed, 03 Jul 2024)
Changed paths:
M lldb/include/lldb/Target/Platform.h
M lldb/source/Target/Platform.cpp
Log Message:
-----------
[lldb] Remove commented-out Platform::FindPlugin (NFC)
Commit: 3ab2247d10673419609333a33bca0eca8a56bf3d
https://github.com/llvm/llvm-project/commit/3ab2247d10673419609333a33bca0eca8a56bf3d
Author: Nikita Popov <npopov at redhat.com>
Date: 2024-07-03 (Wed, 03 Jul 2024)
Changed paths:
M llvm/lib/IR/ConstantRange.cpp
Log Message:
-----------
[ConstantRange] Optimize icmp() implementation (NFC)
These are pretty hot code paths, so provide direct implementations
for them, instead of going through makeSatisfyingICmpRegion().
Commit: 584e431a4b257098d1ff13a0e9926842222ba601
https://github.com/llvm/llvm-project/commit/584e431a4b257098d1ff13a0e9926842222ba601
Author: Krystian Stasiowski <sdkrystian at gmail.com>
Date: 2024-07-03 (Wed, 03 Jul 2024)
Changed paths:
M clang/lib/Sema/SemaType.cpp
A clang/test/CXX/dcl.dcl/dcl.spec/dcl.type/dcl.spec.auto/p5-cxx14.cpp
Log Message:
-----------
[Clang][Sema] Treat explicit specializations of static data member templates declared without 'static' as static data members when diagnosing uses of 'auto' (#97425)
After #93873 clang no longer permits declarations of explicit
specializations of static data member templates to use the `auto`
_placeholder-type-specifier_:
```
struct A {
template<int N>
static constexpr auto x = 0;
template<>
constexpr auto x<1> = 1; // error: 'auto' not allowed in non-static struct member
};
```
This patch fixes the issue.
Commit: ab930ee7cad8b8bf7968bb8d0c0d72524e2313c4
https://github.com/llvm/llvm-project/commit/ab930ee7cad8b8bf7968bb8d0c0d72524e2313c4
Author: Fred Grim <fgrim at apple.com>
Date: 2024-07-03 (Wed, 03 Jul 2024)
Changed paths:
M lld/test/ELF/gnu-property-align-32.s
M lld/test/ELF/gnu-property-align.s
M lld/test/ELF/partition-notes.s
M llvm/test/tools/llvm-objcopy/ELF/add-note.test
M llvm/test/tools/llvm-readobj/ELF/AArch64/aarch64-feature-pauth.s
M llvm/test/tools/llvm-readobj/ELF/AArch64/aarch64-note-gnu-property.s
M llvm/test/tools/llvm-readobj/ELF/AArch64/memtag.test
M llvm/test/tools/llvm-readobj/ELF/AArch64/note-android-unknown.test
M llvm/test/tools/llvm-readobj/ELF/gnu-note-size.test
M llvm/test/tools/llvm-readobj/ELF/gnu-notes.test
M llvm/test/tools/llvm-readobj/ELF/note-amd-invalid-v2.test
M llvm/test/tools/llvm-readobj/ELF/note-amd-invalid-v3.test
M llvm/test/tools/llvm-readobj/ELF/note-amd-valid-v2.test
M llvm/test/tools/llvm-readobj/ELF/note-amd-valid-v3.s
M llvm/test/tools/llvm-readobj/ELF/note-amd.s
M llvm/test/tools/llvm-readobj/ELF/note-amdgpu-invalid.s
M llvm/test/tools/llvm-readobj/ELF/note-amdgpu.test
M llvm/test/tools/llvm-readobj/ELF/note-core-ntfile.test
M llvm/test/tools/llvm-readobj/ELF/note-core.test
M llvm/test/tools/llvm-readobj/ELF/note-freebsd-core.test
M llvm/test/tools/llvm-readobj/ELF/note-freebsd.test
M llvm/test/tools/llvm-readobj/ELF/note-generic.s
M llvm/test/tools/llvm-readobj/ELF/note-gnu-property.s
M llvm/test/tools/llvm-readobj/ELF/note-gnu-property2.s
M llvm/test/tools/llvm-readobj/ELF/note-llvmompoffload.test
A llvm/test/tools/llvm-readobj/ELF/note-multiple-sections.test
M llvm/test/tools/llvm-readobj/ELF/note-netbsd-core.test
M llvm/test/tools/llvm-readobj/ELF/note-openbsd-core.test
M llvm/test/tools/llvm-readobj/ELF/note-unknown.s
M llvm/test/tools/llvm-readobj/archive.test
M llvm/tools/llvm-readobj/ELFDumper.cpp
Log Message:
-----------
[llvm-readobj][ELF] Alter JSON/LLVM output on note sections to allow for multiple notes per section in JSON (#96813)
It turns out that the notes section for corefiles (or really any elf
file with multiple notes) is set up in such a way for LLVM formatted
output that the JSON equivalent only has the last note since the notes
are held in a dictionary with every key being Note. This pr alters the
layout for the notes to a list of dictionaries to sidestep this issue
for JSON output. Prior to this pr a note section in the output looked
like (for LLVM output):
```
Notes [
NoteSection {
Name: <?>
Offset: 0x2148
Size: 0x1F864
Note {
Owner: CORE
Data size: 0x150
Type: NT_PRSTATUS (prstatus structure)
Description data (
0000: 06000000 00000000 00000000 06000000 |................|
...
)
}
Note {
Owner: CORE
Data size: 0x88
Type: NT_PRPSINFO (prpsinfo structure)
Description data (
0000: 02440000 00000000 04054040 00000000 |.D........@@....|
....
```
But is now:
```
NoteSections [
NoteSection {
Name: <?>
Offset: 0x2148
Size: 0x1F864
Notes [
{
Owner: CORE
Data size: 0x150
Type: NT_PRSTATUS (prstatus structure)
Description data (
0000: 06000000 00000000 00000000 06000000 |................|
...
)
}
{
Owner: CORE
Data size: 0x88
Type: NT_PRPSINFO (prpsinfo structure)
Description data (
0000: 02440000 00000000 04054040 00000000 |.D........@@....|
...
```
Commit: 3386d24ff4e5dae07e33326c12c8d7dfd29de06a
https://github.com/llvm/llvm-project/commit/3386d24ff4e5dae07e33326c12c8d7dfd29de06a
Author: Kamau Bridgeman <kamau.bridgeman.ibm at gmail.com>
Date: 2024-07-03 (Wed, 03 Jul 2024)
Changed paths:
M llvm/include/llvm/DebugInfo/DWARF/DWARFUnit.h
M llvm/lib/DebugInfo/DWARF/DWARFUnit.cpp
M llvm/lib/DebugInfo/GSYM/DwarfTransformer.cpp
Log Message:
-----------
Revert "Reduce llvm-gsymutil memory usage" (#97603)
Reverts llvm/llvm-project#91023
Build break found in clang-ppc64le-linux-multistage build no. 583.
Commit: 5da7179cb3ff80203f58ddea71562816b2ae4ff6
https://github.com/llvm/llvm-project/commit/5da7179cb3ff80203f58ddea71562816b2ae4ff6
Author: Jeffrey Byrnes <Jeffrey.Byrnes at amd.com>
Date: 2024-07-03 (Wed, 03 Jul 2024)
Changed paths:
M llvm/lib/Target/AMDGPU/AMDGPULateCodeGenPrepare.cpp
M llvm/lib/Target/AMDGPU/AMDGPUTargetMachine.cpp
A llvm/test/CodeGen/AMDGPU/GlobalISel/vni8-across-blocks.ll
M llvm/test/CodeGen/AMDGPU/amdgpu-codegenprepare-break-large-phis.ll
M llvm/test/CodeGen/AMDGPU/dagcomb-extract-vec-elt-different-sizes.ll
M llvm/test/CodeGen/AMDGPU/extract-subvector-16bit.ll
M llvm/test/CodeGen/AMDGPU/extract-subvector.ll
M llvm/test/CodeGen/AMDGPU/llc-pipeline.ll
M llvm/test/CodeGen/AMDGPU/sdwa-peephole.ll
M llvm/test/CodeGen/AMDGPU/vni8-across-blocks.ll
A llvm/test/CodeGen/AMDGPU/vni8-live-reg-opt.ll
Log Message:
-----------
[AMDGPU] Reland: Add IR LiveReg type-based optimization
Commit: 9667e6044a2fce85f2fb35cd1731cbc8491f1871
https://github.com/llvm/llvm-project/commit/9667e6044a2fce85f2fb35cd1731cbc8491f1871
Author: Jon Roelofs <jonathan_roelofs at apple.com>
Date: 2024-07-03 (Wed, 03 Jul 2024)
Changed paths:
M llvm/unittests/TargetParser/TargetParserTest.cpp
Log Message:
-----------
[llvm][AArch64] Drop unused&redundant field in the TargetParserTest. NFC (#97367)
There were a couple of cases where this field was just plain wrong
because we weren't actually testing against it. Instead, drop the
`CPUAttr` field on AArch64 tests.
Commit: 94471e6d238acab291b5b652fc18f17c4815cc7d
https://github.com/llvm/llvm-project/commit/94471e6d238acab291b5b652fc18f17c4815cc7d
Author: Arthur Eubanks <aeubanks at google.com>
Date: 2024-07-03 (Wed, 03 Jul 2024)
Changed paths:
M llvm/lib/Analysis/MLInlineAdvisor.cpp
A llvm/test/Transforms/Inline/ML/dead-callee.ll
Log Message:
-----------
[MLInliner] Handle CGSCC changes from #94815 (#96274)
With #94815, the nodes belonging to dead functions are no longer
invalidated, but kept around to batch delete at the end of the call
graph walk.
The ML inliner needs to be updated to handle this. This fixes some
asserts getting hit, e.g. https://crbug.com/348376263.
Commit: 77d131eddb6ca9060c844fae9cb78779fa70c8f0
https://github.com/llvm/llvm-project/commit/77d131eddb6ca9060c844fae9cb78779fa70c8f0
Author: jimingham <jingham at apple.com>
Date: 2024-07-03 (Wed, 03 Jul 2024)
Changed paths:
M lldb/bindings/python/python-wrapper.swig
M lldb/docs/use/python-reference.rst
M lldb/examples/python/cmdtemplate.py
M lldb/include/lldb/Interpreter/CommandObject.h
M lldb/include/lldb/Interpreter/ScriptInterpreter.h
M lldb/source/Commands/CommandObjectCommands.cpp
M lldb/source/Commands/CommandObjectThread.cpp
M lldb/source/Plugins/ScriptInterpreter/Python/SWIGPythonBridge.h
M lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp
M lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPythonImpl.h
M lldb/test/API/commands/command/script/add/TestAddParsedCommand.py
M lldb/test/API/commands/command/script/add/test_commands.py
M lldb/unittests/ScriptInterpreter/Python/PythonTestSuite.cpp
Log Message:
-----------
Add the ability for Script based commands to specify their "repeat command" (#94823)
Among other things, returning an empty string as the repeat command
disables auto-repeat, which can be useful for state-changing commands.
There's one remaining refinement to this setup, which is that for parsed
script commands, it should be possible to change an option value, or add
a new option value that wasn't originally specified, then ask lldb "make
this back into a command string". That would make doing fancy things
with repeat commands easier.
That capability isn't present in the lldb_private side either, however.
So that's for a next iteration.
I haven't added this to the docs on adding commands yet. I wanted to
make sure this was an acceptable approach before I spend the time to do
that.
Commit: 845dee36ba4161df153ba05009cea615e20eda5a
https://github.com/llvm/llvm-project/commit/845dee36ba4161df153ba05009cea615e20eda5a
Author: jimingham <jingham at apple.com>
Date: 2024-07-03 (Wed, 03 Jul 2024)
Changed paths:
M lldb/source/API/SBThread.cpp
M lldb/test/API/python_api/thread/TestThreadAPI.py
M lldb/test/API/python_api/thread/main.cpp
Log Message:
-----------
SBThread::StepInstruction shouldn't discard other plans (#97493)
This was just a typo, none of the external execution control functions
should discard other plans. In particular, it means if you stop in a
hand-called function and step an instruction, the function call thread
plan gets unshipped, popping all the function call frames.
I also added a test that asserts the correct behavior. I tested all the
stepping operations even though only StepInstruction was wrong.
Commit: 9e6b46a9846cf5051c2aaef361af0fe1a76c856e
https://github.com/llvm/llvm-project/commit/9e6b46a9846cf5051c2aaef361af0fe1a76c856e
Author: David Truby <david.truby at arm.com>
Date: 2024-07-03 (Wed, 03 Jul 2024)
Changed paths:
M clang/include/clang/Driver/Options.td
M clang/lib/Driver/ToolChains/Clang.cpp
M clang/lib/Driver/ToolChains/CommonArgs.cpp
M clang/lib/Driver/ToolChains/CommonArgs.h
M clang/lib/Driver/ToolChains/Flang.cpp
M flang/include/flang/Frontend/CodeGenOptions.h
M flang/lib/Frontend/CodeGenOptions.cpp
M flang/lib/Frontend/CompilerInstance.cpp
M flang/lib/Frontend/CompilerInvocation.cpp
M flang/lib/Frontend/FrontendActions.cpp
A flang/test/Driver/large-data-threshold.f90
A flang/test/Driver/mcmodel.f90
A flang/test/Lower/large-data-threshold.f90
A flang/test/Lower/mcmodel.f90
Log Message:
-----------
[flang] Implement -mcmodel flag (#95411)
This patch implements the -mcmodel flag from clang, allowing the Code
Model to be changed for the LLVM module. The same set of mcmodel
flags are accepted as in clang and the same Code Model attributes are
added to the LLVM module for those flags.
Also add `-mlarge-data-threshold` for x86-64, which is automatically set
by the shared command-line code (see below). This is also added as an
attribute into the LLVM module and on the target machine.
A function is created for `addMCModel` that is copied out of clang's
argument handling so that it can be shared with flang.
---------
Co-authored-by: Mats Petersson <mats.petersson at arm.com>
Commit: a0176533766201eca58b20a11e42ab30c73d1b1b
https://github.com/llvm/llvm-project/commit/a0176533766201eca58b20a11e42ab30c73d1b1b
Author: Michael Buch <michaelbuch12 at gmail.com>
Date: 2024-07-03 (Wed, 03 Jul 2024)
Changed paths:
M lldb/source/Plugins/Language/CPlusPlus/LibCxxMap.cpp
Log Message:
-----------
[lldb][DataFormatter][NFC] Factor out MapIterator logic into separate helper (#97544)
This patch factors all the logic for advancing the `MapIterator` out of
`GetChildAtIndex`. This, in my opinion, helps readability, and will be
useful for upcoming cleanups in this area.
While here, some drive-by changes:
* added a couple of clarification comments
* fixed a variable name typo
* turned the `return lldb::ValueObjectSP()` into `return nullptr`
* added an assertion to make sure we keep the iterator cache in a valid
state
Commit: d4f3d24e7f016440083a785ded818b8fb410b7d8
https://github.com/llvm/llvm-project/commit/d4f3d24e7f016440083a785ded818b8fb410b7d8
Author: Hansang Bae <hansang.bae at intel.com>
Date: 2024-07-03 (Wed, 03 Jul 2024)
Changed paths:
M openmp/runtime/src/include/omp-tools.h.var
Log Message:
-----------
[OpenMP] Add ompt_start_tool declaration in omp-tools.h (#97099)
The function ompt_start_tool is a globally-visible C function according
to the specification.
Commit: c0d1d0405cb9f55ec12dfb0cec9c5639d3b357d8
https://github.com/llvm/llvm-project/commit/c0d1d0405cb9f55ec12dfb0cec9c5639d3b357d8
Author: Kirill <pyasetskiyr at gmail.com>
Date: 2024-07-03 (Wed, 03 Jul 2024)
Changed paths:
M utils/bazel/examples/submodule/WORKSPACE
Log Message:
-----------
[bazel] Update WORKSPACE file in examples (#97613)
Commit: c940317d023e6790fc20152f354487571d0e3087
https://github.com/llvm/llvm-project/commit/c940317d023e6790fc20152f354487571d0e3087
Author: Thurston Dang <thurston at google.com>
Date: 2024-07-03 (Wed, 03 Jul 2024)
Changed paths:
A llvm/test/Instrumentation/MemorySanitizer/vector-track-origins-neon.ll
A llvm/test/Instrumentation/MemorySanitizer/vector-track-origins-struct.ll
Log Message:
-----------
[msan] Add test cases for vector shadow track origins bug (#97611)
These test cases demonstrate a bug in MSan (vector shadow is not always
converted to scalar before zext) that will shortly be fixed in
https://github.com/llvm/llvm-project/pull/96722
The bug is not architecture-specific; we provide both x86 and Arm NEON
test cases.
Since the test cases will crash the compiler (unless it is a release
build), they are marked as UNSUPPORTED.
The buggy codepath is nested inside 'if
(instrumentWithCalls(ConvertedShadow)'. To keep the test cases small, we
set -msan-instrumentation-with-call-threshold=0, though we have observed
this bug in the real world with default settings.
Commit: 96c18a2769a48436e01ccc59154b8de9fe305e22
https://github.com/llvm/llvm-project/commit/96c18a2769a48436e01ccc59154b8de9fe305e22
Author: Alexey Bataev <a.bataev at outlook.com>
Date: 2024-07-03 (Wed, 03 Jul 2024)
Changed paths:
M llvm/test/Transforms/SLPVectorizer/X86/entries-different-vf.ll
Log Message:
-----------
[SLP][NFC]Make instructions non-foldable, NFC
Commit: d54802092de3d92c4ecd331801970b0d84fecc25
https://github.com/llvm/llvm-project/commit/d54802092de3d92c4ecd331801970b0d84fecc25
Author: Alexis Engelke <engelke at in.tum.de>
Date: 2024-07-03 (Wed, 03 Jul 2024)
Changed paths:
M llvm/include/llvm/MC/MCSectionELF.h
M llvm/lib/MC/ELFObjectWriter.cpp
Log Message:
-----------
[MC][ELF] Eliminate some hash maps from ELFObjectWriter (#97421)
Remove some maps. Mostly cleanup, only a slight performance win.
- Replace SectionIndexMap with layout order: The section layout order is
only used in MachO, so we can repurpose the field as section table
index.
- Store section offsets in MCSectionELF: No need for a map, and
especially not a std::map. Direct access to the underlying (and easily
modifyable) data structure is always faster.
- Improve storage of groups: There's no point in having a DenseMap, the
number of sections and groups are reasonably small to use vectors.
Commit: 4eecf3c650ea53aa00cae2fe983f95ee6ec6705a
https://github.com/llvm/llvm-project/commit/4eecf3c650ea53aa00cae2fe983f95ee6ec6705a
Author: Alexey Bataev <a.bataev at outlook.com>
Date: 2024-07-03 (Wed, 03 Jul 2024)
Changed paths:
M llvm/include/llvm/Transforms/Vectorize/SLPVectorizer.h
M llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
M llvm/test/Transforms/SLPVectorizer/AArch64/scalarization-overhead.ll
M llvm/test/Transforms/SLPVectorizer/X86/reused-extractelements.ll
Log Message:
-----------
[SLP]Reorder buildvector/reduction vectorization and fuse the loops.
Currently SLP vectorizer tries at first to find reduction nodes, and
then vectorize buildvector sequences. Need to try to vectorize wide
buildvector sequences at first and only then try to vectorize
reductions, and then smaller buildvector sequences.
Reviewers: RKSimon
Reviewed By: RKSimon
Pull Request: https://github.com/llvm/llvm-project/pull/96943
Commit: 97dc50882cbc63d7098e95f73f242185c75c226b
https://github.com/llvm/llvm-project/commit/97dc50882cbc63d7098e95f73f242185c75c226b
Author: Shaw Young <58664393+shawbyoung at users.noreply.github.com>
Date: 2024-07-03 (Wed, 03 Jul 2024)
Changed paths:
M bolt/docs/CommandLineArgumentReference.md
M bolt/include/bolt/Profile/YAMLProfileReader.h
M bolt/lib/Profile/YAMLProfileReader.cpp
A bolt/test/X86/name-similarity-function-matching.test
Log Message:
-----------
[BOLT] Match functions with name similarity (#95884)
A mapping - from namespace to associated binary functions - is used to
match function profiles to binary based on the
'--name-similarity-function-matching-threshold' flag set edit distance
threshold. The flag is set to 0 (exact name matching) by default as it is
expensive, requiring the processing of all BFs.
Test Plan: Added name-similarity-function-matching.test. On a binary
with 5M functions, rewrite passes took ~520s without the flag and
~2018s with the flag set to 20.
Commit: c156d421851d175805309a83bf703ad304955847
https://github.com/llvm/llvm-project/commit/c156d421851d175805309a83bf703ad304955847
Author: Craig Topper <craig.topper at sifive.com>
Date: 2024-07-03 (Wed, 03 Jul 2024)
Changed paths:
M clang/test/Driver/riscv-arch.c
M llvm/lib/TargetParser/RISCVISAInfo.cpp
Log Message:
-----------
[RISCV] Remove SeenExtMap from RISCVISAInfo::parseArchString. (#97506)
Use the Exts map directly instead of adding to a temporary MapVector
first.
There are a couple functional change from this.
-If an unknown extension is duplicated, we will now print an error for
it being unknown instead of an error for it being duplicated.
-If an unknown extension is followed by an underscore with no extension after
it, we will error for the unknown extension instead of the dangling
underscore.
These don't seem like serious changes to me. I've updated tests
accordingly.
Commit: edbc0e30a9e587cee1189be023b9385adc2f239a
https://github.com/llvm/llvm-project/commit/edbc0e30a9e587cee1189be023b9385adc2f239a
Author: srcarroll <50210727+srcarroll at users.noreply.github.com>
Date: 2024-07-03 (Wed, 03 Jul 2024)
Changed paths:
M mlir/include/mlir/Dialect/SCF/IR/SCFOps.td
M mlir/include/mlir/Dialect/SCF/Utils/Utils.h
M mlir/include/mlir/Interfaces/LoopLikeInterface.h
M mlir/lib/Dialect/SCF/IR/SCF.cpp
M mlir/lib/Dialect/SCF/TransformOps/SCFTransformOps.cpp
M mlir/lib/Dialect/SCF/Transforms/ParallelLoopFusion.cpp
M mlir/lib/Dialect/SCF/Utils/Utils.cpp
M mlir/lib/Interfaces/LoopLikeInterface.cpp
M mlir/test/Dialect/SCF/transform-loop-fuse-sibling.mlir
Log Message:
-----------
[mlir][loops] Reland Refactor LoopFuseSiblingOp and support parallel fusion #94391 (#97607)
The refactor had a bug where the fused loop was inserted in an incorrect
location. This patch fixes the bug and relands the original PR
https://github.com/llvm/llvm-project/pull/94391.
This patch refactors code related to LoopFuseSiblingOp transform in
attempt to reduce duplicate common code. The aim is to refactor as much
as possible to a functions on LoopLikeOpInterfaces, but this is still a
work in progress. A full refactor will require more additions to the
LoopLikeOpInterface.
In addition, scf.parallel fusion support has been added.
Commit: d5f5dc9dcca427a290a9f454046113afdb6a68ff
https://github.com/llvm/llvm-project/commit/d5f5dc9dcca427a290a9f454046113afdb6a68ff
Author: vporpo <vporpodas at google.com>
Date: 2024-07-03 (Wed, 03 Jul 2024)
Changed paths:
M llvm/include/llvm/SandboxIR/SandboxIR.h
M llvm/include/llvm/SandboxIR/SandboxIRValues.def
M llvm/lib/SandboxIR/SandboxIR.cpp
M llvm/unittests/SandboxIR/SandboxIRTest.cpp
Log Message:
-----------
[SandboxIR] More boilerplate: Function, Argument, Constant, Instruction, OpaqueInst (#97343)
A very basic implementation of sandboxir::
`Fuction`
`Argument`
`Constant`
`Instruction`
`OpaqueInst`
Commit: bbd52dd44ceee80e3b6ba6a9b2bd8ee9a9713833
https://github.com/llvm/llvm-project/commit/bbd52dd44ceee80e3b6ba6a9b2bd8ee9a9713833
Author: Alexey Bataev <a.bataev at outlook.com>
Date: 2024-07-03 (Wed, 03 Jul 2024)
Changed paths:
M llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
M llvm/test/Transforms/SLPVectorizer/X86/arith-add-ssat.ll
M llvm/test/Transforms/SLPVectorizer/X86/arith-add-usat.ll
M llvm/test/Transforms/SLPVectorizer/X86/arith-add.ll
M llvm/test/Transforms/SLPVectorizer/X86/arith-fix.ll
M llvm/test/Transforms/SLPVectorizer/X86/arith-fshl-rot.ll
M llvm/test/Transforms/SLPVectorizer/X86/arith-fshl.ll
M llvm/test/Transforms/SLPVectorizer/X86/arith-fshr-rot.ll
M llvm/test/Transforms/SLPVectorizer/X86/arith-fshr.ll
M llvm/test/Transforms/SLPVectorizer/X86/arith-mul.ll
M llvm/test/Transforms/SLPVectorizer/X86/arith-smax.ll
M llvm/test/Transforms/SLPVectorizer/X86/arith-smin.ll
M llvm/test/Transforms/SLPVectorizer/X86/arith-sub-ssat.ll
M llvm/test/Transforms/SLPVectorizer/X86/arith-sub-usat.ll
M llvm/test/Transforms/SLPVectorizer/X86/arith-sub.ll
M llvm/test/Transforms/SLPVectorizer/X86/arith-umax.ll
M llvm/test/Transforms/SLPVectorizer/X86/arith-umin.ll
M llvm/test/Transforms/SLPVectorizer/X86/horizontal-list.ll
M llvm/test/Transforms/SLPVectorizer/X86/shift-ashr.ll
M llvm/test/Transforms/SLPVectorizer/X86/shift-lshr.ll
M llvm/test/Transforms/SLPVectorizer/X86/shift-shl.ll
Log Message:
-----------
[SLP]Remove operands upon marking instruction for deletion.
If the instruction is marked for deletion, better to drop all its
operands and mark them for deletion too (if allowed). It allows to have
more vectorizable patterns and generate less useless extractelement
instructions.
Reviewers: RKSimon
Reviewed By: RKSimon
Pull Request: https://github.com/llvm/llvm-project/pull/97409
Commit: 7aa906dda56ea6843004f1d52eb13860341ca5e5
https://github.com/llvm/llvm-project/commit/7aa906dda56ea6843004f1d52eb13860341ca5e5
Author: Craig Topper <craig.topper at sifive.com>
Date: 2024-07-03 (Wed, 03 Jul 2024)
Changed paths:
M llvm/lib/TargetParser/RISCVISAInfo.cpp
Log Message:
-----------
[RISCV] Merge the Arch and Exts variables in RISCVISAInfo::parseArchString. NFC
Commit: c02e8f762a410e55581866c43636efcd6504c1bd
https://github.com/llvm/llvm-project/commit/c02e8f762a410e55581866c43636efcd6504c1bd
Author: Ilia Sergachev <1894984+sergachev at users.noreply.github.com>
Date: 2024-07-03 (Wed, 03 Jul 2024)
Changed paths:
M llvm/include/llvm/Transforms/Utils/SplitModule.h
M llvm/lib/Transforms/Utils/SplitModule.cpp
A llvm/test/tools/llvm-split/name-hash-based-distribution.ll
A llvm/test/tools/llvm-split/round-robin.ll
M llvm/tools/llvm-split/llvm-split.cpp
Log Message:
-----------
[llvm][transforms] Add a new algorithm to SplitModule (#95941)
The new round-robin algorithm overrides the hash-based distribution of
functions to modules. It achieves a more even number of functions per
module when the number of functions is close to the number of requested
modules. It's not in use by default and is available under a new flag.
Commit: 7002ecb4c6dba2050b321699e0e17eb890c3ca2c
https://github.com/llvm/llvm-project/commit/7002ecb4c6dba2050b321699e0e17eb890c3ca2c
Author: Thurston Dang <thurston at google.com>
Date: 2024-07-03 (Wed, 03 Jul 2024)
Changed paths:
M llvm/lib/Transforms/Instrumentation/MemorySanitizer.cpp
M llvm/test/Instrumentation/MemorySanitizer/vector-track-origins-neon.ll
M llvm/test/Instrumentation/MemorySanitizer/vector-track-origins-struct.ll
Log Message:
-----------
[msan] Convert vector shadow to scalar before zext (#96722)
zext does not allow converting vector shadow to scalar, so we must
manually convert it prior to calling zext in materializeOneCheck, for
which the 'ConvertedShadow' parameter isn't actually guaranteed to be
scalar (1). Note that it is safe/no-op to call convertShadowToScalar on
a shadow that is already scalar.
In contrast, the storeOrigin function already converts the (potentially
vector) shadow to scalar; we add a comment to note why it is load
bearing.
(1) In materializeInstructionChecks():
"// Disable combining in some cases. TrackOrigins checks each shadow to
pick
// correct origin.
bool Combine = !MS.TrackOrigins;
...
if (!Combine) {
materializeOneCheck(IRB, ConvertedShadow, ShadowData.Origin);
continue;
}"
Commit: a1bc606b5fb9a91eb16fc0c012aa785323788c90
https://github.com/llvm/llvm-project/commit/a1bc606b5fb9a91eb16fc0c012aa785323788c90
Author: agozillon <Andrew.Gozillon at amd.com>
Date: 2024-07-03 (Wed, 03 Jul 2024)
Changed paths:
M flang/lib/Optimizer/Transforms/StackReclaim.cpp
M flang/test/Transforms/stack-reclaime.fir
Log Message:
-----------
[Flang][Transform] Modify stack reclaim pass to use allocation address space when generating intrinsics (#96836)
This PR aims to factor in the allocation address space provided by an
architectures data layout when generating the intrinsic instructions,
this allows them to be lowered later with the address spaces in tow.
This aligns the intrinsic creation with the LLVM IRBuilder's
https://github.com/llvm/llvm-project/blob/main/llvm/include/llvm/IR/IRBuilder.h#L1053
This is also necessary for the below example to compile for OpenMP AMD
GPU and not ICE the compiler in ISEL as AMD's stackrestore and stacksave
are expected to have the appropriate allocation address space for AMD
GPU.
program main
integer(4), allocatable :: test
allocate(test)
!$omp target map(tofrom:test)
do i = 1, 10
test = test + 50
end do
!$omp end target
deallocate(test)
end program
The PR also fixes the issue I opened a while ago which hits the same
error when compiling for AMDGPU:
https://github.com/llvm/llvm-project/issues/82368
Although, you have to have the appropriate GPU LIBC and Fortran offload
runtime (both compiled for AMDGPU) added to the linker for the command
or it will reach another ISEL error and ICE weirdly. But with the
pre-requisites it works fine with this PR.
Commit: a379b2260fc3bada0c11a6a1cd7891a1a6e1fb99
https://github.com/llvm/llvm-project/commit/a379b2260fc3bada0c11a6a1cd7891a1a6e1fb99
Author: Kazu Hirata <kazu at google.com>
Date: 2024-07-03 (Wed, 03 Jul 2024)
Changed paths:
M llvm/lib/IR/DIBuilder.cpp
M llvm/lib/IR/LegacyPassManager.cpp
Log Message:
-----------
[IR] Use range-based for loops (NFC) (#97575)
Commit: 92f4001906a18fca29929a333e61fdd662a9b0bd
https://github.com/llvm/llvm-project/commit/92f4001906a18fca29929a333e61fdd662a9b0bd
Author: Kazu Hirata <kazu at google.com>
Date: 2024-07-03 (Wed, 03 Jul 2024)
Changed paths:
M llvm/lib/Transforms/InstCombine/InstructionCombining.cpp
M llvm/lib/Transforms/Utils/SimplifyCFG.cpp
Log Message:
-----------
[Transforms] Use range-based for loops (NFC) (#97576)
Commit: fd524d4df797d3c25a1f50b03b1d8ffcbbdd87af
https://github.com/llvm/llvm-project/commit/fd524d4df797d3c25a1f50b03b1d8ffcbbdd87af
Author: shawbyoung <shawbyoung at gmail.com>
Date: 2024-07-03 (Wed, 03 Jul 2024)
Changed paths:
M bolt/lib/Profile/CMakeLists.txt
Log Message:
-----------
[BOLT] Add Demangle to Profile link components
Added Demangle to Profile link components to fix shared build.
Commit: 873c3f7e7813223906d3ebf5acb4359a8b5726bc
https://github.com/llvm/llvm-project/commit/873c3f7e7813223906d3ebf5acb4359a8b5726bc
Author: Alexey Bataev <a.bataev at outlook.com>
Date: 2024-07-03 (Wed, 03 Jul 2024)
Changed paths:
M llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
M llvm/test/Transforms/SLPVectorizer/X86/arith-add-ssat.ll
M llvm/test/Transforms/SLPVectorizer/X86/arith-add-usat.ll
M llvm/test/Transforms/SLPVectorizer/X86/arith-add.ll
M llvm/test/Transforms/SLPVectorizer/X86/arith-fix.ll
M llvm/test/Transforms/SLPVectorizer/X86/arith-fshl-rot.ll
M llvm/test/Transforms/SLPVectorizer/X86/arith-fshl.ll
M llvm/test/Transforms/SLPVectorizer/X86/arith-fshr-rot.ll
M llvm/test/Transforms/SLPVectorizer/X86/arith-fshr.ll
M llvm/test/Transforms/SLPVectorizer/X86/arith-mul.ll
M llvm/test/Transforms/SLPVectorizer/X86/arith-smax.ll
M llvm/test/Transforms/SLPVectorizer/X86/arith-smin.ll
M llvm/test/Transforms/SLPVectorizer/X86/arith-sub-ssat.ll
M llvm/test/Transforms/SLPVectorizer/X86/arith-sub-usat.ll
M llvm/test/Transforms/SLPVectorizer/X86/arith-sub.ll
M llvm/test/Transforms/SLPVectorizer/X86/arith-umax.ll
M llvm/test/Transforms/SLPVectorizer/X86/arith-umin.ll
M llvm/test/Transforms/SLPVectorizer/X86/horizontal-list.ll
M llvm/test/Transforms/SLPVectorizer/X86/shift-ashr.ll
M llvm/test/Transforms/SLPVectorizer/X86/shift-lshr.ll
M llvm/test/Transforms/SLPVectorizer/X86/shift-shl.ll
Log Message:
-----------
Revert "[SLP]Remove operands upon marking instruction for deletion."
This reverts commit bbd52dd44ceee80e3b6ba6a9b2bd8ee9a9713833 to fix
a crash revealed in https://lab.llvm.org/buildbot/#/builders/4/builds/505
Commit: af784a5c13328aa4a8ce622260563b459856a8d4
https://github.com/llvm/llvm-project/commit/af784a5c13328aa4a8ce622260563b459856a8d4
Author: Mingming Liu <mingmingl at google.com>
Date: 2024-07-03 (Wed, 03 Jul 2024)
Changed paths:
M llvm/include/llvm/Transforms/IPO/FunctionImport.h
M llvm/lib/LTO/LTO.cpp
M llvm/lib/Transforms/IPO/FunctionImport.cpp
M llvm/test/ThinLTO/X86/funcimport-stats.ll
M llvm/test/Transforms/FunctionImport/funcimport.ll
Log Message:
-----------
[ThinLTO] Use a set rather than a map to track exported ValueInfos. (#97360)
https://github.com/llvm/llvm-project/pull/95482 is a reland of
https://github.com/llvm/llvm-project/pull/88024.
https://github.com/llvm/llvm-project/pull/95482 keeps indexing memory
usage reasonable by using unordered_map and doesn't make other changes
to originally reviewed code.
While discussing possible ways to minimize indexing memory usage, Teresa
asked whether I need `ExportSetTy` as a map or a set is sufficient. This
PR implements the idea. It uses a set rather than a map to track exposed
ValueInfos.
Currently, `ExportLists` has two use cases, and neither needs to track a
ValueInfo's import/export status. So using a set is sufficient and
correct.
1) In both in-process and distributed ThinLTO, it's used to decide if a
function or global variable is visible [1] from another module after importing
creates additional cross-module references.
* If a cross-module call edge is seen today, the callee must be visible
to another module without keeping track of its export status already.
For instance, this [2] is how callees of direct calls get exported.
2) For in-process ThinLTO [3], it's used to compute lto cache key.
* The cache key computation already hashes [4] 'ImportList' , and 'ExportList' is
determined by 'ImportList'. So it's fine to not track 'import type' for export list.
[1] https://github.com/llvm/llvm-project/blob/66cd8ec4c08252ebc73c82e4883a8da247ed146b/llvm/lib/LTO/LTO.cpp#L1815-L1819
[2] https://github.com/llvm/llvm-project/blob/66cd8ec4c08252ebc73c82e4883a8da247ed146b/llvm/lib/LTO/LTO.cpp#L1783-L1794
[3] https://github.com/llvm/llvm-project/blob/66cd8ec4c08252ebc73c82e4883a8da247ed146b/llvm/lib/LTO/LTO.cpp#L1494-L1496
[4] https://github.com/llvm/llvm-project/blob/b76100e220591fab2bf0a4917b216439f7aa4b09/llvm/lib/LTO/LTO.cpp#L194-L222
Commit: a3c5c83273358a85a4e02f5f76379b1a276e7714
https://github.com/llvm/llvm-project/commit/a3c5c83273358a85a4e02f5f76379b1a276e7714
Author: Craig Topper <craig.topper at sifive.com>
Date: 2024-07-03 (Wed, 03 Jul 2024)
Changed paths:
M llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
Log Message:
-----------
[DAGCombiner] Remove unneeded getValueType() calls in visitMULHS/MULHU. NFC
We have an existing VT variable that should match N0.getValueType.
Commit: b5864988b3230324f5426036f45aab43d20a5b94
https://github.com/llvm/llvm-project/commit/b5864988b3230324f5426036f45aab43d20a5b94
Author: Mats Petersson <mats.petersson at arm.com>
Date: 2024-07-03 (Wed, 03 Jul 2024)
Changed paths:
M flang/test/Lower/mcmodel.f90
Log Message:
-----------
[flang] Fix failing test (#97634)
Add requires line to not test when the target architecture isn't
supported.
Technically we could make it a bit less restrictive, but want green
builds.
Commit: 04a1a3482ce3ee00b5bbec1ce852e58410e4b6ad
https://github.com/llvm/llvm-project/commit/04a1a3482ce3ee00b5bbec1ce852e58410e4b6ad
Author: Fangrui Song <i at maskray.me>
Date: 2024-07-03 (Wed, 03 Jul 2024)
Changed paths:
M clang/include/clang/Basic/CodeGenOptions.def
M clang/include/clang/Basic/DiagnosticDriverKinds.td
M clang/include/clang/Driver/Options.td
M clang/lib/CodeGen/BackendUtil.cpp
M clang/lib/Driver/ToolChains/Clang.cpp
M clang/lib/Driver/ToolChains/CommonArgs.cpp
A clang/test/Driver/crel.c
A clang/test/Misc/cc1as-crel.s
M clang/tools/driver/cc1as_main.cpp
Log Message:
-----------
[Driver] Add -Wa, options --crel and --allow-experimental-crel
The two options are discussed in a few comments around
https://github.com/llvm/llvm-project/pull/91280#issuecomment-2099344079
* -Wa,--crel: error "-Wa,--allow-experimental-crel must be specified to use -Wa,--crel..."
* -Wa,--allow-experimental-crel: no-op
* -Wa,--crel,--allow-experimental-crel: enable CREL in the integrated assembler (#91280)
MIPS's little-endian n64 ABI messed up the `r_info` field in
relocations. While this could be fixed with CREL, my intention is to
avoid complication in assembler/linker. The implementation simply
doesn't allow CREL for MIPS.
Link: https://discourse.llvm.org/t/rfc-crel-a-compact-relocation-format-for-elf/77600
Pull Request: https://github.com/llvm/llvm-project/pull/97378
Commit: 4c63672ca706c708de1e49bb29d026a705daa0d2
https://github.com/llvm/llvm-project/commit/4c63672ca706c708de1e49bb29d026a705daa0d2
Author: Hansang Bae <hansang.bae at intel.com>
Date: 2024-07-03 (Wed, 03 Jul 2024)
Changed paths:
M openmp/libompd/test/ompt_plugin.h
Log Message:
-----------
[OpenMP] Fix use of ompt_start_tool in ompd test. (#97616)
Commit: 6aed0d5afb53434068f37f1b2909590e9dda3d8f
https://github.com/llvm/llvm-project/commit/6aed0d5afb53434068f37f1b2909590e9dda3d8f
Author: aaryanshukla <53713108+aaryanshukla at users.noreply.github.com>
Date: 2024-07-03 (Wed, 03 Jul 2024)
Changed paths:
M libc/CMakeLists.txt
A libc/newhdrgen/CMakeLists.txt
M libc/newhdrgen/class_implementation/classes/enumeration.py
M libc/newhdrgen/class_implementation/classes/function.py
M libc/newhdrgen/class_implementation/classes/object.py
M libc/newhdrgen/header.py
A libc/newhdrgen/tests/expected_output/test_header.h
A libc/newhdrgen/tests/input/test_small.h.def
A libc/newhdrgen/tests/input/test_small.yaml
A libc/newhdrgen/tests/output/test_small.h
A libc/newhdrgen/tests/test_integration.py
M libc/newhdrgen/yaml_to_classes.py
Log Message:
-----------
[libc] created integration tests for newhdrgen (#97361)
- created integration tests for libc hdrgen
- implemented sorting function names in yaml files through script
Commit: 611212fc9a4174723540542e9dbafb2a60275341
https://github.com/llvm/llvm-project/commit/611212fc9a4174723540542e9dbafb2a60275341
Author: Matt Arsenault <Matthew.Arsenault at amd.com>
Date: 2024-07-03 (Wed, 03 Jul 2024)
Changed paths:
M llvm/lib/Target/AMDGPU/AMDGPULegalizerInfo.cpp
A llvm/test/CodeGen/AMDGPU/GlobalISel/atomicrmw_fmax.ll
A llvm/test/CodeGen/AMDGPU/GlobalISel/atomicrmw_fmin.ll
Log Message:
-----------
AMDGPU/GlobalISel: Legalize atomicrmw fmin/fmax (#97048)
We only handled the easy LDS case before. Handle the other address
spaces
with the more complicated legality logic.
Commit: 4a1fdeb04d10f5562687568ea8c494b3ef46c587
https://github.com/llvm/llvm-project/commit/4a1fdeb04d10f5562687568ea8c494b3ef46c587
Author: RoseZhang03 <rosezhang at google.com>
Date: 2024-07-03 (Wed, 03 Jul 2024)
Changed paths:
A libc/newhdrgen/yaml/ctype.yaml
A libc/newhdrgen/yaml/fenv.yaml
A libc/newhdrgen/yaml/math.yaml
A libc/newhdrgen/yaml/pthread.yaml
A libc/newhdrgen/yaml/sched.yaml
A libc/newhdrgen/yaml/signal.yaml
A libc/newhdrgen/yaml/stdfix.yaml
A libc/newhdrgen/yaml/stdio.yaml
A libc/newhdrgen/yaml/stdlib.yaml
A libc/newhdrgen/yaml/string.yaml
A libc/newhdrgen/yaml/strings.yaml
M libc/newhdrgen/yaml/sys_auxv.yaml
A libc/newhdrgen/yaml/sys_mman.yaml
M libc/newhdrgen/yaml/sys_types.yaml
A libc/newhdrgen/yaml/sys_wait.yaml
A libc/newhdrgen/yaml/time.yaml
R libc/newhdrgen/yaml_combined/ctype.yaml
R libc/newhdrgen/yaml_combined/fenv.yaml
R libc/newhdrgen/yaml_combined/math.yaml
R libc/newhdrgen/yaml_combined/pthread.yaml
R libc/newhdrgen/yaml_combined/sched.yaml
R libc/newhdrgen/yaml_combined/signal.yaml
R libc/newhdrgen/yaml_combined/stdfix.yaml
R libc/newhdrgen/yaml_combined/stdio.yaml
R libc/newhdrgen/yaml_combined/stdlib.yaml
R libc/newhdrgen/yaml_combined/string.yaml
R libc/newhdrgen/yaml_combined/strings.yaml
R libc/newhdrgen/yaml_combined/sys_mman.yaml
R libc/newhdrgen/yaml_combined/sys_wait.yaml
R libc/newhdrgen/yaml_combined/time.yaml
Log Message:
-----------
[libc] reordered Function class parameters and moved yaml files (#97329)
Reordered Function class parameter "standards" to make more logical
sense and to match the ordering in the add_function function.
Deleted the yaml_combined folder and moved contained files to the yaml
folder.
Updated math.yaml file with the recently added math functions in spec.td
Commit: 5828b04b0373f10fade7eefbeb181dc8ceb98422
https://github.com/llvm/llvm-project/commit/5828b04b0373f10fade7eefbeb181dc8ceb98422
Author: Sayhaan Siddiqui <49014204+sayhaan at users.noreply.github.com>
Date: 2024-07-03 (Wed, 03 Jul 2024)
Changed paths:
M bolt/include/bolt/Core/DebugData.h
M bolt/include/bolt/Rewrite/DWARFRewriter.h
M bolt/lib/Core/DebugData.cpp
M bolt/lib/Rewrite/DWARFRewriter.cpp
M bolt/test/X86/debug-fission-single-convert.s
M bolt/test/X86/dwarf4-df-dualcu.test
M bolt/test/X86/dwarf4-df-input-lowpc-ranges-cus.test
M bolt/test/X86/dwarf4-df-input-lowpc-ranges.test
Log Message:
-----------
[BOLT][DWARF] Refactor legacy ranges writers (#96006)
Refactors legacy ranges writers to create a writer for each instance of
a DWO file.
We now write out everything into .debug_ranges after the all the DWO
files are processed. This also changes the order that ranges is written
out in, as before we wrote out while in the main CU processing loop and
we now iterate through the CU buckets created by partitionCUs, after the
main processing loop.
Commit: 7d68d9d2f27535e03934383220282e18edd0c1e8
https://github.com/llvm/llvm-project/commit/7d68d9d2f27535e03934383220282e18edd0c1e8
Author: lntue <35648136+lntue at users.noreply.github.com>
Date: 2024-07-03 (Wed, 03 Jul 2024)
Changed paths:
M libc/config/darwin/arm/entrypoints.txt
M libc/config/linux/aarch64/entrypoints.txt
M libc/config/linux/arm/entrypoints.txt
M libc/config/linux/riscv/entrypoints.txt
M libc/docs/math/index.rst
M libc/src/__support/FPUtil/double_double.h
M libc/src/math/generic/CMakeLists.txt
A libc/src/math/generic/tan.cpp
R libc/src/math/x86_64/CMakeLists.txt
R libc/src/math/x86_64/tan.cpp
M libc/test/src/math/smoke/CMakeLists.txt
A libc/test/src/math/smoke/tan_test.cpp
M libc/test/src/math/tan_test.cpp
Log Message:
-----------
[libc][math] Implement correctly rounded double precision tan (#97489)
Using the same range reduction as `sin`, `cos`, and `sincos`:
1) Reducing `x = k*pi/128 + u`, with `|u| <= pi/256`, and `u` is in
double-double.
2) Approximate `tan(u)` using degree-9 Taylor polynomial.
3) Compute
```
tan(x) ~ (sin(k*pi/128) + tan(u) * cos(k*pi/128)) / (cos(k*pi/128) - tan(u) * sin(k*pi/128))
```
using the fast double-double division algorithm in [the CORE-MATH
project](https://gitlab.inria.fr/core-math/core-math/-/blob/master/src/binary64/tan/tan.c#L1855).
4) Perform relative-error Ziv's accuracy test
5) If the accuracy tests failed, we redo the computations using 128-bit
precision `DyadicFloat`.
Fixes https://github.com/llvm/llvm-project/issues/96930
Commit: 10b43f429a9f5cc7315c5b0490433647c9a93493
https://github.com/llvm/llvm-project/commit/10b43f429a9f5cc7315c5b0490433647c9a93493
Author: Krystian Stasiowski <sdkrystian at gmail.com>
Date: 2024-07-03 (Wed, 03 Jul 2024)
Changed paths:
M clang/docs/ReleaseNotes.rst
M clang/lib/Sema/TreeTransform.h
A clang/test/CXX/expr/expr.prim/expr.prim.id/expr.prim.id.general/p4.cpp
Log Message:
-----------
[Clang][Sema] Correctly transform dependent operands of overloaded binary operator& (#97596)
Currently, `TreeTransform::TransformCXXOperatorCallExpr` calls
`TreeTransform::TransformAddressOfOperand` to transform the first
operand of a `CXXOperatorCallExpr` when its `OverloadOperatorKind` is
`OO_Amp` -- regardless of arity. This results in the first operand of
binary `operator&` being incorrectly transformed as if it was the
operand of the address of operator in cases such as the following:
```
struct A {
int x;
};
void operator&(A, A);
template<typename T>
struct B {
int f() {
return T::x & 1; // invalid reference to 'A::x' is not diagnosed because 'T::x' is incorrectly transformed as if it was the operand of unary operator&
}
};
template struct B<A>;
```
Prior to #92318 we would build a `CXXDependentScopeMemberExpr` for
`T::x` (as with most dependent qualified names that were not member
qualified names). Since `TreeTransform::TransformAddressOfOperand` only
differs from `TransformExpr` for `DependentScopeDeclRefExpr` and
`UnresolvedLookupExpr` operands, `T::x` was transformed "correctly". Now
that we build a `DependentScopeDeclRefExpr` for `T::x`, it is
incorrectly transformed as if it was the operand of the address of
operator and we fail to diagnose the invalid reference to a non-static
data member. This patch fixes the issue by only calling
`TreeTransform::TransformAddressOfOperand` for `CXXOperatorCallExpr`s
with a single operand. This fixes #97483.
Commit: af7ee51a90beeb8198ceac0100c52b102543cf4b
https://github.com/llvm/llvm-project/commit/af7ee51a90beeb8198ceac0100c52b102543cf4b
Author: Jeff Niu <jeff at modular.com>
Date: 2024-07-03 (Wed, 03 Jul 2024)
Changed paths:
M mlir/lib/Bytecode/Reader/BytecodeReader.cpp
A mlir/test/Bytecode/external_resources.mlir
Log Message:
-----------
[mlir][bytecode] Fix external resource bytecode parsing (#97650)
The key was being dropped for external resources because they aren't
present in the dialect resource name mapper.
Commit: eaabd762bd54dec75d8fee69f6aa1c26d1cbc68f
https://github.com/llvm/llvm-project/commit/eaabd762bd54dec75d8fee69f6aa1c26d1cbc68f
Author: Han-Chung Wang <hanhan0912 at gmail.com>
Date: 2024-07-03 (Wed, 03 Jul 2024)
Changed paths:
M mlir/lib/Dialect/Vector/Transforms/VectorTransforms.cpp
M mlir/test/Dialect/Vector/vector-transfer-flatten.mlir
Log Message:
-----------
Revert "[MLIR][Vector] Generalize DropUnitDimFromElementwiseOps to non leading / trailing dimensions." (#97652)
Reverts llvm/llvm-project#92934 because it breaks some lowering. To
repro: `mlir-opt -test-vector-transfer-flatten-patterns ~/repro.mlir`
```mlir
func.func @unit_dim_folding(%arg0: vector<1x1xf32>) -> vector<1x1xf32> {
%cst = arith.constant dense<0.000000e+00> : vector<1x1xf32>
%0 = arith.mulf %arg0, %cst : vector<1x1xf32>
return %0 : vector<1x1xf32>
}
```
Commit: d3a76b03d8f35903bc17cb85c14c9816c963cff6
https://github.com/llvm/llvm-project/commit/d3a76b03d8f35903bc17cb85c14c9816c963cff6
Author: Jon Roelofs <jonathan_roelofs at apple.com>
Date: 2024-07-03 (Wed, 03 Jul 2024)
Changed paths:
M llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
A llvm/test/Transforms/SLPVectorizer/rdar128092379.ll
Log Message:
-----------
[llvm][SLPVectorizer] Fix a bad cast assertion (#97621)
Fixes: rdar://128092379
Commit: 3eebeb7e50c49ece2788ff4d5ffab5cc6c3da455
https://github.com/llvm/llvm-project/commit/3eebeb7e50c49ece2788ff4d5ffab5cc6c3da455
Author: PiJoules <6019989+PiJoules at users.noreply.github.com>
Date: 2024-07-03 (Wed, 03 Jul 2024)
Changed paths:
M libc/src/__support/block.h
M libc/src/__support/freelist.h
M libc/src/__support/freelist_heap.h
A libc/src/stdlib/aligned_alloc.h
M libc/src/stdlib/freelist_malloc.cpp
M libc/test/src/__support/CMakeLists.txt
M libc/test/src/__support/block_test.cpp
M libc/test/src/__support/freelist_heap_test.cpp
M libc/test/src/__support/freelist_malloc_test.cpp
Log Message:
-----------
[libc] Add aligned_alloc (#96586)
This adds support for aligned_alloc with the freelist allocator. This
works by finding blocks large enough to hold the requested size plus
some shift amount that's at most the requested alignment. Blocks that
meet this requirement but aren't properly aligned can be split such that
the usable_space of a new block is aligned properly. The "padding" block
created will be merged with the previous block if one exists.
Commit: 2ef5b8227a3022654b5ef4bd7bafdc5b8750237f
https://github.com/llvm/llvm-project/commit/2ef5b8227a3022654b5ef4bd7bafdc5b8750237f
Author: Michael Jones <michaelrj at google.com>
Date: 2024-07-03 (Wed, 03 Jul 2024)
Changed paths:
M libc/docs/full_host_build.rst
Log Message:
-----------
[libc][docs] Update full host build docs (#97643)
Add a note explaining how to fix the missing `asm` folder, as well as a
warning about installing without setting a sysroot.
Commit: 4c79fac140261f67ef33e5f108df63d30cd6e3c7
https://github.com/llvm/llvm-project/commit/4c79fac140261f67ef33e5f108df63d30cd6e3c7
Author: Fangrui Song <i at maskray.me>
Date: 2024-07-03 (Wed, 03 Jul 2024)
Changed paths:
M bolt/lib/Core/BinaryContext.cpp
Log Message:
-----------
[BOLT] Remove workaround for flushPendingLabels
The code emits an empty MCDataFragment to ensure that the labels are
attached to `SplitSection`. The workaround, due to the removed
`flushPendingLabels` mechanism (see
75006466296ed4b0f845cbbec4bf77c21de43b40), is now unneeded.
Pull Request: https://github.com/llvm/llvm-project/pull/97632
Commit: f2c6add926625459ec52c9f36b29c8dd05d57c7d
https://github.com/llvm/llvm-project/commit/f2c6add926625459ec52c9f36b29c8dd05d57c7d
Author: Fangrui Song <i at maskray.me>
Date: 2024-07-03 (Wed, 03 Jul 2024)
Changed paths:
M llvm/include/llvm/MC/MCSection.h
Log Message:
-----------
[MC] Remove remnant code related to pending labels
Follow-up to 485d7eaefd93c4f6bc8c51c9a169ffb22ce3a898
Commit: 089ba1127f35fe89ff4d18cca1c87869f9eace6c
https://github.com/llvm/llvm-project/commit/089ba1127f35fe89ff4d18cca1c87869f9eace6c
Author: Kazu Hirata <kazu at google.com>
Date: 2024-07-03 (Wed, 03 Jul 2024)
Changed paths:
M llvm/lib/Linker/IRMover.cpp
Log Message:
-----------
[Linker] Use a range-based for loop (NFC) (#97656)
Commit: 665efe896746b1dd138773e6e4d300ec97de27c2
https://github.com/llvm/llvm-project/commit/665efe896746b1dd138773e6e4d300ec97de27c2
Author: PiJoules <6019989+PiJoules at users.noreply.github.com>
Date: 2024-07-03 (Wed, 03 Jul 2024)
Changed paths:
M libc/docs/dev/clang_tidy_checks.rst
M libc/docs/dev/code_style.rst
M libc/docs/dev/implementation_standard.rst
M libc/src/__support/macros/config.h
Log Message:
-----------
[libc] Add LIBC_NAMESPACE_DECL macro (#97109)
This defines to LIBC_NAMESPACE with
`__attribute__((visibility("hidden")))` so all the symbols under it have
hidden visibility. This new macro should be used when declaring a new
namespace that will have internal functions/globals and LIBC_NAMESPACE
should be used as a means of accessing functions/globals declared within
LIBC_NAMESPACE_DECL.
Commit: 94471e73fe3a6e5ddf700ed79941b1f1c8d2127b
https://github.com/llvm/llvm-project/commit/94471e73fe3a6e5ddf700ed79941b1f1c8d2127b
Author: Fangrui Song <i at maskray.me>
Date: 2024-07-03 (Wed, 03 Jul 2024)
Changed paths:
M llvm/include/llvm/MC/MCAssembler.h
M llvm/include/llvm/MC/MCSymbolMachO.h
M llvm/lib/MC/MCAssembler.cpp
M llvm/lib/MC/MCMachOStreamer.cpp
M llvm/lib/MC/MachObjectWriter.cpp
Log Message:
-----------
[MC] Move MCAssembler::isSymbolLinkerVisible to MCSymbolMachO
Commit: a0c6b8aef853eedaa0980f07c0a502a5a8a9740e
https://github.com/llvm/llvm-project/commit/a0c6b8aef853eedaa0980f07c0a502a5a8a9740e
Author: Maksim Panchenko <maks at fb.com>
Date: 2024-07-03 (Wed, 03 Jul 2024)
Changed paths:
M bolt/docs/OptimizingLinux.md
Log Message:
-----------
[BOLT][docs] Add merge-fdata to Linux optimization guide (#97659)
Commit: 73f5f83b192b0a27f7edae5365c247961d9f1bd9
https://github.com/llvm/llvm-project/commit/73f5f83b192b0a27f7edae5365c247961d9f1bd9
Author: Haohai Wen <haohai.wen at intel.com>
Date: 2024-07-04 (Thu, 04 Jul 2024)
Changed paths:
M llvm/include/llvm/CodeGen/AsmPrinter.h
M llvm/include/llvm/CodeGen/MachineBasicBlock.h
M llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp
M llvm/lib/CodeGen/AsmPrinter/DwarfCompileUnit.cpp
M llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
M llvm/lib/CodeGen/AsmPrinter/EHStreamer.cpp
Log Message:
-----------
[BasicBlockSections] Using MBBSectionID as DenseMap key (#97295)
getSectionIDNum may return same value for two different MBBSectionID.
e.g. A Cold type MBBSectionID with number 0 and a Default type
MBBSectionID with number 2 get same value 2 from getSectionIDNum. This
may lead to overwrite of MBBSectionRanges. Using MBBSectionID itself
as DenseMap key is better choice.
Commit: 507b0f6714ec94e286d8c1ef16f871e1b1564426
https://github.com/llvm/llvm-project/commit/507b0f6714ec94e286d8c1ef16f871e1b1564426
Author: Ahmed Bougacha <ahmed at bougacha.org>
Date: 2024-07-03 (Wed, 03 Jul 2024)
Changed paths:
M llvm/test/CodeGen/AArch64/ptrauth-call.ll
Log Message:
-----------
[AArch64] Clean up ptrauth-call test a bit. NFC.
The test was recently committed, but was written so long ago that it
still had typed pointers. Switch them to opaque ptrs. While there,
tidy up some formatting, and turn a couple CHECKs into CHECK-NEXT.
Commit: ac2013560505f7c85a9d9061ea705124d6681719
https://github.com/llvm/llvm-project/commit/ac2013560505f7c85a9d9061ea705124d6681719
Author: Luke Lau <luke at igalia.com>
Date: 2024-07-04 (Thu, 04 Jul 2024)
Changed paths:
M llvm/lib/Target/RISCV/RISCVInstrInfo.cpp
M llvm/lib/Target/RISCV/RISCVInstrInfo.h
M llvm/lib/Target/RISCV/RISCVInstrInfoVPseudos.td
A llvm/test/CodeGen/RISCV/rvv/remat.ll
Log Message:
-----------
[RISCV] Rematerialize vid.v (#97520)
This adds initial support for rematerializing vector instructions,
starting with vid.v since it's simple and has the least number of
operands. It has one passthru operand which we need to check is
undefined. It also has an AVL operand, but it's fine to rematerialize
with it because it's scalar and register allocation is split between
vector and scalar.
RISCVInsertVSETVLI can still happen before vector regalloc if
-riscv-vsetvl-after-rvv-regalloc is false, so this makes sure that we
only rematerialize after regalloc by checking for the implicit uses that
are added.
Commit: 32f7672acc92d6b3d9b64cfeb9b25c31ae542337
https://github.com/llvm/llvm-project/commit/32f7672acc92d6b3d9b64cfeb9b25c31ae542337
Author: jyu2-git <jennifer.yu at intel.com>
Date: 2024-07-03 (Wed, 03 Jul 2024)
Changed paths:
M clang/lib/CodeGen/CGOpenMPRuntime.cpp
M clang/test/OpenMP/target_data_use_device_addr_codegen.cpp
M clang/test/OpenMP/target_map_both_pointer_pointee_codegen.cpp
M offload/test/mapping/map_both_pointer_pointee.c
Log Message:
-----------
[Clang][OpenMP] This is addition fix for #92210. (#94802)
Fix another runtime problem when explicit map both pointer and pointee
in target data region.
In #92210, problem is only addressed in target region, but missing for
target data region.
The change just passing AreBothBasePtrAndPteeMapped in
generateInfoForComponentList when processing target data.
---------
Co-authored-by: Alexey Bataev <a.bataev at gmx.com>
Commit: 8ce1aed55f3dbb71406dc6feaed3f162ac183d21
https://github.com/llvm/llvm-project/commit/8ce1aed55f3dbb71406dc6feaed3f162ac183d21
Author: Slava Zakharin <szakharin at nvidia.com>
Date: 2024-07-03 (Wed, 03 Jul 2024)
Changed paths:
M flang/include/flang/Optimizer/Support/Utils.h
M flang/include/flang/Runtime/matmul-instances.inc
M flang/include/flang/Runtime/matmul-transpose.h
M flang/include/flang/Runtime/matmul.h
M flang/lib/Optimizer/Builder/IntrinsicCall.cpp
M flang/lib/Optimizer/Builder/Runtime/Transformational.cpp
M flang/runtime/matmul-transpose.cpp
M flang/runtime/matmul.cpp
M flang/test/HLFIR/matmul-lowering.fir
M flang/test/HLFIR/mul_transpose.f90
M flang/test/Lower/Intrinsics/matmul.f90
M flang/unittests/Optimizer/Builder/Runtime/RuntimeCallTestBase.h
M flang/unittests/Optimizer/Builder/Runtime/TransformationalTest.cpp
M flang/unittests/Runtime/Matmul.cpp
M flang/unittests/Runtime/MatmulTranspose.cpp
Log Message:
-----------
[flang] Lower MATMUL to type specific runtime calls. (#97547)
Lower MATMUL to the new runtime entries added in #97406.
Commit: e75d8d16764d30456f849549ca74936ccde1afe6
https://github.com/llvm/llvm-project/commit/e75d8d16764d30456f849549ca74936ccde1afe6
Author: Vikram <Vikram.Hegde at amd.com>
Date: 2024-07-04 (Thu, 04 Jul 2024)
Changed paths:
M bolt/docs/CommandLineArgumentReference.md
M bolt/docs/OptimizingLinux.md
M bolt/include/bolt/Core/BinaryBasicBlock.h
M bolt/include/bolt/Core/BinaryContext.h
M bolt/include/bolt/Core/BinaryFunction.h
M bolt/include/bolt/Core/DebugData.h
M bolt/include/bolt/Core/MCPlusBuilder.h
M bolt/include/bolt/Profile/YAMLProfileReader.h
M bolt/include/bolt/Rewrite/DWARFRewriter.h
M bolt/lib/Core/BinaryBasicBlock.cpp
M bolt/lib/Core/BinaryContext.cpp
M bolt/lib/Core/BinaryEmitter.cpp
M bolt/lib/Core/BinaryFunction.cpp
M bolt/lib/Core/DebugData.cpp
M bolt/lib/Passes/BinaryPasses.cpp
M bolt/lib/Profile/CMakeLists.txt
M bolt/lib/Profile/YAMLProfileReader.cpp
M bolt/lib/Rewrite/DWARFRewriter.cpp
M bolt/lib/Rewrite/RewriteInstance.cpp
M bolt/lib/Target/AArch64/AArch64MCPlusBuilder.cpp
M bolt/lib/Target/X86/X86MCPlusBuilder.cpp
M bolt/test/X86/debug-fission-single-convert.s
M bolt/test/X86/dwarf4-df-dualcu.test
M bolt/test/X86/dwarf4-df-input-lowpc-ranges-cus.test
M bolt/test/X86/dwarf4-df-input-lowpc-ranges.test
A bolt/test/X86/name-similarity-function-matching.test
M clang-tools-extra/clangd/index/remote/server/Server.cpp
M clang-tools-extra/clangd/tool/ClangdMain.cpp
M clang/docs/ReleaseNotes.rst
M clang/include/clang/AST/Redeclarable.h
M clang/include/clang/Basic/CodeGenOptions.def
M clang/include/clang/Basic/DiagnosticDriverKinds.td
M clang/include/clang/Basic/DiagnosticSemaKinds.td
M clang/include/clang/Driver/Options.td
M clang/lib/AST/ASTContext.cpp
M clang/lib/AST/Interp/Compiler.cpp
M clang/lib/AST/Interp/Interp.h
M clang/lib/AST/Interp/Pointer.cpp
M clang/lib/AST/Interp/Pointer.h
M clang/lib/Basic/Targets/PPC.cpp
M clang/lib/CodeGen/BackendUtil.cpp
M clang/lib/CodeGen/CGBuiltin.cpp
M clang/lib/CodeGen/CGOpenMPRuntime.cpp
M clang/lib/CodeGen/CodeGenModule.cpp
M clang/lib/Driver/ToolChains/AMDGPUOpenMP.cpp
M clang/lib/Driver/ToolChains/Clang.cpp
M clang/lib/Driver/ToolChains/CommonArgs.cpp
M clang/lib/Driver/ToolChains/CommonArgs.h
M clang/lib/Driver/ToolChains/Flang.cpp
M clang/lib/Frontend/Rewrite/RewriteModernObjC.cpp
M clang/lib/Headers/amxcomplexintrin.h
M clang/lib/Headers/float.h
M clang/lib/Headers/ia32intrin.h
M clang/lib/Interpreter/Interpreter.cpp
M clang/lib/Sema/CheckExprLifetime.cpp
M clang/lib/Sema/SemaExpr.cpp
M clang/lib/Sema/SemaHLSL.cpp
M clang/lib/Sema/SemaOpenMP.cpp
M clang/lib/Sema/SemaType.cpp
M clang/lib/Sema/TreeTransform.h
M clang/lib/StaticAnalyzer/Checkers/CheckObjCDealloc.cpp
M clang/lib/StaticAnalyzer/Checkers/RetainCountChecker/RetainCountDiagnostics.cpp
M clang/lib/StaticAnalyzer/Core/ExprEngine.cpp
M clang/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp
M clang/lib/StaticAnalyzer/Core/SVals.cpp
M clang/test/AST/Interp/literals.cpp
A clang/test/C/C23/Inputs/bits.bin
A clang/test/C/C23/Inputs/boop.h
A clang/test/C/C23/Inputs/i.dat
A clang/test/C/C23/Inputs/jump.wav
A clang/test/C/C23/Inputs/s.dat
A clang/test/C/C23/n2322.c
A clang/test/C/C23/n2350.c
A clang/test/C/C23/n2359.c
A clang/test/C/C23/n2508.c
A clang/test/C/C23/n2549.c
A clang/test/C/C23/n2607.c
A clang/test/C/C23/n2670.c
A clang/test/C/C23/n2683.c
A clang/test/C/C23/n2683_2.c
A clang/test/C/C23/n2819.c
A clang/test/C/C23/n2826.c
A clang/test/C/C23/n2836_n2939.c
A clang/test/C/C23/n2838.c
A clang/test/C/C23/n2886.c
A clang/test/C/C23/n2900_n3011.c
A clang/test/C/C23/n2900_n3011_2.c
A clang/test/C/C23/n2927.c
A clang/test/C/C23/n2927_2.c
A clang/test/C/C23/n2930.c
A clang/test/C/C23/n2934.c
A clang/test/C/C23/n2940.c
A clang/test/C/C23/n2975.c
A clang/test/C/C23/n3007.c
A clang/test/C/C23/n3017.c
A clang/test/C/C23/n3018.c
A clang/test/C/C23/n3033.c
A clang/test/C/C23/n3033_2.c
A clang/test/C/C23/n3035.c
A clang/test/C/C23/n3042.c
R clang/test/C/C2x/Inputs/bits.bin
R clang/test/C/C2x/Inputs/boop.h
R clang/test/C/C2x/Inputs/i.dat
R clang/test/C/C2x/Inputs/jump.wav
R clang/test/C/C2x/Inputs/s.dat
R clang/test/C/C2x/n2322.c
R clang/test/C/C2x/n2350.c
R clang/test/C/C2x/n2359.c
R clang/test/C/C2x/n2508.c
R clang/test/C/C2x/n2549.c
R clang/test/C/C2x/n2607.c
R clang/test/C/C2x/n2670.c
R clang/test/C/C2x/n2683.c
R clang/test/C/C2x/n2683_2.c
R clang/test/C/C2x/n2819.c
R clang/test/C/C2x/n2826.c
R clang/test/C/C2x/n2836_n2939.c
R clang/test/C/C2x/n2838.c
R clang/test/C/C2x/n2886.c
R clang/test/C/C2x/n2900_n3011.c
R clang/test/C/C2x/n2900_n3011_2.c
R clang/test/C/C2x/n2927.c
R clang/test/C/C2x/n2927_2.c
R clang/test/C/C2x/n2930.c
R clang/test/C/C2x/n2934.c
R clang/test/C/C2x/n2940.c
R clang/test/C/C2x/n2975.c
R clang/test/C/C2x/n3007.c
R clang/test/C/C2x/n3017.c
R clang/test/C/C2x/n3018.c
R clang/test/C/C2x/n3033.c
R clang/test/C/C2x/n3033_2.c
R clang/test/C/C2x/n3035.c
R clang/test/C/C2x/n3042.c
A clang/test/C/C2y/n3259.c
A clang/test/C/C2y/n3273.c
M clang/test/C/C99/n809.c
A clang/test/CXX/dcl.dcl/dcl.spec/dcl.type/dcl.spec.auto/p5-cxx14.cpp
A clang/test/CXX/expr/expr.prim/expr.prim.id/expr.prim.id.general/p4.cpp
M clang/test/CodeGen/no-skipped-passes-O0-opt-bisect.c
A clang/test/CodeGen/nsan-basic.c
M clang/test/CodeGen/sanitizer-module-constructor.c
M clang/test/CodeGenCXX/atomicinit.cpp
A clang/test/CodeGenOpenCLCXX/version.clcpp
M clang/test/Driver/amdgpu-openmp-toolchain.c
A clang/test/Driver/crel.c
M clang/test/Driver/riscv-arch.c
M clang/test/Driver/sanitizer-ld.c
M clang/test/Headers/float.c
M clang/test/Index/annotate-comments.cpp
A clang/test/Misc/cc1as-crel.s
M clang/test/Misc/warning-flags.c
M clang/test/OpenMP/target_data_use_device_addr_codegen.cpp
M clang/test/OpenMP/target_map_both_pointer_pointee_codegen.cpp
M clang/test/Sema/complex-inc-dec.c
M clang/test/SemaCXX/warn-dangling-local.cpp
M clang/test/SemaHLSL/Availability/avail-diag-default-lib.hlsl
M clang/test/SemaHLSL/Availability/avail-diag-relaxed-lib.hlsl
M clang/test/SemaHLSL/Availability/avail-diag-strict-lib.hlsl
M clang/tools/driver/cc1as_main.cpp
M clang/unittests/AST/DeclTest.cpp
M clang/unittests/Interpreter/InterpreterTest.cpp
M clang/www/c_status.html
M clang/www/cxx_status.html
M compiler-rt/test/asan/TestCases/printf-5.c
M flang/include/flang/Frontend/CodeGenOptions.h
M flang/include/flang/Optimizer/Builder/FIRBuilder.h
M flang/include/flang/Optimizer/Dialect/FIROps.td
M flang/include/flang/Optimizer/Support/InternalNames.h
M flang/include/flang/Optimizer/Support/Utils.h
A flang/include/flang/Runtime/matmul-instances.inc
M flang/include/flang/Runtime/matmul-transpose.h
M flang/include/flang/Runtime/matmul.h
M flang/lib/Evaluate/intrinsics-library.cpp
M flang/lib/Frontend/CodeGenOptions.cpp
M flang/lib/Frontend/CompilerInstance.cpp
M flang/lib/Frontend/CompilerInvocation.cpp
M flang/lib/Frontend/FrontendActions.cpp
M flang/lib/Lower/Bridge.cpp
M flang/lib/Lower/OpenACC.cpp
M flang/lib/Lower/OpenMP/OpenMP.cpp
M flang/lib/Optimizer/Builder/FIRBuilder.cpp
M flang/lib/Optimizer/Builder/IntrinsicCall.cpp
M flang/lib/Optimizer/Builder/Runtime/Transformational.cpp
M flang/lib/Optimizer/Dialect/FIROps.cpp
M flang/lib/Optimizer/Support/CMakeLists.txt
M flang/lib/Optimizer/Support/InternalNames.cpp
A flang/lib/Optimizer/Support/Utils.cpp
M flang/lib/Optimizer/Transforms/StackReclaim.cpp
M flang/runtime/matmul-transpose.cpp
M flang/runtime/matmul.cpp
M flang/runtime/time-intrinsic.cpp
A flang/test/Driver/large-data-threshold.f90
A flang/test/Driver/mcmodel.f90
M flang/test/Driver/target-cpu-features.f90
M flang/test/Evaluate/folding04.f90
M flang/test/Fir/fir-ops.fir
M flang/test/HLFIR/matmul-lowering.fir
M flang/test/HLFIR/mul_transpose.f90
A flang/test/Lower/HLFIR/type-info-components.f90
M flang/test/Lower/Intrinsics/matmul.f90
M flang/test/Lower/OpenACC/acc-data.f90
M flang/test/Lower/OpenACC/acc-enter-data.f90
M flang/test/Lower/OpenACC/acc-exit-data.f90
M flang/test/Lower/OpenACC/acc-parallel.f90
M flang/test/Lower/OpenACC/acc-serial.f90
M flang/test/Lower/OpenACC/acc-update.f90
A flang/test/Lower/OpenMP/declare-target-unnamed-main.f90
A flang/test/Lower/large-data-threshold.f90
A flang/test/Lower/mcmodel.f90
M flang/test/Runtime/no-cpp-dep.c
M flang/test/Transforms/stack-reclaime.fir
M flang/unittests/Optimizer/Builder/Runtime/RuntimeCallTestBase.h
M flang/unittests/Optimizer/Builder/Runtime/TransformationalTest.cpp
M flang/unittests/Runtime/Matmul.cpp
M flang/unittests/Runtime/MatmulTranspose.cpp
M libc/CMakeLists.txt
M libc/cmake/modules/CheckCompilerFeatures.cmake
M libc/cmake/modules/LLVMLibCCompileOptionRules.cmake
M libc/config/darwin/arm/entrypoints.txt
M libc/config/linux/aarch64/entrypoints.txt
M libc/config/linux/arm/entrypoints.txt
M libc/config/linux/riscv/entrypoints.txt
M libc/config/linux/x86_64/entrypoints.txt
M libc/docs/build_and_test.rst
M libc/docs/dev/clang_tidy_checks.rst
M libc/docs/dev/code_style.rst
M libc/docs/dev/implementation_standard.rst
M libc/docs/full_host_build.rst
M libc/docs/math/index.rst
A libc/newhdrgen/CMakeLists.txt
M libc/newhdrgen/class_implementation/classes/enumeration.py
M libc/newhdrgen/class_implementation/classes/function.py
M libc/newhdrgen/class_implementation/classes/object.py
M libc/newhdrgen/header.py
A libc/newhdrgen/tests/expected_output/test_header.h
A libc/newhdrgen/tests/input/test_small.h.def
A libc/newhdrgen/tests/input/test_small.yaml
A libc/newhdrgen/tests/output/test_small.h
A libc/newhdrgen/tests/test_integration.py
A libc/newhdrgen/yaml/ctype.yaml
A libc/newhdrgen/yaml/fenv.yaml
A libc/newhdrgen/yaml/math.yaml
A libc/newhdrgen/yaml/pthread.yaml
A libc/newhdrgen/yaml/sched.yaml
A libc/newhdrgen/yaml/signal.yaml
A libc/newhdrgen/yaml/stdfix.yaml
A libc/newhdrgen/yaml/stdio.yaml
A libc/newhdrgen/yaml/stdlib.yaml
A libc/newhdrgen/yaml/string.yaml
A libc/newhdrgen/yaml/strings.yaml
M libc/newhdrgen/yaml/sys_auxv.yaml
A libc/newhdrgen/yaml/sys_mman.yaml
M libc/newhdrgen/yaml/sys_types.yaml
A libc/newhdrgen/yaml/sys_wait.yaml
A libc/newhdrgen/yaml/time.yaml
R libc/newhdrgen/yaml_combined/ctype.yaml
R libc/newhdrgen/yaml_combined/fenv.yaml
R libc/newhdrgen/yaml_combined/math.yaml
R libc/newhdrgen/yaml_combined/pthread.yaml
R libc/newhdrgen/yaml_combined/sched.yaml
R libc/newhdrgen/yaml_combined/signal.yaml
R libc/newhdrgen/yaml_combined/stdfix.yaml
R libc/newhdrgen/yaml_combined/stdio.yaml
R libc/newhdrgen/yaml_combined/stdlib.yaml
R libc/newhdrgen/yaml_combined/string.yaml
R libc/newhdrgen/yaml_combined/strings.yaml
R libc/newhdrgen/yaml_combined/sys_mman.yaml
R libc/newhdrgen/yaml_combined/sys_wait.yaml
R libc/newhdrgen/yaml_combined/time.yaml
M libc/newhdrgen/yaml_to_classes.py
M libc/spec/gnu_ext.td
M libc/spec/llvm_libc_ext.td
M libc/spec/stdc.td
M libc/src/__support/FPUtil/double_double.h
M libc/src/__support/FPUtil/generic/CMakeLists.txt
A libc/src/__support/FPUtil/generic/add_sub.h
M libc/src/__support/block.h
M libc/src/__support/freelist.h
M libc/src/__support/freelist_heap.h
M libc/src/__support/macros/config.h
M libc/src/math/CMakeLists.txt
A libc/src/math/f16add.h
A libc/src/math/f16addf.h
A libc/src/math/f16addf128.h
A libc/src/math/f16addl.h
A libc/src/math/f16sub.h
A libc/src/math/f16subf.h
A libc/src/math/f16subf128.h
A libc/src/math/f16subl.h
M libc/src/math/generic/CMakeLists.txt
A libc/src/math/generic/f16add.cpp
A libc/src/math/generic/f16addf.cpp
A libc/src/math/generic/f16addf128.cpp
A libc/src/math/generic/f16addl.cpp
A libc/src/math/generic/f16sub.cpp
A libc/src/math/generic/f16subf.cpp
A libc/src/math/generic/f16subf128.cpp
A libc/src/math/generic/f16subl.cpp
A libc/src/math/generic/tan.cpp
R libc/src/math/x86_64/CMakeLists.txt
R libc/src/math/x86_64/tan.cpp
A libc/src/stdlib/aligned_alloc.h
M libc/src/stdlib/freelist_malloc.cpp
M libc/test/src/__support/CMakeLists.txt
M libc/test/src/__support/block_test.cpp
M libc/test/src/__support/freelist_heap_test.cpp
M libc/test/src/__support/freelist_malloc_test.cpp
A libc/test/src/math/AddTest.h
M libc/test/src/math/CMakeLists.txt
A libc/test/src/math/SubTest.h
A libc/test/src/math/f16add_test.cpp
A libc/test/src/math/f16addf_test.cpp
A libc/test/src/math/f16addl_test.cpp
A libc/test/src/math/f16sub_test.cpp
A libc/test/src/math/f16subf_test.cpp
A libc/test/src/math/f16subl_test.cpp
A libc/test/src/math/smoke/AddTest.h
M libc/test/src/math/smoke/CMakeLists.txt
A libc/test/src/math/smoke/SubTest.h
A libc/test/src/math/smoke/f16add_test.cpp
A libc/test/src/math/smoke/f16addf128_test.cpp
A libc/test/src/math/smoke/f16addf_test.cpp
A libc/test/src/math/smoke/f16addl_test.cpp
A libc/test/src/math/smoke/f16sub_test.cpp
A libc/test/src/math/smoke/f16subf128_test.cpp
A libc/test/src/math/smoke/f16subf_test.cpp
A libc/test/src/math/smoke/f16subl_test.cpp
A libc/test/src/math/smoke/tan_test.cpp
M libc/test/src/math/tan_test.cpp
M libc/utils/MPFRWrapper/MPFRUtils.cpp
M libc/utils/MPFRWrapper/MPFRUtils.h
M libclc/CMakeLists.txt
M libclc/cmake/modules/AddLibclc.cmake
M libcxx/include/__exception/nested_exception.h
A libcxx/test/libcxx/utilities/utility/pairs/pairs.pair/pair.incomplete.compile.pass.cpp
M libcxx/test/std/language.support/support.exception/except.nested/rethrow_if_nested.pass.cpp
M libcxx/utils/ci/Dockerfile
M libunwind/src/UnwindCursor.hpp
M lld/Common/Version.cpp
M lld/ELF/Arch/RISCV.cpp
M lld/ELF/Driver.cpp
M lld/ELF/LTO.cpp
M lld/ELF/LinkerScript.cpp
M lld/ELF/LinkerScript.h
M lld/ELF/Options.td
M lld/ELF/Writer.cpp
M lld/MachO/ObjC.cpp
M lld/MinGW/Driver.cpp
M lld/test/ELF/as-needed-no-reloc.s
M lld/test/ELF/as-needed.s
M lld/test/ELF/auxiliary.s
M lld/test/ELF/basic-freebsd.s
M lld/test/ELF/dynamic-reloc.s
M lld/test/ELF/filter.s
M lld/test/ELF/gc-sections-shared.s
M lld/test/ELF/gnu-property-align-32.s
M lld/test/ELF/gnu-property-align.s
A lld/test/ELF/linkerscript/empty-preinit-array-start-stop.test
A lld/test/ELF/linkerscript/empty-section-start-stop.test
R lld/test/ELF/linkerscript/preinit-array-empty.test
M lld/test/ELF/linkerscript/sections-gc2.s
M lld/test/ELF/lto/emit-llvm.ll
M lld/test/ELF/no-soname.s
M lld/test/ELF/partition-notes.s
M lld/test/ELF/partition-synthetic-sections.s
M lld/test/ELF/pre_init_fini_array_missing.s
M lld/test/ELF/push-state.s
M lld/test/ELF/shared-ppc64.s
M lld/test/ELF/shared.s
M lld/test/ELF/soname.s
M lld/test/ELF/soname2.s
M lld/test/ELF/version.test
M lld/test/ELF/wrap-drop-shared-original.s
A lld/test/MachO/objc-category-merging-swift.s
M lld/test/MinGW/driver.test
A lld/test/wasm/import-table-explicit.s
A lld/test/wasm/import-table.s
R lld/test/wasm/import-table.test
M lld/test/wasm/unresolved-symbols.s
M lld/wasm/Relocations.cpp
M lld/wasm/SymbolTable.cpp
M lldb/bindings/python/CMakeLists.txt
M lldb/bindings/python/python-wrapper.swig
M lldb/docs/CMakeLists.txt
M lldb/docs/index.rst
A lldb/docs/python_extensions.rst
M lldb/docs/use/python-reference.rst
M lldb/examples/python/cmdtemplate.py
M lldb/examples/python/templates/operating_system.py
M lldb/examples/python/templates/scripted_platform.py
M lldb/examples/python/templates/scripted_process.py
A lldb/examples/python/templates/scripted_thread_plan.py
M lldb/include/lldb/Interpreter/CommandObject.h
M lldb/include/lldb/Interpreter/ScriptInterpreter.h
M lldb/include/lldb/Target/Platform.h
M lldb/include/lldb/Utility/Broadcaster.h
M lldb/source/API/SBThread.cpp
M lldb/source/Commands/CommandObjectCommands.cpp
M lldb/source/Commands/CommandObjectThread.cpp
M lldb/source/Plugins/Language/CPlusPlus/LibCxxMap.cpp
M lldb/source/Plugins/Process/Utility/RegisterFlagsDetector_arm64.cpp
M lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerLLGS.cpp
M lldb/source/Plugins/ScriptInterpreter/Python/SWIGPythonBridge.h
M lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp
M lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPythonImpl.h
M lldb/source/Plugins/TypeSystem/Clang/TypeSystemClang.cpp
M lldb/source/Target/Platform.cpp
M lldb/source/Utility/Broadcaster.cpp
M lldb/source/Utility/Listener.cpp
M lldb/test/API/commands/command/script/add/TestAddParsedCommand.py
M lldb/test/API/commands/command/script/add/test_commands.py
A lldb/test/API/commands/expression/bitfield_enums/Makefile
A lldb/test/API/commands/expression/bitfield_enums/TestBitfieldEnums.py
A lldb/test/API/commands/expression/bitfield_enums/main.cpp
M lldb/test/API/commands/register/register/register_command/TestRegisters.py
M lldb/test/API/functionalities/postmortem/elf-core/TestLinuxCore.py
M lldb/test/API/linux/aarch64/mte_core_file/TestAArch64LinuxMTEMemoryTagCoreFile.py
M lldb/test/API/python_api/thread/TestThreadAPI.py
M lldb/test/API/python_api/thread/main.cpp
M lldb/test/Shell/Register/Core/aarch64-freebsd-register-fields.test
M lldb/test/Shell/SymbolFile/DWARF/x86/debug-types-missing-signature.test
M lldb/unittests/ScriptInterpreter/Python/PythonTestSuite.cpp
M lldb/unittests/Utility/ListenerTest.cpp
M lldb/unittests/ValueObject/DumpValueObjectOptionsTests.cpp
M llvm/docs/LangRef.rst
A llvm/docs/RISCV/RISCVVectorExtension.rst
M llvm/docs/ReleaseNotes.rst
M llvm/docs/UserGuides.rst
M llvm/include/llvm/Analysis/LazyValueInfo.h
M llvm/include/llvm/Analysis/MLInlineAdvisor.h
M llvm/include/llvm/Analysis/ScalarEvolution.h
M llvm/include/llvm/Analysis/ValueTracking.h
M llvm/include/llvm/CodeGen/AsmPrinter.h
M llvm/include/llvm/CodeGen/MachineBasicBlock.h
M llvm/include/llvm/CodeGen/MachinePipeliner.h
M llvm/include/llvm/IR/ConstantRange.h
M llvm/include/llvm/IR/IRBuilder.h
M llvm/include/llvm/IR/Instructions.h
M llvm/include/llvm/IR/IntrinsicsRISCVXCV.td
M llvm/include/llvm/IR/PassManagerImpl.h
M llvm/include/llvm/MC/MCAssembler.h
M llvm/include/llvm/MC/MCSection.h
M llvm/include/llvm/MC/MCSectionELF.h
M llvm/include/llvm/MC/MCSectionMachO.h
M llvm/include/llvm/MC/MCSymbolMachO.h
M llvm/include/llvm/ProfileData/InstrProf.h
M llvm/include/llvm/SandboxIR/SandboxIR.h
M llvm/include/llvm/SandboxIR/SandboxIRValues.def
M llvm/include/llvm/Support/RISCVAttributeParser.h
M llvm/include/llvm/Support/RISCVAttributes.h
M llvm/include/llvm/Support/raw_ostream.h
M llvm/include/llvm/Target/GlobalISel/Combine.td
M llvm/include/llvm/TargetParser/PPCTargetParser.def
M llvm/include/llvm/TargetParser/RISCVISAInfo.h
M llvm/include/llvm/Transforms/IPO/FunctionImport.h
M llvm/include/llvm/Transforms/Utils/SplitModule.h
M llvm/include/llvm/Transforms/Vectorize/LoopIdiomVectorize.h
M llvm/include/llvm/Transforms/Vectorize/SLPVectorizer.h
M llvm/lib/Analysis/LazyValueInfo.cpp
M llvm/lib/Analysis/MLInlineAdvisor.cpp
M llvm/lib/Analysis/ScalarEvolution.cpp
M llvm/lib/Analysis/ValueTracking.cpp
M llvm/lib/AsmParser/LLParser.cpp
M llvm/lib/CodeGen/AggressiveAntiDepBreaker.cpp
M llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp
M llvm/lib/CodeGen/AsmPrinter/DwarfCompileUnit.cpp
M llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
M llvm/lib/CodeGen/AsmPrinter/EHStreamer.cpp
M llvm/lib/CodeGen/AssignmentTrackingAnalysis.cpp
M llvm/lib/CodeGen/GlobalISel/CombinerHelper.cpp
M llvm/lib/CodeGen/GlobalISel/IRTranslator.cpp
M llvm/lib/CodeGen/MachinePipeliner.cpp
M llvm/lib/CodeGen/PHIElimination.cpp
M llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
M llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
M llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
M llvm/lib/IR/ConstantRange.cpp
M llvm/lib/IR/DIBuilder.cpp
M llvm/lib/IR/Instructions.cpp
M llvm/lib/IR/LegacyPassManager.cpp
M llvm/lib/LTO/LTO.cpp
M llvm/lib/Linker/IRMover.cpp
M llvm/lib/MC/ELFObjectWriter.cpp
M llvm/lib/MC/MCAssembler.cpp
M llvm/lib/MC/MCMachOStreamer.cpp
M llvm/lib/MC/MCParser/AsmParser.cpp
M llvm/lib/MC/MCParser/MasmParser.cpp
M llvm/lib/MC/MachObjectWriter.cpp
M llvm/lib/ProfileData/InstrProf.cpp
M llvm/lib/ProfileData/InstrProfWriter.cpp
M llvm/lib/SandboxIR/SandboxIR.cpp
M llvm/lib/Support/JSON.cpp
M llvm/lib/Support/LockFileManager.cpp
M llvm/lib/Support/RISCVAttributeParser.cpp
M llvm/lib/Support/RISCVAttributes.cpp
M llvm/lib/Support/Unix/Signals.inc
M llvm/lib/Support/raw_ostream.cpp
M llvm/lib/TableGen/Main.cpp
M llvm/lib/TableGen/SetTheory.cpp
M llvm/lib/Target/AArch64/AArch64FrameLowering.cpp
M llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
M llvm/lib/Target/AArch64/GISel/AArch64LegalizerInfo.cpp
M llvm/lib/Target/AMDGPU/AMDGPUAtomicOptimizer.cpp
M llvm/lib/Target/AMDGPU/AMDGPUCodeGenPrepare.cpp
M llvm/lib/Target/AMDGPU/AMDGPUISelLowering.cpp
M llvm/lib/Target/AMDGPU/AMDGPULateCodeGenPrepare.cpp
M llvm/lib/Target/AMDGPU/AMDGPULegalizerInfo.cpp
M llvm/lib/Target/AMDGPU/AMDGPUTargetMachine.cpp
M llvm/lib/Target/PowerPC/PPCInstrInfo.cpp
M llvm/lib/Target/RISCV/CMakeLists.txt
M llvm/lib/Target/RISCV/MCTargetDesc/RISCVTargetStreamer.cpp
M llvm/lib/Target/RISCV/RISCVISelLowering.cpp
M llvm/lib/Target/RISCV/RISCVInsertVSETVLI.cpp
M llvm/lib/Target/RISCV/RISCVInstrInfo.cpp
M llvm/lib/Target/RISCV/RISCVInstrInfo.h
M llvm/lib/Target/RISCV/RISCVInstrInfoVPseudos.td
M llvm/lib/Target/RISCV/RISCVInstrInfoXCV.td
M llvm/lib/Target/RISCV/RISCVTargetMachine.cpp
M llvm/lib/Target/RISCV/RISCVTargetMachine.h
M llvm/lib/Target/RISCV/RISCVTargetTransformInfo.h
M llvm/lib/Target/SPIRV/SPIRVBuiltins.cpp
M llvm/lib/Target/SPIRV/SPIRVBuiltins.h
M llvm/lib/Target/SPIRV/SPIRVEmitIntrinsics.cpp
M llvm/lib/Target/SPIRV/SPIRVGlobalRegistry.cpp
M llvm/lib/Target/SPIRV/SPIRVISelLowering.cpp
M llvm/lib/Target/Sparc/MCTargetDesc/SparcAsmBackend.cpp
M llvm/lib/Target/Sparc/MCTargetDesc/SparcELFObjectWriter.cpp
M llvm/lib/Target/Sparc/MCTargetDesc/SparcMCTargetDesc.h
M llvm/lib/Target/X86/GISel/X86CallLowering.cpp
M llvm/lib/Target/X86/X86ISelLowering.cpp
M llvm/lib/Target/X86/X86InstCombineIntrinsic.cpp
M llvm/lib/TargetParser/RISCVISAInfo.cpp
M llvm/lib/Transforms/IPO/Attributor.cpp
M llvm/lib/Transforms/IPO/DeadArgumentElimination.cpp
M llvm/lib/Transforms/IPO/FunctionImport.cpp
M llvm/lib/Transforms/InstCombine/InstCombineAndOrXor.cpp
M llvm/lib/Transforms/InstCombine/InstCombineCalls.cpp
M llvm/lib/Transforms/InstCombine/InstCombineSelect.cpp
M llvm/lib/Transforms/InstCombine/InstCombineVectorOps.cpp
M llvm/lib/Transforms/InstCombine/InstructionCombining.cpp
M llvm/lib/Transforms/Instrumentation/MemorySanitizer.cpp
M llvm/lib/Transforms/Scalar/CorrelatedValuePropagation.cpp
M llvm/lib/Transforms/Scalar/InferAddressSpaces.cpp
M llvm/lib/Transforms/Scalar/LoopDistribute.cpp
M llvm/lib/Transforms/Scalar/Scalarizer.cpp
M llvm/lib/Transforms/Utils/AMDGPUEmitPrintf.cpp
M llvm/lib/Transforms/Utils/InlineFunction.cpp
M llvm/lib/Transforms/Utils/Local.cpp
M llvm/lib/Transforms/Utils/LoopSimplify.cpp
M llvm/lib/Transforms/Utils/LowerMemIntrinsics.cpp
M llvm/lib/Transforms/Utils/PromoteMemoryToRegister.cpp
M llvm/lib/Transforms/Utils/SimplifyCFG.cpp
M llvm/lib/Transforms/Utils/SimplifyIndVar.cpp
M llvm/lib/Transforms/Utils/SplitModule.cpp
M llvm/lib/Transforms/Vectorize/LoopIdiomVectorize.cpp
M llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
M llvm/test/Bitcode/upgrade-memory-intrinsics.ll
M llvm/test/CodeGen/AArch64/GlobalISel/combine-shufflevector.mir
M llvm/test/CodeGen/AArch64/GlobalISel/form-bitfield-extract-from-and.mir
M llvm/test/CodeGen/AArch64/machine-outliner-retaddr-sign-cfi.ll
M llvm/test/CodeGen/AArch64/machine-outliner-retaddr-sign-diff-scope-same-key.ll
M llvm/test/CodeGen/AArch64/machine-outliner-retaddr-sign-non-leaf.ll
M llvm/test/CodeGen/AArch64/machine-outliner-retaddr-sign-regsave.mir
M llvm/test/CodeGen/AArch64/machine-outliner-retaddr-sign-same-scope-diff-key.ll
M llvm/test/CodeGen/AArch64/machine-outliner-retaddr-sign-same-scope-same-key-a.ll
M llvm/test/CodeGen/AArch64/machine-outliner-retaddr-sign-same-scope-same-key-b.ll
M llvm/test/CodeGen/AArch64/machine-outliner-retaddr-sign-subtarget.ll
M llvm/test/CodeGen/AArch64/machine-outliner-retaddr-sign-thunk.ll
M llvm/test/CodeGen/AArch64/machine-outliner-retaddr-sign-v8-3.ll
M llvm/test/CodeGen/AArch64/popcount.ll
A llvm/test/CodeGen/AArch64/pr96366.ll
M llvm/test/CodeGen/AArch64/ptrauth-call.ll
A llvm/test/CodeGen/AArch64/sms-instruction-scheduled-at-correct-cycle.mir
A llvm/test/CodeGen/AMDGPU/GlobalISel/atomicrmw_fmax.ll
A llvm/test/CodeGen/AMDGPU/GlobalISel/atomicrmw_fmin.ll
M llvm/test/CodeGen/AMDGPU/GlobalISel/global-atomic-fadd.f32-rtn.ll
M llvm/test/CodeGen/AMDGPU/GlobalISel/llvm.amdgcn.wqm.demote.ll
A llvm/test/CodeGen/AMDGPU/GlobalISel/vni8-across-blocks.ll
M llvm/test/CodeGen/AMDGPU/amdgpu-codegenprepare-break-large-phis.ll
M llvm/test/CodeGen/AMDGPU/amdgpu-reloc-const.ll
M llvm/test/CodeGen/AMDGPU/branch-folding-implicit-def-subreg.ll
M llvm/test/CodeGen/AMDGPU/codegen-prepare-addrspacecast-non-null.ll
M llvm/test/CodeGen/AMDGPU/cse-phi-incoming-val.ll
M llvm/test/CodeGen/AMDGPU/dagcomb-extract-vec-elt-different-sizes.ll
M llvm/test/CodeGen/AMDGPU/dagcombine-fma-crash.ll
M llvm/test/CodeGen/AMDGPU/dual-source-blend-export.ll
M llvm/test/CodeGen/AMDGPU/extract-subvector-16bit.ll
M llvm/test/CodeGen/AMDGPU/extract-subvector.ll
M llvm/test/CodeGen/AMDGPU/gfx-callable-argument-types.ll
M llvm/test/CodeGen/AMDGPU/global-atomic-fadd.f32-rtn.ll
M llvm/test/CodeGen/AMDGPU/global-atomicrmw-fadd-wrong-subtarget.ll
M llvm/test/CodeGen/AMDGPU/global_atomic_optimizer_fp_rtn.ll
M llvm/test/CodeGen/AMDGPU/global_atomics_optimizer_fp_no_rtn.ll
M llvm/test/CodeGen/AMDGPU/global_atomics_scan_fmax.ll
M llvm/test/CodeGen/AMDGPU/global_atomics_scan_fmin.ll
M llvm/test/CodeGen/AMDGPU/llc-pipeline.ll
M llvm/test/CodeGen/AMDGPU/llvm.amdgcn.kill.ll
M llvm/test/CodeGen/AMDGPU/llvm.amdgcn.wqm.demote.ll
M llvm/test/CodeGen/AMDGPU/load-local-redundant-copies.ll
M llvm/test/CodeGen/AMDGPU/local-atomicrmw-fadd.ll
M llvm/test/CodeGen/AMDGPU/lower-mem-intrinsics.ll
M llvm/test/CodeGen/AMDGPU/memcpy-fixed-align.ll
M llvm/test/CodeGen/AMDGPU/memcpy-libcall.ll
A llvm/test/CodeGen/AMDGPU/memcpy-param-combinations.ll
A llvm/test/CodeGen/AMDGPU/memcpy-scalar-load.ll
A llvm/test/CodeGen/AMDGPU/memmove-param-combinations.ll
A llvm/test/CodeGen/AMDGPU/memmove-scalar-load.ll
M llvm/test/CodeGen/AMDGPU/memory_clause.ll
M llvm/test/CodeGen/AMDGPU/multi-divergent-exit-region.ll
M llvm/test/CodeGen/AMDGPU/sdwa-peephole.ll
M llvm/test/CodeGen/AMDGPU/skip-if-dead.ll
M llvm/test/CodeGen/AMDGPU/srem.ll
M llvm/test/CodeGen/AMDGPU/trunc-store.ll
M llvm/test/CodeGen/AMDGPU/vni8-across-blocks.ll
A llvm/test/CodeGen/AMDGPU/vni8-live-reg-opt.ll
M llvm/test/CodeGen/AMDGPU/wqm-gfx11.ll
M llvm/test/CodeGen/RISCV/attributes.ll
A llvm/test/CodeGen/RISCV/pr96366.ll
M llvm/test/CodeGen/RISCV/rvv/fixed-vectors-fp-buildvec.ll
M llvm/test/CodeGen/RISCV/rvv/fixed-vectors-int-buildvec.ll
A llvm/test/CodeGen/RISCV/rvv/remat.ll
A llvm/test/CodeGen/RISCV/rvv/vfirst-byte-compare-index.ll
M llvm/test/CodeGen/RISCV/rvv/vsetvli-insert-crossbb.ll
A llvm/test/CodeGen/RISCV/xcvalu.ll
A llvm/test/CodeGen/SPIRV/function/forward-call-type-inference.ll
M llvm/test/CodeGen/SPIRV/transcoding/spirv-event-null.ll
M llvm/test/CodeGen/X86/GlobalISel/irtranslator-callingconv.ll
M llvm/test/CodeGen/X86/bfloat.ll
M llvm/test/CodeGen/X86/div-rem-pair-recomposition-signed.ll
M llvm/test/CodeGen/X86/is_fpclass-fp80.ll
M llvm/test/CodeGen/X86/isel-buildvector-sse.ll
M llvm/test/CodeGen/X86/isel-buildvector-sse2.ll
M llvm/test/CodeGen/X86/masked_store.ll
M llvm/test/CodeGen/X86/movmsk-bittest.ll
M llvm/test/CodeGen/X86/trap.ll
M llvm/test/CodeGen/X86/unreachable-trap.ll
A llvm/test/CodeGen/X86/unreachable-ubsantrap.ll
A llvm/test/Instrumentation/MemorySanitizer/vector-track-origins-neon.ll
A llvm/test/Instrumentation/MemorySanitizer/vector-track-origins-struct.ll
M llvm/test/LTO/X86/unified-cfi.ll
M llvm/test/MC/MachO/cfi-advance-loc-err.s
M llvm/test/MC/RISCV/attribute.s
M llvm/test/MC/RISCV/invalid-attribute.s
A llvm/test/MC/Sparc/elf-sparc-machine-type.s
M llvm/test/ThinLTO/X86/funcimport-stats.ll
M llvm/test/Transforms/CorrelatedValuePropagation/icmp.ll
A llvm/test/Transforms/CorrelatedValuePropagation/vectors.ll
M llvm/test/Transforms/FunctionImport/funcimport.ll
A llvm/test/Transforms/IndVarSimplify/preserving-debugloc-rem-div.ll
A llvm/test/Transforms/InferAddressSpaces/AMDGPU/preserving-debugloc-addrspacecast.ll
A llvm/test/Transforms/Inline/ML/dead-callee.ll
A llvm/test/Transforms/InstCombine/X86/x86-pmulh.ll
A llvm/test/Transforms/InstCombine/X86/x86-pmulhrs.ll
A llvm/test/Transforms/InstCombine/X86/x86-pmulhu.ll
M llvm/test/Transforms/InstCombine/icmp-select-implies-common-op.ll
M llvm/test/Transforms/InstCombine/ldexp.ll
M llvm/test/Transforms/InstCombine/range-check.ll
M llvm/test/Transforms/InstCombine/saturating-add-sub.ll
M llvm/test/Transforms/InstCombine/scalarization.ll
M llvm/test/Transforms/InstCombine/select-binop-cmp.ll
M llvm/test/Transforms/InstCombine/select.ll
M llvm/test/Transforms/InstCombine/xor.ll
M llvm/test/Transforms/InstSimplify/select-inseltpoison.ll
M llvm/test/Transforms/InstSimplify/select.ll
M llvm/test/Transforms/LoopDistribute/debug-print.ll
A llvm/test/Transforms/LoopIdiom/RISCV/byte-compare-index.ll
M llvm/test/Transforms/LoopVectorize/X86/pr23997.ll
M llvm/test/Transforms/NewGVN/pr35125.ll
M llvm/test/Transforms/PhaseOrdering/X86/blendv-select.ll
M llvm/test/Transforms/PhaseOrdering/X86/pr67803.ll
M llvm/test/Transforms/SLPVectorizer/AArch64/scalarization-overhead.ll
M llvm/test/Transforms/SLPVectorizer/X86/entries-different-vf.ll
A llvm/test/Transforms/SLPVectorizer/X86/reordering-single-phi.ll
M llvm/test/Transforms/SLPVectorizer/X86/reused-extractelements.ll
A llvm/test/Transforms/SLPVectorizer/rdar128092379.ll
A llvm/test/tools/UpdateTestChecks/update_analyze_test_checks/Inputs/loop-distribute.ll
A llvm/test/tools/UpdateTestChecks/update_analyze_test_checks/Inputs/loop-distribute.ll.expected
A llvm/test/tools/UpdateTestChecks/update_analyze_test_checks/loop-distribute.test
M llvm/test/tools/llvm-config/paths.test
M llvm/test/tools/llvm-ifs/write-stub.test
M llvm/test/tools/llvm-objcopy/ELF/add-note.test
M llvm/test/tools/llvm-readobj/ELF/AArch64/aarch64-feature-pauth.s
M llvm/test/tools/llvm-readobj/ELF/AArch64/aarch64-note-gnu-property.s
M llvm/test/tools/llvm-readobj/ELF/AArch64/memtag.test
M llvm/test/tools/llvm-readobj/ELF/AArch64/note-android-unknown.test
M llvm/test/tools/llvm-readobj/ELF/dynamic-malformed.test
M llvm/test/tools/llvm-readobj/ELF/dynamic-tags.test
M llvm/test/tools/llvm-readobj/ELF/gnu-note-size.test
M llvm/test/tools/llvm-readobj/ELF/gnu-notes.test
M llvm/test/tools/llvm-readobj/ELF/loadname.test
M llvm/test/tools/llvm-readobj/ELF/note-amd-invalid-v2.test
M llvm/test/tools/llvm-readobj/ELF/note-amd-invalid-v3.test
M llvm/test/tools/llvm-readobj/ELF/note-amd-valid-v2.test
M llvm/test/tools/llvm-readobj/ELF/note-amd-valid-v3.s
M llvm/test/tools/llvm-readobj/ELF/note-amd.s
M llvm/test/tools/llvm-readobj/ELF/note-amdgpu-invalid.s
M llvm/test/tools/llvm-readobj/ELF/note-amdgpu.test
M llvm/test/tools/llvm-readobj/ELF/note-core-ntfile.test
M llvm/test/tools/llvm-readobj/ELF/note-core.test
M llvm/test/tools/llvm-readobj/ELF/note-freebsd-core.test
M llvm/test/tools/llvm-readobj/ELF/note-freebsd.test
M llvm/test/tools/llvm-readobj/ELF/note-generic.s
M llvm/test/tools/llvm-readobj/ELF/note-gnu-property.s
M llvm/test/tools/llvm-readobj/ELF/note-gnu-property2.s
M llvm/test/tools/llvm-readobj/ELF/note-llvmompoffload.test
A llvm/test/tools/llvm-readobj/ELF/note-multiple-sections.test
M llvm/test/tools/llvm-readobj/ELF/note-netbsd-core.test
M llvm/test/tools/llvm-readobj/ELF/note-openbsd-core.test
M llvm/test/tools/llvm-readobj/ELF/note-unknown.s
M llvm/test/tools/llvm-readobj/archive.test
A llvm/test/tools/llvm-split/name-hash-based-distribution.ll
A llvm/test/tools/llvm-split/round-robin.ll
M llvm/tools/llvm-config/llvm-config.cpp
M llvm/tools/llvm-readobj/ELFDumper.cpp
M llvm/tools/llvm-split/llvm-split.cpp
M llvm/unittests/Analysis/MLModelRunnerTest.cpp
M llvm/unittests/IR/ConstantRangeTest.cpp
M llvm/unittests/IR/InstructionsTest.cpp
M llvm/unittests/SandboxIR/SandboxIRTest.cpp
M llvm/unittests/Support/raw_ostream_test.cpp
M llvm/unittests/TargetParser/RISCVISAInfoTest.cpp
M llvm/unittests/TargetParser/TargetParserTest.cpp
M llvm/utils/UpdateTestChecks/common.py
M llvm/utils/gn/secondary/lldb/source/Commands/BUILD.gn
A llvm/utils/gn/secondary/llvm/lib/SandboxIR/BUILD.gn
M llvm/utils/gn/secondary/llvm/unittests/BUILD.gn
A llvm/utils/gn/secondary/llvm/unittests/SandboxIR/BUILD.gn
M llvm/utils/update_analyze_test_checks.py
M mlir/include/mlir/Analysis/Presburger/IntegerRelation.h
M mlir/include/mlir/Analysis/Presburger/Simplex.h
M mlir/include/mlir/Dialect/OpenACC/OpenACC.h
M mlir/include/mlir/Dialect/OpenACC/OpenACCOps.td
M mlir/include/mlir/Dialect/SCF/IR/SCFOps.td
M mlir/include/mlir/Dialect/SCF/Utils/Utils.h
M mlir/include/mlir/Interfaces/LoopLikeInterface.h
M mlir/lib/Analysis/FlatLinearValueConstraints.cpp
M mlir/lib/Analysis/Presburger/IntegerRelation.cpp
M mlir/lib/Analysis/Presburger/PresburgerRelation.cpp
M mlir/lib/Analysis/Presburger/Simplex.cpp
M mlir/lib/Analysis/Presburger/Utils.cpp
M mlir/lib/Bytecode/Reader/BytecodeReader.cpp
M mlir/lib/Dialect/OpenACC/IR/OpenACC.cpp
M mlir/lib/Dialect/SCF/IR/SCF.cpp
M mlir/lib/Dialect/SCF/TransformOps/SCFTransformOps.cpp
M mlir/lib/Dialect/SCF/Transforms/ParallelLoopFusion.cpp
M mlir/lib/Dialect/SCF/Utils/Utils.cpp
M mlir/lib/Dialect/Vector/IR/ScalableValueBoundsConstraintSet.cpp
M mlir/lib/Dialect/Vector/Transforms/VectorTransforms.cpp
M mlir/lib/Interfaces/LoopLikeInterface.cpp
A mlir/test/Bytecode/external_resources.mlir
M mlir/test/Dialect/SCF/transform-loop-fuse-sibling.mlir
M mlir/test/Dialect/Vector/test-scalable-bounds.mlir
M mlir/test/Dialect/Vector/vector-transfer-flatten.mlir
M offload/DeviceRTL/src/Debug.cpp
M offload/DeviceRTL/src/LibC.cpp
M offload/test/mapping/map_both_pointer_pointee.c
M openmp/libompd/test/ompt_plugin.h
M openmp/runtime/src/dllexports
M openmp/runtime/src/include/omp-tools.h.var
M openmp/runtime/src/kmp_csupport.cpp
M openmp/runtime/src/kmp_dispatch.cpp
M openmp/runtime/src/kmp_sched.cpp
M openmp/runtime/src/ompt-specific.h
M openmp/runtime/test/ompt/callback.h
M openmp/runtime/test/ompt/synchronization/ordered_dependences.c
M openmp/runtime/test/ompt/tasks/taskloop.c
M openmp/runtime/test/ompt/tasks/taskloop_dispatch.c
M openmp/runtime/test/ompt/teams/distribute_dispatch.c
M openmp/runtime/test/ompt/worksharing/for/auto.c
M openmp/runtime/test/ompt/worksharing/for/auto_serialized.c
M openmp/runtime/test/ompt/worksharing/for/auto_split.c
M openmp/runtime/test/ompt/worksharing/for/base.h
M openmp/runtime/test/ompt/worksharing/for/base_serialized.h
M openmp/runtime/test/ompt/worksharing/for/base_split.h
M openmp/runtime/test/ompt/worksharing/for/guided_serialized.c
M openmp/runtime/test/ompt/worksharing/for/loop_dispatch.c
M openmp/runtime/test/ompt/worksharing/for/runtime.c
M openmp/runtime/test/ompt/worksharing/for/runtime_serialized.c
M openmp/runtime/test/ompt/worksharing/for/runtime_split.c
M openmp/runtime/test/ompt/worksharing/sections.c
M openmp/runtime/test/ompt/worksharing/sections_dispatch.c
M openmp/runtime/test/ompt/worksharing/single.c
M third-party/unittest/CMakeLists.txt
M utils/bazel/examples/http_archive/WORKSPACE
M utils/bazel/examples/submodule/WORKSPACE
Log Message:
-----------
Merge branch 'main' into users/vikramRH/rm-bitcasts
Compare: https://github.com/llvm/llvm-project/compare/5423d96742b9...e75d8d16764d
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