[all-commits] [llvm/llvm-project] 50b153: [clang][Interp] Don't diagnose non-const reads fro...

Paul Kirth via All-commits all-commits at lists.llvm.org
Fri Jun 28 16:17:19 PDT 2024


  Branch: refs/heads/users/ilovepi/spr/clang-docnfc-avoid-constructing-smallstring-in-tostring-method
  Home:   https://github.com/llvm/llvm-project
  Commit: 50b15341182e0a5f53dd6e9b4a00fef56f31147c
      https://github.com/llvm/llvm-project/commit/50b15341182e0a5f53dd6e9b4a00fef56f31147c
  Author: Timm Bäder <tbaeder at redhat.com>
  Date:   2024-06-27 (Thu, 27 Jun 2024)

  Changed paths:
    M clang/lib/AST/Interp/EvalEmitter.cpp
    M clang/lib/AST/Interp/Interp.cpp
    M clang/lib/AST/Interp/InterpState.h

  Log Message:
  -----------
  [clang][Interp] Don't diagnose non-const reads from the evaluating decl


  Commit: 8d237190ecc4ac90865d80dbb11a34c6719b406d
      https://github.com/llvm/llvm-project/commit/8d237190ecc4ac90865d80dbb11a34c6719b406d
  Author: Matthias Gehre <matthias.gehre at amd.com>
  Date:   2024-06-27 (Thu, 27 Jun 2024)

  Changed paths:
    M mlir/include/mlir/Conversion/TosaToLinalg/TosaToLinalg.h
    M mlir/include/mlir/Dialect/Tosa/Utils/ConversionUtils.h
    M mlir/lib/Conversion/TosaToLinalg/TosaToLinalg.cpp
    M mlir/lib/Conversion/TosaToLinalg/TosaToLinalgNamed.cpp
    M mlir/lib/Conversion/TosaToLinalg/TosaToLinalgPass.cpp
    M mlir/lib/Dialect/Tosa/Utils/ConversionUtils.cpp
    M mlir/test/Conversion/TosaToLinalg/tosa-to-linalg.mlir

  Log Message:
  -----------
  TosaToLinalg: Support unsigned tosa.clamp (#91749)

This implements the lowering of tosa.clamp with unsigned operand to
linalg.

We interpret the `min/max : i64`  attributes on `clamp` to be signed.

This means that when the operand has type `ui64`, one cannot represent
limits across the whole range.


  Commit: cad72632eb0d612fe18c38ac4526d80a6b800f96
      https://github.com/llvm/llvm-project/commit/cad72632eb0d612fe18c38ac4526d80a6b800f96
  Author: Craig Topper <craig.topper at sifive.com>
  Date:   2024-06-27 (Thu, 27 Jun 2024)

  Changed paths:
    M llvm/lib/Target/RISCV/RISCVInstrInfoZb.td
    M llvm/test/CodeGen/RISCV/rv32zbkb.ll
    M llvm/test/CodeGen/RISCV/rv64-legal-i32/rv64zbkb.ll
    M llvm/test/CodeGen/RISCV/rv64zbkb.ll
    M llvm/test/MC/RISCV/rv32zbkb-only-valid.s
    M llvm/test/MC/RISCV/rv32zbkb-valid.s
    M llvm/test/MC/RISCV/rv64zbkb-valid.s

  Log Message:
  -----------
  [RISCV] Support zext.h mnemonic with Zbkb. (#96821)

Zbkb adds generic pack insructions. The zext.h encodings from Zbb are
subsets of the generic encodings with rs2=x0. zext.h is pack on RV32 and
packw on RV64.

Previously we only supported zext.h as a single instruction mnemonic in
the assembler when Zbb was enabled. Otherwise we would emit it as 2
shifts. This patches recognizes it when either Zbkb or Zbb is enabled.

This patch also enables the zext.h isel patterns when Zbkb is enabled
without Zbb.


  Commit: 4168233badd4de41fee1bdc0a9701c5360ea1ead
      https://github.com/llvm/llvm-project/commit/4168233badd4de41fee1bdc0a9701c5360ea1ead
  Author: Fangrui Song <i at maskray.me>
  Date:   2024-06-27 (Thu, 27 Jun 2024)

  Changed paths:
    M llvm/test/MC/X86/align-branch-single.s

  Log Message:
  -----------
  [X86,test] Add a JCC erratum test for Windows

Increase test coverage exposed by #96835.


  Commit: aa3589f0ccc0848fa8d5847afdbc8dd9b9c624e7
      https://github.com/llvm/llvm-project/commit/aa3589f0ccc0848fa8d5847afdbc8dd9b9c624e7
  Author: Fangrui Song <i at maskray.me>
  Date:   2024-06-27 (Thu, 27 Jun 2024)

  Changed paths:
    M llvm/include/llvm/MC/MCAsmBackend.h
    M llvm/lib/MC/MCObjectStreamer.cpp
    M llvm/lib/Target/X86/MCTargetDesc/X86AsmBackend.cpp
    M llvm/lib/Target/X86/MCTargetDesc/X86MCTargetDesc.cpp
    M llvm/lib/Target/X86/MCTargetDesc/X86MCTargetDesc.h
    M llvm/lib/Target/X86/MCTargetDesc/X86WinCOFFStreamer.cpp

  Log Message:
  -----------
  [MC,X86] emitInstruction: remove virtual function calls due to Intel JCC Erratum

https://reviews.llvm.org/D70157 (for Intel Jump Conditional Code
Erratum) introduced two virtual function calls in the generic
MCObjectStreamer::emitInstruction, which added some overhead.

This patch removes the virtual function overhead:

* Define `llvm::X86_MC::emitInstruction` that calls `emitInstruction{Begin,End}`.
* Define {X86ELFStreamer,X86WinCOFFStreamer}::emitInstruction to call `llvm::X86_MC::emitInstruction`

Pull Request: https://github.com/llvm/llvm-project/pull/96835


  Commit: e258bb38dc8f00cc366df877d0e6f869657b7a8b
      https://github.com/llvm/llvm-project/commit/e258bb38dc8f00cc366df877d0e6f869657b7a8b
  Author: Haojian Wu <hokein.wu at gmail.com>
  Date:   2024-06-27 (Thu, 27 Jun 2024)

  Changed paths:
    M clang/include/clang/Basic/AttrDocs.td

  Log Message:
  -----------
  [clang][docs] Update the gsl::Pointer/Owner attr doc (#96908)

- Fix some errors in the snippet;
- update the code snippet to reflect the current implementation status
in clang;


  Commit: 5bbec8f4b6a26e8b4a4209d90a2ad0a0d2416a55
      https://github.com/llvm/llvm-project/commit/5bbec8f4b6a26e8b4a4209d90a2ad0a0d2416a55
  Author: Alexis Engelke <engelke at in.tum.de>
  Date:   2024-06-27 (Thu, 27 Jun 2024)

  Changed paths:
    M llvm/include/llvm/MC/MCSection.h
    M llvm/include/llvm/MC/MCSectionCOFF.h
    M llvm/include/llvm/MC/MCSectionDXContainer.h
    M llvm/include/llvm/MC/MCSectionELF.h
    M llvm/include/llvm/MC/MCSectionGOFF.h
    M llvm/include/llvm/MC/MCSectionMachO.h
    M llvm/include/llvm/MC/MCSectionSPIRV.h
    M llvm/include/llvm/MC/MCSectionWasm.h
    M llvm/include/llvm/MC/MCSectionXCOFF.h
    M llvm/lib/MC/MCSection.cpp
    M llvm/lib/MC/MCSectionCOFF.cpp
    M llvm/lib/MC/MCSectionELF.cpp
    M llvm/lib/MC/MCSectionMachO.cpp
    M llvm/lib/MC/MCSectionWasm.cpp
    M llvm/lib/MC/MCSectionXCOFF.cpp

  Log Message:
  -----------
  [MC] Make MCSection::isVirtualSection non-virtual (#96920)

This method is called once per encoded instruction, but never changes
throughout the lifetime of a section. Store this information as a bit
flag in the MCSection instead.


  Commit: 1448ed2000ff0be17025dab0aad7412d054425eb
      https://github.com/llvm/llvm-project/commit/1448ed2000ff0be17025dab0aad7412d054425eb
  Author: jeanPerier <jperier at nvidia.com>
  Date:   2024-06-27 (Thu, 27 Jun 2024)

  Changed paths:
    M flang/include/flang/Optimizer/Builder/FIRBuilder.h
    M flang/include/flang/Optimizer/Dialect/FIROps.td
    M flang/include/flang/Optimizer/Support/InternalNames.h
    M flang/include/flang/Optimizer/Support/Utils.h
    M flang/lib/Lower/Bridge.cpp
    M flang/lib/Optimizer/Builder/FIRBuilder.cpp
    M flang/lib/Optimizer/Dialect/FIROps.cpp
    M flang/lib/Optimizer/Support/CMakeLists.txt
    M flang/lib/Optimizer/Support/InternalNames.cpp
    A flang/lib/Optimizer/Support/Utils.cpp
    M flang/test/Fir/fir-ops.fir
    A flang/test/Lower/HLFIR/type-info-components.f90

  Log Message:
  -----------
  [flang] add extra component information in fir.type_info (#96746)

fir.type does not contain all Fortran level information about
components. For instance, component lower bounds and default initial
value are lost. For correctness purpose, this does not matter because
this information is "applied" in lowering (e.g., when addressing the
components, the lower bounds are reflected in the hlfir.designate).

However, this "loss" of information will prevent the generation of
correct debug info for the type (needs to know about lower bounds). The
initial value could help building some optimization pass to get rid of
initialization runtime calls.

This patch adds lower bound and initial value information into
fir.type_info via a new fir.dt_component operation. This operation is
generated only for component that needs it, which helps keeping the IR
small for "boring" types.

In general, adding Fortran level info in fir.type_info will allow
delaying the generation of "type descriptors" gobals that are very
verbose in FIR and make it hard to work with FIR dumps from applications
with many derived types.


  Commit: 1ff05876fb686cfee99c31b9dd69b051e34a31fa
      https://github.com/llvm/llvm-project/commit/1ff05876fb686cfee99c31b9dd69b051e34a31fa
  Author: darkbuck <michael.hliao at gmail.com>
  Date:   2024-06-27 (Thu, 27 Jun 2024)

  Changed paths:
    M llvm/unittests/CodeGen/GlobalISel/CMakeLists.txt
    A llvm/unittests/CodeGen/GlobalISel/CallLowering.cpp

  Log Message:
  -----------
  [GlobalISel] Add unit tests for call lowering on byref support



Reviewers: tschuett, spaits, aemerson, arsenm

Reviewed By: spaits, arsenm

Pull Request: https://github.com/llvm/llvm-project/pull/96805


  Commit: 6a66b8224d8cbdb6156b9a12d9339fee71898941
      https://github.com/llvm/llvm-project/commit/6a66b8224d8cbdb6156b9a12d9339fee71898941
  Author: jeanPerier <jperier at nvidia.com>
  Date:   2024-06-27 (Thu, 27 Jun 2024)

  Changed paths:
    M flang/include/flang/Optimizer/Builder/FIRBuilder.h
    M flang/include/flang/Optimizer/Dialect/FIROps.td
    M flang/include/flang/Optimizer/Support/InternalNames.h
    M flang/include/flang/Optimizer/Support/Utils.h
    M flang/lib/Lower/Bridge.cpp
    M flang/lib/Optimizer/Builder/FIRBuilder.cpp
    M flang/lib/Optimizer/Dialect/FIROps.cpp
    M flang/lib/Optimizer/Support/CMakeLists.txt
    M flang/lib/Optimizer/Support/InternalNames.cpp
    R flang/lib/Optimizer/Support/Utils.cpp
    M flang/test/Fir/fir-ops.fir
    R flang/test/Lower/HLFIR/type-info-components.f90

  Log Message:
  -----------
  Revert "[flang] add extra component information in fir.type_info" (#96937)

Reverts llvm/llvm-project#96746
Breaking shared library buillds:
https://lab.llvm.org/buildbot/#/builders/89/builds/931


  Commit: 61975cdf44a75917a738ca7fa9971b03f6d4fad8
      https://github.com/llvm/llvm-project/commit/61975cdf44a75917a738ca7fa9971b03f6d4fad8
  Author: Timm Bäder <tbaeder at redhat.com>
  Date:   2024-06-27 (Thu, 27 Jun 2024)

  Changed paths:
    M clang/lib/AST/Interp/Disasm.cpp

  Log Message:
  -----------
  [clang][Interp][NFC] Print global temporary value in Program::dump()

There is quite a problem here, so print both the value we have in
Program as well as the value from the LifetimeExtendedTemporaryDecl.


  Commit: aa9bf71ca4eac50f4dfad9bb7b302491265cb889
      https://github.com/llvm/llvm-project/commit/aa9bf71ca4eac50f4dfad9bb7b302491265cb889
  Author: Anh Tuyen Tran <34661776+anhtuyenibm at users.noreply.github.com>
  Date:   2024-06-27 (Thu, 27 Jun 2024)

  Changed paths:
    M llvm/test/DebugInfo/attr-btf_type_tag.ll

  Log Message:
  -----------
  On AIX we don’t have .debug_addr section. (#96935)

According to Zheng @chenzheng1030, there is no .debug_addr section on
AIX.
Due to its absence on AIX, the test case may produce inconsistent
results, either passing or failing. This PR ensures that the test case
is marked as not applicable for AIX.


  Commit: abfff89b743584d2796000318198bf60d3622a1f
      https://github.com/llvm/llvm-project/commit/abfff89b743584d2796000318198bf60d3622a1f
  Author: Fangrui Song <i at maskray.me>
  Date:   2024-06-27 (Thu, 27 Jun 2024)

  Changed paths:
    M llvm/lib/MC/MCAssembler.cpp

  Log Message:
  -----------
  [MC] Chain together fragments only if Subsections.size() > 1

and delete an unneeded setParent call.


  Commit: d7cd41e571cb8def7914cce51b49e009f8851634
      https://github.com/llvm/llvm-project/commit/d7cd41e571cb8def7914cce51b49e009f8851634
  Author: Jinjie Huang <huangjinjie at bytedance.com>
  Date:   2024-06-27 (Thu, 27 Jun 2024)

  Changed paths:
    A llvm/test/tools/llvm-dwp/X86/empty_warning.s
    M llvm/tools/llvm-dwp/llvm-dwp.cpp

  Log Message:
  -----------
  Give a warning when no dwo files are provided (#94336)

In some scenarios based on the split-dwarf build process, the dwo file
is not generated as expected(That is to say, no dwo file path is stored
in the binary). When the llvm-dwp tool is called to generate the .dwp
file, it will exit without any warning.
 
So, the plan is to prompt a warning to tell the user that the dwo file
was not actually generated.
<img width="699" alt="image"
src="https://github.com/llvm/llvm-project/assets/150100070/5e5742f6-daad-450f-87e9-cb25449c3c7a">


  Commit: f55bcc5dbed9de21864e92cd2e6040bb00e6122c
      https://github.com/llvm/llvm-project/commit/f55bcc5dbed9de21864e92cd2e6040bb00e6122c
  Author: Matt Arsenault <Matthew.Arsenault at amd.com>
  Date:   2024-06-27 (Thu, 27 Jun 2024)

  Changed paths:
    M llvm/lib/IR/AutoUpgrade.cpp
    M llvm/test/Bitcode/amdgcn-atomic.ll

  Log Message:
  -----------
  AMDGPU: Add amdgpu.no.fine.grained.memory when upgrading old atomic intrinsics (#89655)

This should replicate the old intrinsic behavior better when codegen of
the raw instruction will require metadata in the future.


  Commit: 559ea40d9a12b0027cd7dbd955da31c06e6369f8
      https://github.com/llvm/llvm-project/commit/559ea40d9a12b0027cd7dbd955da31c06e6369f8
  Author: Kazu Hirata <kazu at google.com>
  Date:   2024-06-27 (Thu, 27 Jun 2024)

  Changed paths:
    M llvm/lib/CodeGen/GlobalISel/CombinerHelper.cpp
    M llvm/lib/CodeGen/MachineInstrBundle.cpp
    M llvm/lib/CodeGen/MachineTraceMetrics.cpp
    M llvm/lib/CodeGen/RegAllocBasic.cpp
    M llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
    M llvm/lib/CodeGen/TailDuplicator.cpp

  Log Message:
  -----------
  [CodeGen] Use range-based for loops (NFC) (#96855)


  Commit: fa0e9acea5e4d363eef6acc484afc1b22ab8e698
      https://github.com/llvm/llvm-project/commit/fa0e9acea5e4d363eef6acc484afc1b22ab8e698
  Author: Simon Pilgrim <llvm-dev at redking.me.uk>
  Date:   2024-06-27 (Thu, 27 Jun 2024)

  Changed paths:
    M llvm/lib/Target/X86/X86ISelLowering.cpp
    M llvm/test/CodeGen/X86/combine-pmadd.ll

  Log Message:
  -----------
  [X86] Remove PMADDWD/PMADDUBSW known bits handling due to performance issues

This appears to be causing an slow (infinite?) loop when building the highway open source project - most likely due to the high number of computeKnownBits calls (although improving early-out doesn't appear help so far).

I'm reverting support to unstick the highway team and will revisit this shortly.

Reported by @alexfh


  Commit: ea686686477921f571d3b492de44664eafb82465
      https://github.com/llvm/llvm-project/commit/ea686686477921f571d3b492de44664eafb82465
  Author: Vaibhav <56088720+VaibhavRumale at users.noreply.github.com>
  Date:   2024-06-27 (Thu, 27 Jun 2024)

  Changed paths:
    M llvm/lib/Transforms/InstCombine/InstCombineCalls.cpp
    A llvm/test/Transforms/InstCombine/fabs-fneg-fold.ll

  Log Message:
  -----------
  [InstCombine] Add fold for fabs(-x) -> fabs(x) (#95627)

This patch folds `fabs(-x) -> fabs(x)`

Closes #94170

Proofs: https://alive2.llvm.org/ce/z/gjzmgf


  Commit: b949b6420775fe3466dc5a5bf34eab1d14e39e8f
      https://github.com/llvm/llvm-project/commit/b949b6420775fe3466dc5a5bf34eab1d14e39e8f
  Author: Med Ismail Bennani <ismail at bennani.ma>
  Date:   2024-06-27 (Thu, 27 Jun 2024)

  Changed paths:
    M lldb/test/API/functionalities/step_scripted/Steps.py
    M lldb/test/API/functionalities/step_scripted/TestStepScripted.py

  Log Message:
  -----------
  Revert "[lldb/test] Mark TestStepScripted.py as XFAIL temporarily (#96894)" (#96942)

This tentatively reverts commit 204c403b5215197ecdbdb68ca7f11402d6d9892b
to remove the XFAIL from the tests while also trying to fix them at the
same time.

Signed-off-by: Med Ismail Bennani <ismail at bennani.ma>


  Commit: aae8e5cb74634d1690168975c2dd3e053b3ad35c
      https://github.com/llvm/llvm-project/commit/aae8e5cb74634d1690168975c2dd3e053b3ad35c
  Author: Petr Hosek <phosek at google.com>
  Date:   2024-06-27 (Thu, 27 Jun 2024)

  Changed paths:
    M libc/config/baremetal/arm/entrypoints.txt
    M libc/config/baremetal/riscv/entrypoints.txt

  Log Message:
  -----------
  [libc] Include additional math functions in baremetal config (#96926)

These are all supported on arm32 and riscv32.


  Commit: 37fe152e0c9f47b0a9ef9663df1ddecffef6f338
      https://github.com/llvm/llvm-project/commit/37fe152e0c9f47b0a9ef9663df1ddecffef6f338
  Author: Med Ismail Bennani <ismail at bennani.ma>
  Date:   2024-06-27 (Thu, 27 Jun 2024)

  Changed paths:
    M lldb/test/API/functionalities/step_scripted/Steps.py
    M lldb/test/API/functionalities/step_scripted/TestStepScripted.py

  Log Message:
  -----------
  Revert "Revert "[lldb/test] Mark TestStepScripted.py as XFAIL temporarily (#96894)"" (#96946)

Reverts llvm/llvm-project#96942 since the test failures are still
happening:

https://lab.llvm.org/buildbot/#/builders/162/builds/899/


  Commit: e34dbb127af0596d07d01b9fa6cab5b2488ff37b
      https://github.com/llvm/llvm-project/commit/e34dbb127af0596d07d01b9fa6cab5b2488ff37b
  Author: OverMighty <its.overmighty at gmail.com>
  Date:   2024-06-27 (Thu, 27 Jun 2024)

  Changed paths:
    M libc/config/linux/aarch64/entrypoints.txt
    M libc/config/linux/x86_64/entrypoints.txt
    M libc/docs/math/index.rst
    M libc/include/llvm-libc-macros/float16-macros.h
    M libc/spec/stdc.td
    M libc/src/__support/FPUtil/CMakeLists.txt
    M libc/src/__support/FPUtil/dyadic_float.h
    M libc/src/__support/FPUtil/generic/CMakeLists.txt
    M libc/src/__support/FPUtil/generic/FMA.h
    M libc/src/__support/FPUtil/multiply_add.h
    M libc/src/math/CMakeLists.txt
    A libc/src/math/f16fma.h
    A libc/src/math/f16fmaf128.h
    A libc/src/math/f16fmal.h
    M libc/src/math/generic/CMakeLists.txt
    A libc/src/math/generic/f16fma.cpp
    A libc/src/math/generic/f16fmaf128.cpp
    A libc/src/math/generic/f16fmal.cpp
    M libc/test/src/math/CMakeLists.txt
    M libc/test/src/math/FmaTest.h
    A libc/test/src/math/f16fma_test.cpp
    M libc/test/src/math/f16fmaf_test.cpp
    A libc/test/src/math/f16fmal_test.cpp
    M libc/test/src/math/fmaf_test.cpp
    M libc/test/src/math/smoke/CMakeLists.txt
    A libc/test/src/math/smoke/f16fma_test.cpp
    A libc/test/src/math/smoke/f16fmaf128_test.cpp
    A libc/test/src/math/smoke/f16fmal_test.cpp
    M libc/utils/MPFRWrapper/MPFRUtils.cpp

  Log Message:
  -----------
  [libc][math][c23] Add f16fma{,l,f128} C23 math function (#96711)

Part of #93566.


  Commit: aa8409fdca5e738c30a4ab70a3dc809bb4e9160d
      https://github.com/llvm/llvm-project/commit/aa8409fdca5e738c30a4ab70a3dc809bb4e9160d
  Author: OverMighty <its.overmighty at gmail.com>
  Date:   2024-06-27 (Thu, 27 Jun 2024)

  Changed paths:
    M libc/config/linux/aarch64/entrypoints.txt

  Log Message:
  -----------
  [libc][math][c23] Temporarily disable f16fma{,l,f128} on AArch64 (#96952)

See Buildbot failures:

- https://lab.llvm.org/buildbot/#/builders/104/builds/936
- https://lab.llvm.org/buildbot/#/builders/71/builds/932
- https://lab.llvm.org/buildbot/#/builders/131/builds/913


  Commit: 918313d17d38d8723d5d81fef008538677abf9cc
      https://github.com/llvm/llvm-project/commit/918313d17d38d8723d5d81fef008538677abf9cc
  Author: Farzon Lotfi <1802579+farzonl at users.noreply.github.com>
  Date:   2024-06-27 (Thu, 27 Jun 2024)

  Changed paths:
    M llvm/include/llvm/Analysis/TargetLibraryInfo.h
    M llvm/include/llvm/Analysis/TargetTransformInfoImpl.h
    M llvm/lib/Analysis/ValueTracking.cpp
    M llvm/test/Transforms/SLPVectorizer/AArch64/accelerate-vector-functions-inseltpoison.ll
    M llvm/test/Transforms/SLPVectorizer/AArch64/accelerate-vector-functions.ll
    M llvm/test/Transforms/SLPVectorizer/X86/call.ll

  Log Message:
  -----------
  [SLPVectorizer] Support SLPVectorizer cases of tan across all backends (#95517)

This PR is intended to address the limited SLPVectorizer support of tan
raised in the comments of this PR:
https://github.com/llvm/llvm-project/pull/94559.

Right now emitting the tan intrinsisic allows you to vectorize tan, but
emitting the libfunc does not. to address this the libcall needs to be
mapped to the intrinsic. and the libcall and function name need to be
marked approriately so they can be optimized or defined as a call
lowering.


  Commit: a2a73d892a3fd16a1dd2218cf142c7e99cc69ba6
      https://github.com/llvm/llvm-project/commit/a2a73d892a3fd16a1dd2218cf142c7e99cc69ba6
  Author: Matt Arsenault <Matthew.Arsenault at amd.com>
  Date:   2024-06-27 (Thu, 27 Jun 2024)

  Changed paths:
    M llvm/lib/Target/AMDGPU/FLATInstructions.td
    M llvm/lib/Target/AMDGPU/SIISelLowering.cpp
    M llvm/test/CodeGen/AMDGPU/buffer-fat-pointer-atomicrmw-fadd.ll
    M llvm/test/CodeGen/AMDGPU/global-atomicrmw-fadd.ll
    M llvm/test/Transforms/AtomicExpand/AMDGPU/expand-atomic-rmw-fadd.ll

  Log Message:
  -----------
  AMDGPU: Fix no return atomicrmw fadd v2f16 selection for gfx908 (#96948)

We previously would always expand this with a cmpxchg loop, while
it should be the same conditions as the f32 case (except for the
denormal concern).


  Commit: 868b90df07e08617a9be33178ac33437aaa00942
      https://github.com/llvm/llvm-project/commit/868b90df07e08617a9be33178ac33437aaa00942
  Author: Med Ismail Bennani <ismail at bennani.ma>
  Date:   2024-06-27 (Thu, 27 Jun 2024)

  Changed paths:
    M clang/include/module.modulemap

  Log Message:
  -----------
  [clang] Fix incomplete umbrella warnings when building clang modules (NFC) (#96939)


  Commit: f14ad74478494cbd9d23af841d6f6b2808afda71
      https://github.com/llvm/llvm-project/commit/f14ad74478494cbd9d23af841d6f6b2808afda71
  Author: PeterChou1 <peter.chou at mail.utoronto.ca>
  Date:   2024-06-27 (Thu, 27 Jun 2024)

  Changed paths:
    M clang-tools-extra/clang-doc/HTMLGenerator.cpp
    M clang-tools-extra/clang-doc/Representation.cpp
    M clang-tools-extra/clang-doc/Representation.h
    M clang-tools-extra/clang-doc/tool/ClangDocMain.cpp
    A clang-tools-extra/test/clang-doc/Inputs/test-assets/test.css
    A clang-tools-extra/test/clang-doc/Inputs/test-assets/test.js
    A clang-tools-extra/test/clang-doc/assets.cpp
    M clang-tools-extra/test/clang-doc/basic-project.test
    M clang-tools-extra/unittests/clang-doc/HTMLGeneratorTest.cpp

  Log Message:
  -----------
  Reapply [clang-doc] Add --asset option to clang-doc (#96358)

Reapply https://github.com/llvm/llvm-project/pull/94717
Adds a new option --asset which allows users to specified the asset
folder for the html output of clang-doc.

This patch adds a better test for --asset option + fixes bug where
clang-doc assumes that user supplied js file is assume to be index.js


  Commit: ecfbb8504ed2a92fc145045d2c05f5980405660e
      https://github.com/llvm/llvm-project/commit/ecfbb8504ed2a92fc145045d2c05f5980405660e
  Author: Paul Kirth <paulkirth at google.com>
  Date:   2024-06-27 (Thu, 27 Jun 2024)

  Changed paths:
    M clang-tools-extra/clang-doc/HTMLGenerator.cpp

  Log Message:
  -----------
  [clang-doc][NFC] Fix style guide violations in HTMLGenerator.cpp

This patch addresses several code style issues that conflict with the
project's style guide. Primarily the naming of functions, and `else`
after `return` statements. It only addresses issues found in
HTMLGenerator.cpp.

Reviewers: petrhosek

Reviewed By: petrhosek

Pull Request: https://github.com/llvm/llvm-project/pull/96924


  Commit: d3ca779d7264bf0751eb4db632c14d8bc05608ca
      https://github.com/llvm/llvm-project/commit/d3ca779d7264bf0751eb4db632c14d8bc05608ca
  Author: Aiden Grossman <aidengrossman at google.com>
  Date:   2024-06-27 (Thu, 27 Jun 2024)

  Changed paths:
    M llvm/utils/mlgo-utils/tests/corpus/combine_training_corpus_script.test
    M llvm/utils/mlgo-utils/tests/corpus/combine_training_corpus_test.py
    M llvm/utils/mlgo-utils/tests/corpus/extract_ir_script.test
    M llvm/utils/mlgo-utils/tests/corpus/extract_ir_test.py
    M llvm/utils/mlgo-utils/tests/corpus/make_corpus_script.test
    M llvm/utils/mlgo-utils/tests/corpus/make_corpus_test.py
    M llvm/utils/mlgo-utils/tests/lit.local.cfg

  Log Message:
  -----------
  [MLGO] Remove python-38 flag from tests (#96961)

Previously, we had a python-38 flag for the mlgo-utils tests as they
needed a python version higher than what LLVM required by default due to
type annotations. Now that LLVM's default Python version minimum is 3.8,
we can remove this flag.


  Commit: ac9f06c2a839e0065bc96179208c5071c9d4fb7e
      https://github.com/llvm/llvm-project/commit/ac9f06c2a839e0065bc96179208c5071c9d4fb7e
  Author: Terry Wilmarth <terry.l.wilmarth at intel.com>
  Date:   2024-06-28 (Fri, 28 Jun 2024)

  Changed paths:
    M openmp/runtime/test/parallel/omp_parallel_num_threads_list.c

  Log Message:
  -----------
  [OpenMP] Fix test omp_parallel_num_threads_list.c to require fewer threads. (#96916)

Original test case used too many threads for some environments. This update
reduces to a max of 36 threads.


  Commit: 6b55ec1198ce9356340372fd8233b907d8d4cea2
      https://github.com/llvm/llvm-project/commit/6b55ec1198ce9356340372fd8233b907d8d4cea2
  Author: Petr Hosek <phosek at google.com>
  Date:   2024-06-27 (Thu, 27 Jun 2024)

  Changed paths:
    M libc/config/baremetal/arm/entrypoints.txt
    M libc/config/baremetal/riscv/entrypoints.txt
    M libc/config/gpu/entrypoints.txt
    M libc/config/linux/aarch64/entrypoints.txt
    M libc/config/linux/arm/entrypoints.txt
    M libc/config/linux/riscv/entrypoints.txt
    M libc/config/linux/x86_64/entrypoints.txt

  Log Message:
  -----------
  [libc] Sort entrypoints alphabetically (#96955)

This makes it easier to diff the different configurations.


  Commit: 4134b33c6a362cb462b335177d6d9e8235f04309
      https://github.com/llvm/llvm-project/commit/4134b33c6a362cb462b335177d6d9e8235f04309
  Author: Aiden Grossman <aidengrossman at google.com>
  Date:   2024-06-27 (Thu, 27 Jun 2024)

  Changed paths:
    M llvm/utils/mlgo-utils/mlgo/corpus/extract_ir.py
    M llvm/utils/mlgo-utils/mlgo/corpus/extract_ir_lib.py
    M llvm/utils/mlgo-utils/tests/corpus/extract_ir_test.py

  Log Message:
  -----------
  [MLGO] Add ability to extract IR from bazel using aquery (#96964)

This patch adds in support for extracting IR from binaries built with
bazel through querying the linker command line using bazel aquery.


  Commit: 5b363483cf2461617fbb2449491c9914811c8d53
      https://github.com/llvm/llvm-project/commit/5b363483cf2461617fbb2449491c9914811c8d53
  Author: Nikolas Klauser <nikolasklauser at berlin.de>
  Date:   2024-06-27 (Thu, 27 Jun 2024)

  Changed paths:
    M clang/docs/ReleaseNotes.rst
    M clang/include/clang/AST/Type.h
    M clang/lib/AST/Type.cpp
    M clang/lib/Sema/SemaExprCXX.cpp
    M clang/test/SemaCXX/type-traits.cpp

  Log Message:
  -----------
  [Clang] Fix __is_trivially_equality_comparable returning true with ineligebile defaulted overloads (#93113)

This changes `__is_trivially_equality_comparable` to do overload
resolution instead, which fixes a couple of false-positives (and a
false-negative as a drive-by).

Fixes #89293


  Commit: e55aa027f813679ca63c9b803690ce792a3d7b28
      https://github.com/llvm/llvm-project/commit/e55aa027f813679ca63c9b803690ce792a3d7b28
  Author: Pete Steinfeld <47540744+psteinfeld at users.noreply.github.com>
  Date:   2024-06-27 (Thu, 27 Jun 2024)

  Changed paths:
    M flang/runtime/matmul.cpp

  Log Message:
  -----------
  [flang] Fix runtime error messages for the MATMUL intrinsic (#96928)

There are three forms of MATMUL -- where the first argument is a rank 1
array, where the second argument is a rank 1 array, and where both
arguments are rank 2 arrays. There's code in the runtime that detects
when the array shapes are incorrect. But the code that emits an error
message assumes that both arguments are rank 2 arrays.

This change contains code for the other two cases.


  Commit: f48c15c8a6e8fb992a2089fcd95e51dc32a76375
      https://github.com/llvm/llvm-project/commit/f48c15c8a6e8fb992a2089fcd95e51dc32a76375
  Author: Paul Kirth <paulkirth at google.com>
  Date:   2024-06-28 (Fri, 28 Jun 2024)

  Changed paths:
    M clang-tools-extra/clang-doc/HTMLGenerator.cpp
    M clang-tools-extra/clang-doc/Representation.cpp
    M clang-tools-extra/clang-doc/Representation.h
    M clang-tools-extra/clang-doc/tool/ClangDocMain.cpp
    A clang-tools-extra/test/clang-doc/Inputs/test-assets/test.css
    A clang-tools-extra/test/clang-doc/Inputs/test-assets/test.js
    A clang-tools-extra/test/clang-doc/assets.cpp
    M clang-tools-extra/test/clang-doc/basic-project.test
    M clang-tools-extra/unittests/clang-doc/HTMLGeneratorTest.cpp
    M clang/docs/ReleaseNotes.rst
    M clang/include/clang/AST/Type.h
    M clang/include/clang/Basic/AttrDocs.td
    M clang/include/module.modulemap
    M clang/lib/AST/Interp/Disasm.cpp
    M clang/lib/AST/Interp/EvalEmitter.cpp
    M clang/lib/AST/Interp/Interp.cpp
    M clang/lib/AST/Interp/InterpState.h
    M clang/lib/AST/Type.cpp
    M clang/lib/Sema/SemaExprCXX.cpp
    M clang/test/SemaCXX/type-traits.cpp
    M flang/runtime/matmul.cpp
    M libc/config/baremetal/arm/entrypoints.txt
    M libc/config/baremetal/riscv/entrypoints.txt
    M libc/config/gpu/entrypoints.txt
    M libc/config/linux/aarch64/entrypoints.txt
    M libc/config/linux/arm/entrypoints.txt
    M libc/config/linux/riscv/entrypoints.txt
    M libc/config/linux/x86_64/entrypoints.txt
    M libc/docs/math/index.rst
    M libc/include/llvm-libc-macros/float16-macros.h
    M libc/spec/stdc.td
    M libc/src/__support/FPUtil/CMakeLists.txt
    M libc/src/__support/FPUtil/dyadic_float.h
    M libc/src/__support/FPUtil/generic/CMakeLists.txt
    M libc/src/__support/FPUtil/generic/FMA.h
    M libc/src/__support/FPUtil/multiply_add.h
    M libc/src/math/CMakeLists.txt
    A libc/src/math/f16fma.h
    A libc/src/math/f16fmaf128.h
    A libc/src/math/f16fmal.h
    M libc/src/math/generic/CMakeLists.txt
    A libc/src/math/generic/f16fma.cpp
    A libc/src/math/generic/f16fmaf128.cpp
    A libc/src/math/generic/f16fmal.cpp
    M libc/test/src/math/CMakeLists.txt
    M libc/test/src/math/FmaTest.h
    A libc/test/src/math/f16fma_test.cpp
    M libc/test/src/math/f16fmaf_test.cpp
    A libc/test/src/math/f16fmal_test.cpp
    M libc/test/src/math/fmaf_test.cpp
    M libc/test/src/math/smoke/CMakeLists.txt
    A libc/test/src/math/smoke/f16fma_test.cpp
    A libc/test/src/math/smoke/f16fmaf128_test.cpp
    A libc/test/src/math/smoke/f16fmal_test.cpp
    M libc/utils/MPFRWrapper/MPFRUtils.cpp
    M llvm/include/llvm/Analysis/TargetLibraryInfo.h
    M llvm/include/llvm/Analysis/TargetTransformInfoImpl.h
    M llvm/include/llvm/MC/MCAsmBackend.h
    M llvm/include/llvm/MC/MCSection.h
    M llvm/include/llvm/MC/MCSectionCOFF.h
    M llvm/include/llvm/MC/MCSectionDXContainer.h
    M llvm/include/llvm/MC/MCSectionELF.h
    M llvm/include/llvm/MC/MCSectionGOFF.h
    M llvm/include/llvm/MC/MCSectionMachO.h
    M llvm/include/llvm/MC/MCSectionSPIRV.h
    M llvm/include/llvm/MC/MCSectionWasm.h
    M llvm/include/llvm/MC/MCSectionXCOFF.h
    M llvm/lib/Analysis/ValueTracking.cpp
    M llvm/lib/CodeGen/GlobalISel/CombinerHelper.cpp
    M llvm/lib/CodeGen/MachineInstrBundle.cpp
    M llvm/lib/CodeGen/MachineTraceMetrics.cpp
    M llvm/lib/CodeGen/RegAllocBasic.cpp
    M llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
    M llvm/lib/CodeGen/TailDuplicator.cpp
    M llvm/lib/IR/AutoUpgrade.cpp
    M llvm/lib/MC/MCAssembler.cpp
    M llvm/lib/MC/MCObjectStreamer.cpp
    M llvm/lib/MC/MCSection.cpp
    M llvm/lib/MC/MCSectionCOFF.cpp
    M llvm/lib/MC/MCSectionELF.cpp
    M llvm/lib/MC/MCSectionMachO.cpp
    M llvm/lib/MC/MCSectionWasm.cpp
    M llvm/lib/MC/MCSectionXCOFF.cpp
    M llvm/lib/Target/AMDGPU/FLATInstructions.td
    M llvm/lib/Target/AMDGPU/SIISelLowering.cpp
    M llvm/lib/Target/RISCV/RISCVInstrInfoZb.td
    M llvm/lib/Target/X86/MCTargetDesc/X86AsmBackend.cpp
    M llvm/lib/Target/X86/MCTargetDesc/X86MCTargetDesc.cpp
    M llvm/lib/Target/X86/MCTargetDesc/X86MCTargetDesc.h
    M llvm/lib/Target/X86/MCTargetDesc/X86WinCOFFStreamer.cpp
    M llvm/lib/Target/X86/X86ISelLowering.cpp
    M llvm/lib/Transforms/InstCombine/InstCombineCalls.cpp
    M llvm/test/Bitcode/amdgcn-atomic.ll
    M llvm/test/CodeGen/AMDGPU/buffer-fat-pointer-atomicrmw-fadd.ll
    M llvm/test/CodeGen/AMDGPU/global-atomicrmw-fadd.ll
    M llvm/test/CodeGen/RISCV/rv32zbkb.ll
    M llvm/test/CodeGen/RISCV/rv64-legal-i32/rv64zbkb.ll
    M llvm/test/CodeGen/RISCV/rv64zbkb.ll
    M llvm/test/CodeGen/X86/combine-pmadd.ll
    M llvm/test/DebugInfo/attr-btf_type_tag.ll
    M llvm/test/MC/RISCV/rv32zbkb-only-valid.s
    M llvm/test/MC/RISCV/rv32zbkb-valid.s
    M llvm/test/MC/RISCV/rv64zbkb-valid.s
    M llvm/test/MC/X86/align-branch-single.s
    M llvm/test/Transforms/AtomicExpand/AMDGPU/expand-atomic-rmw-fadd.ll
    A llvm/test/Transforms/InstCombine/fabs-fneg-fold.ll
    M llvm/test/Transforms/SLPVectorizer/AArch64/accelerate-vector-functions-inseltpoison.ll
    M llvm/test/Transforms/SLPVectorizer/AArch64/accelerate-vector-functions.ll
    M llvm/test/Transforms/SLPVectorizer/X86/call.ll
    A llvm/test/tools/llvm-dwp/X86/empty_warning.s
    M llvm/tools/llvm-dwp/llvm-dwp.cpp
    M llvm/unittests/CodeGen/GlobalISel/CMakeLists.txt
    A llvm/unittests/CodeGen/GlobalISel/CallLowering.cpp
    M llvm/utils/mlgo-utils/mlgo/corpus/extract_ir.py
    M llvm/utils/mlgo-utils/mlgo/corpus/extract_ir_lib.py
    M llvm/utils/mlgo-utils/tests/corpus/combine_training_corpus_script.test
    M llvm/utils/mlgo-utils/tests/corpus/combine_training_corpus_test.py
    M llvm/utils/mlgo-utils/tests/corpus/extract_ir_script.test
    M llvm/utils/mlgo-utils/tests/corpus/extract_ir_test.py
    M llvm/utils/mlgo-utils/tests/corpus/make_corpus_script.test
    M llvm/utils/mlgo-utils/tests/corpus/make_corpus_test.py
    M llvm/utils/mlgo-utils/tests/lit.local.cfg
    M mlir/include/mlir/Conversion/TosaToLinalg/TosaToLinalg.h
    M mlir/include/mlir/Dialect/Tosa/Utils/ConversionUtils.h
    M mlir/lib/Conversion/TosaToLinalg/TosaToLinalg.cpp
    M mlir/lib/Conversion/TosaToLinalg/TosaToLinalgNamed.cpp
    M mlir/lib/Conversion/TosaToLinalg/TosaToLinalgPass.cpp
    M mlir/lib/Dialect/Tosa/Utils/ConversionUtils.cpp
    M mlir/test/Conversion/TosaToLinalg/tosa-to-linalg.mlir
    M openmp/runtime/test/parallel/omp_parallel_num_threads_list.c

  Log Message:
  -----------
  Rename toString to c_str

Created using spr 1.3.4


Compare: https://github.com/llvm/llvm-project/compare/f2251efabbc1...f48c15c8a6e8

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