[all-commits] [llvm/llvm-project] 1e5ca9: [libc][bazel] Fix missing fmodbf16 dependency (#15...

Steven Wu via All-commits all-commits at lists.llvm.org
Fri Sep 5 16:12:23 PDT 2025


  Branch: refs/heads/users/cachemeifyoucan/spr/cas-add-mappedfileregionbumpptr
  Home:   https://github.com/llvm/llvm-project
  Commit: 1e5ca974f097c02e151b8b17c43491db61e2f8ff
      https://github.com/llvm/llvm-project/commit/1e5ca974f097c02e151b8b17c43491db61e2f8ff
  Author: Michael Jones <michaelrj at google.com>
  Date:   2025-09-05 (Fri, 05 Sep 2025)

  Changed paths:
    M utils/bazel/llvm-project-overlay/libc/BUILD.bazel
    M utils/bazel/llvm-project-overlay/libc/test/src/math/smoke/BUILD.bazel

  Log Message:
  -----------
  [libc][bazel] Fix missing fmodbf16 dependency (#157149)

Tests were failing due to a missing dependency on fputil/bfloat16.


  Commit: 16661b5d6c0555850f95d34e585a0643f7f92fcb
      https://github.com/llvm/llvm-project/commit/16661b5d6c0555850f95d34e585a0643f7f92fcb
  Author: Farzon Lotfi <farzonlotfi at microsoft.com>
  Date:   2025-09-05 (Fri, 05 Sep 2025)

  Changed paths:
    M clang/lib/Driver/ToolChains/HLSL.cpp
    M clang/unittests/Driver/DXCModeTest.cpp
    M llvm/include/llvm/TargetParser/Triple.h
    M llvm/lib/Target/DirectX/DXILIntrinsicExpansion.cpp
    M llvm/lib/TargetParser/Triple.cpp
    M llvm/test/CodeGen/DirectX/is_fpclass.ll
    M llvm/test/CodeGen/DirectX/isinf.ll
    M llvm/unittests/TargetParser/TripleTest.cpp

  Log Message:
  -----------
  [DirectX] Add isinf f16 emulation for SM6.8 and lower (#156932)

fixes #156068

- We needed to add a new sub arch to the target tripple so we can test
that emulation does not happen when targeting SM6.9
- The HLSL toolchain needed to be updated to handle the conversion of
strings to enums for the new sub arch.
- The emulation is done in DXILIntrinsicExpansion.cpp and needs to be
able to convert both llvm.is.fpclass and lvm.dx.isinf to the proper
emulation
- test updates in TargetParser/TripleTest.cpp, isinf.ll, is_fpclass.ll,
and DXCModeTest.cpp


  Commit: 4c29a600fa34d0c1cabf4ffcf081f2a00b09fddd
      https://github.com/llvm/llvm-project/commit/4c29a600fa34d0c1cabf4ffcf081f2a00b09fddd
  Author: Samira Bakon <bazuzi at google.com>
  Date:   2025-09-05 (Fri, 05 Sep 2025)

  Changed paths:
    M clang/include/clang/Analysis/FlowSensitive/StorageLocation.h
    M clang/lib/Analysis/FlowSensitive/Transfer.cpp
    M clang/unittests/Analysis/FlowSensitive/TransferTest.cpp

  Log Message:
  -----------
  Revert "[clang][dataflow] Transfer more cast expressions." (#157148)

Reverts llvm/llvm-project#153066

copyRecord crashes if copying from the RecordStorageLocation shared by
the base/derived objects after a DerivedToBase cast because the source
type is still `Derived` but the copy destination could be of a sibling
type derived from Base that has children not present in `Derived`.

For example, running the dataflow analysis over the following produces
UB by nullptr deref, or fails asserts if enabled:

```cc
struct Base {};

struct DerivedOne : public Base {
  int DerivedOneField;
};

struct DerivedTwo : public Base {
  int DerivedTwoField;

  DerivedTwo(const DerivedOne& d1)
      : Base(d1), DerivedTwoField(d1.DerivedOneField) {}
};
```

The constructor initializer for `DerivedTwoField` serves the purpose of
forcing `DerivedOneField` to be modeled, which is necessary to trigger
the crash but not the assert failure.


  Commit: fb60defd839d2eac7428abe60b362145a6888e69
      https://github.com/llvm/llvm-project/commit/fb60defd839d2eac7428abe60b362145a6888e69
  Author: Steven Wu <stevenwu at apple.com>
  Date:   2025-09-05 (Fri, 05 Sep 2025)

  Changed paths:
    M llvm/include/llvm/Support/VirtualOutputConfig.h

  Log Message:
  -----------
  [VFS] Fix buildbot failure caused by #113363

Drop few `constexpr` from the change that causes internal compiler error
in some GCC versions used in some buildbot.


  Commit: 698a40d7112a32bab16e1e8cb3f10bdc6a28c36d
      https://github.com/llvm/llvm-project/commit/698a40d7112a32bab16e1e8cb3f10bdc6a28c36d
  Author: Amr Hesham <amr96 at programmer.net>
  Date:   2025-09-05 (Fri, 05 Sep 2025)

  Changed paths:
    M clang/lib/CIR/CodeGen/CIRGenExprComplex.cpp
    M clang/test/CIR/CodeGen/complex-compound-assignment.cpp

  Log Message:
  -----------
  [CIR] Fix Complex emit promotion for Div op (#156963)

This change fixes emitting promotion type for div op

Issue: https://github.com/llvm/llvm-project/issues/141365


  Commit: 1acd429544d58f07208c82b5ca4923c5093ec52d
      https://github.com/llvm/llvm-project/commit/1acd429544d58f07208c82b5ca4923c5093ec52d
  Author: Stefan Mada <smada at nvidia.com>
  Date:   2025-09-06 (Sat, 06 Sep 2025)

  Changed paths:
    M mlir/include/mlir/Dialect/LLVMIR/NVVMOps.td

  Log Message:
  -----------
  [MLIR][NVVM] [NFC] Add summary and description fields for several OPs (#156726)

Several operations in the NVVM dialect were missing summaries and
descriptions. This PR
adds summaries and descriptions for the following operations:

1. nvvm.bar.warp.sync
2. nvvm.barrier
3. nvvm.barrier0
4. nvvm.mbarrier.arrive
5. nvvm.mbarrier.arrive.expect_tx
6. nvvm.mbarrier.arrive.expect_tx.shared
7. nvvm.mbarrier.arrive.nocomplete
8. nvvm.mbarrier.arrive.nocomplete.shared
9. nvvm.mbarrier.arrive.shared
10. nvvm.mbarrier.init
11. nvvm.mbarrier.init.shared
12. nvvm.mbarrier.inval
13. nvvm.mbarrier.inval.shared
14. nvvm.mbarrier.test.wait
15. nvvm.mbarrier.test.wait.shared
16. nvvm.mbarrier.try_wait.parity
17. nvvm.mbarrier.try_wait.parity.shared

Documentation available here:
[mbarrier](https://docs.nvidia.com/cuda/parallel-thread-execution/index.html#parallel-synchronization-and-communication-instructions-mbarrier),
[barrier](https://docs.nvidia.com/cuda/parallel-thread-execution/index.html#parallel-synchronization-and-communication-instructions-mbarrier)


  Commit: 97086d6fdacf67327a65317826955bab377aafc0
      https://github.com/llvm/llvm-project/commit/97086d6fdacf67327a65317826955bab377aafc0
  Author: Carlos Galvez <carlosgalvezp at gmail.com>
  Date:   2025-09-05 (Fri, 05 Sep 2025)

  Changed paths:
    M clang-tools-extra/docs/ReleaseNotes.rst
    A clang-tools-extra/test/clang-tidy/infrastructure/Inputs/invalid-database/compile_commands.json
    M clang-tools-extra/test/clang-tidy/infrastructure/empty-database.cpp
    A clang-tools-extra/test/clang-tidy/infrastructure/invalid-database.cpp
    M clang/lib/Tooling/Tooling.cpp

  Log Message:
  -----------
  [clang-tidy] Do not crash when an empty directory is used in the comp… (#156873)

…ilation database

Currently a hard crash encourages people to report a bug upstream, but
this is not really a bug. Instead, print an error and use a reasonable
default (the current working directory).

Fixes #57264

Co-authored-by: Carlos Gálvez <carlos.galvez at zenseact.com>


  Commit: 5cf4959b2121aac82f86b10a2c9b9faa74fedda9
      https://github.com/llvm/llvm-project/commit/5cf4959b2121aac82f86b10a2c9b9faa74fedda9
  Author: Roland McGrath <mcgrathr at google.com>
  Date:   2025-09-05 (Fri, 05 Sep 2025)

  Changed paths:
    M compiler-rt/lib/scudo/standalone/common.cpp
    M compiler-rt/lib/scudo/standalone/common.h

  Log Message:
  -----------
  [scudo] Move getPageSize() decl to common.h header (#157146)

The getPageSize() function is defined in the platform-specific
source files but used in common.cpp.  Every function used across
files should be declared in a header so the same declaration is
in scope for the callers and the definition.


  Commit: faab8f76d521d71edc196b899b5496ca2bf634d5
      https://github.com/llvm/llvm-project/commit/faab8f76d521d71edc196b899b5496ca2bf634d5
  Author: Craig Topper <craig.topper at sifive.com>
  Date:   2025-09-05 (Fri, 05 Sep 2025)

  Changed paths:
    M llvm/lib/Target/RISCV/RISCVISelDAGToDAG.cpp
    M llvm/test/CodeGen/RISCV/bitextract-mac.ll
    M llvm/test/CodeGen/RISCV/ctlz-cttz-ctpop.ll

  Log Message:
  -----------
  [RISCV] Add th.ext(u) to RISCVDAGToDAGISel::hasAllNBitUsers. (#157133)

These instructions are being used by the scalar efficiency SIG to
determine if we should have a standard instruction. Improving our
support for these instructions may give better data for their analysis.

I'll follow up by adding this to RISCVOptWInstrs too which will remove
the 'w' suffixes added here.


  Commit: 7506900b8895a4185e47b33eb734083640f20d24
      https://github.com/llvm/llvm-project/commit/7506900b8895a4185e47b33eb734083640f20d24
  Author: Craig Topper <craig.topper at sifive.com>
  Date:   2025-09-05 (Fri, 05 Sep 2025)

  Changed paths:
    M llvm/lib/Target/RISCV/RISCVOptWInstrs.cpp
    M llvm/test/CodeGen/RISCV/rv64xtheadbb.ll

  Log Message:
  -----------
  [RISCV] Add th.ext(u) to isSignExtendingOpW in RISCVOptWInstrs. (#157147)

These instructions extract and range of bits, move them to the LSB
then sign or zero extend the result to fill the upper bits. If
the extracted bits is small enough then the result will have 33
sign bits.


  Commit: a549e73cad60336d8e9c0622ae7ad86aa65ef4ce
      https://github.com/llvm/llvm-project/commit/a549e73cad60336d8e9c0622ae7ad86aa65ef4ce
  Author: Erich Keane <ekeane at nvidia.com>
  Date:   2025-09-05 (Fri, 05 Sep 2025)

  Changed paths:
    M clang/lib/CIR/CodeGen/CIRGenOpenACCClause.cpp
    A clang/lib/CIR/CodeGen/CIRGenOpenACCRecipe.h

  Log Message:
  -----------
  [OpenACC][NFCI] Split recipe generation into its own class (#157160)

The recipe generation was dependent on the clause kind, which meant we
had all of the recipe generation duplicated in each of clauses. This
patch copy/pastes all of them into their own type to do recipe
generation, which should reduce clang's size.

Additionally, we've moved it off into its own file, which should make
readability/organization improvements.


  Commit: 5cda2424c8f9a0ecac2cc9f6c7f41883a16bea12
      https://github.com/llvm/llvm-project/commit/5cda2424c8f9a0ecac2cc9f6c7f41883a16bea12
  Author: Alexandre Ganea <aganea at havenstudios.com>
  Date:   2025-09-05 (Fri, 05 Sep 2025)

  Changed paths:
    M lld/COFF/LTO.cpp
    M lld/COFF/SymbolTable.cpp
    M llvm/lib/Bitcode/Reader/MetadataLoader.cpp
    M llvm/lib/IR/AutoUpgrade.cpp
    M llvm/lib/IR/DebugInfo.cpp
    M llvm/lib/IR/Module.cpp
    M llvm/lib/IR/Verifier.cpp
    M llvm/lib/LTO/LTO.cpp
    M llvm/lib/LTO/LTOBackend.cpp
    M llvm/lib/Transforms/IPO/FunctionImport.cpp
    M llvm/lib/Transforms/IPO/WholeProgramDevirt.cpp
    M llvm/lib/Transforms/Utils/FunctionImportUtils.cpp

  Log Message:
  -----------
  [LLD][COFF] Add more `--time-trace` tags for ThinLTO linking (#156471)

In order to better see what's going on during ThinLTO linking, this PR
adds more profile tags when using `--time-trace` on a `lld-link.exe`
invocation.

After PR, linking `clang.exe`:

<img width="3839" height="2026" alt="Capture d’écran 2025-09-02 082021"
src="https://github.com/user-attachments/assets/bf0c85ba-2f85-4bbf-a5c1-800039b56910"
/>

Linking a custom (Unreal Engine game) binary gives a completly
different picture, probably because of using Unity files, and the sheer
amount of input files (here, providing over 60 GB of .OBJs/.LIBs).

<img width="1940" height="1008" alt="Capture d’écran 2025-09-02 102048"
src="https://github.com/user-attachments/assets/60b28630-7995-45ce-9e8c-13f3cb5312e0"
/>


  Commit: b9b0ea5f621b276d767df3d197171766c5bcff0a
      https://github.com/llvm/llvm-project/commit/b9b0ea5f621b276d767df3d197171766c5bcff0a
  Author: Florian Hahn <flo at fhahn.com>
  Date:   2025-09-05 (Fri, 05 Sep 2025)

  Changed paths:
    M llvm/lib/Transforms/Vectorize/LoopVectorizationLegality.cpp
    M llvm/test/Transforms/LoopVectorize/dereferenceable-info-from-assumption-constant-size-needs-loop-guards.ll

  Log Message:
  -----------
  [LV] Pass DT to isGuaranteedNotToBePoison in canVectorizeWithIfCvt.

Pass DT to slightly improve analysis results. Note that the context
instruction is already passed.


  Commit: 6d40138446b2f65672bfd07960c6905207535eff
      https://github.com/llvm/llvm-project/commit/6d40138446b2f65672bfd07960c6905207535eff
  Author: Steven Wu <stevenwu at apple.com>
  Date:   2025-09-05 (Fri, 05 Sep 2025)

  Changed paths:
    M clang-tools-extra/docs/ReleaseNotes.rst
    A clang-tools-extra/test/clang-tidy/infrastructure/Inputs/invalid-database/compile_commands.json
    M clang-tools-extra/test/clang-tidy/infrastructure/empty-database.cpp
    A clang-tools-extra/test/clang-tidy/infrastructure/invalid-database.cpp
    M clang/include/clang/Analysis/FlowSensitive/StorageLocation.h
    M clang/lib/Analysis/FlowSensitive/Transfer.cpp
    M clang/lib/CIR/CodeGen/CIRGenExprComplex.cpp
    M clang/lib/CIR/CodeGen/CIRGenOpenACCClause.cpp
    A clang/lib/CIR/CodeGen/CIRGenOpenACCRecipe.h
    M clang/lib/Driver/ToolChains/HLSL.cpp
    M clang/lib/Tooling/Tooling.cpp
    M clang/test/CIR/CodeGen/complex-compound-assignment.cpp
    M clang/unittests/Analysis/FlowSensitive/TransferTest.cpp
    M clang/unittests/Driver/DXCModeTest.cpp
    M compiler-rt/lib/scudo/standalone/common.cpp
    M compiler-rt/lib/scudo/standalone/common.h
    M lld/COFF/LTO.cpp
    M lld/COFF/SymbolTable.cpp
    M llvm/include/llvm/CAS/MappedFileRegionBumpPtr.h
    M llvm/include/llvm/Support/VirtualOutputConfig.h
    M llvm/include/llvm/TargetParser/Triple.h
    M llvm/lib/Bitcode/Reader/MetadataLoader.cpp
    M llvm/lib/CAS/MappedFileRegionBumpPtr.cpp
    M llvm/lib/IR/AutoUpgrade.cpp
    M llvm/lib/IR/DebugInfo.cpp
    M llvm/lib/IR/Module.cpp
    M llvm/lib/IR/Verifier.cpp
    M llvm/lib/LTO/LTO.cpp
    M llvm/lib/LTO/LTOBackend.cpp
    M llvm/lib/Target/DirectX/DXILIntrinsicExpansion.cpp
    M llvm/lib/Target/RISCV/RISCVISelDAGToDAG.cpp
    M llvm/lib/Target/RISCV/RISCVOptWInstrs.cpp
    M llvm/lib/TargetParser/Triple.cpp
    M llvm/lib/Transforms/IPO/FunctionImport.cpp
    M llvm/lib/Transforms/IPO/WholeProgramDevirt.cpp
    M llvm/lib/Transforms/Utils/FunctionImportUtils.cpp
    M llvm/lib/Transforms/Vectorize/LoopVectorizationLegality.cpp
    M llvm/test/CodeGen/DirectX/is_fpclass.ll
    M llvm/test/CodeGen/DirectX/isinf.ll
    M llvm/test/CodeGen/RISCV/bitextract-mac.ll
    M llvm/test/CodeGen/RISCV/ctlz-cttz-ctpop.ll
    M llvm/test/CodeGen/RISCV/rv64xtheadbb.ll
    M llvm/test/Transforms/LoopVectorize/dereferenceable-info-from-assumption-constant-size-needs-loop-guards.ll
    M llvm/unittests/CAS/ProgramTest.cpp
    M llvm/unittests/TargetParser/TripleTest.cpp
    M mlir/include/mlir/Dialect/LLVMIR/NVVMOps.td
    M utils/bazel/llvm-project-overlay/libc/BUILD.bazel
    M utils/bazel/llvm-project-overlay/libc/test/src/math/smoke/BUILD.bazel

  Log Message:
  -----------
  fix windows test

Created using spr 1.3.6


Compare: https://github.com/llvm/llvm-project/compare/191f64abf2aa...6d40138446b2

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