[all-commits] [llvm/llvm-project] e1ac57: [mlir][test] Add missing `REQUIRES: asserts` for -...

Fangrui Song via All-commits all-commits at lists.llvm.org
Fri Jul 18 21:53:07 PDT 2025


  Branch: refs/heads/users/MaskRay/spr/mc-refactor-ft_align-fragments-when-linker-relaxation-is-enabled
  Home:   https://github.com/llvm/llvm-project
  Commit: e1ac57c1a560b1d9891f93081e2f9c862c4a8d77
      https://github.com/llvm/llvm-project/commit/e1ac57c1a560b1d9891f93081e2f9c862c4a8d77
  Author: Jordan Rupprecht <rupprecht at google.com>
  Date:   2025-07-18 (Fri, 18 Jul 2025)

  Changed paths:
    M mlir/test/IR/test-pattern-logging-listener.mlir

  Log Message:
  -----------
  [mlir][test] Add missing `REQUIRES: asserts` for --debug-only flag (#149634)

Debug flags are not provided in fully optimized builds.

Test added in #149378 / #146228


  Commit: e57315e6ca8f05154e205136bb940b8cb14028d3
      https://github.com/llvm/llvm-project/commit/e57315e6ca8f05154e205136bb940b8cb14028d3
  Author: Teresa Johnson <tejohnson at google.com>
  Date:   2025-07-18 (Fri, 18 Jul 2025)

  Changed paths:
    M llvm/include/llvm/Analysis/MemoryProfileInfo.h
    M llvm/lib/Analysis/MemoryProfileInfo.cpp
    M llvm/test/Transforms/Inline/memprof_inline2.ll
    A llvm/test/Transforms/Inline/memprof_inline3.ll

  Log Message:
  -----------
  [MemProf] Fix discarding of noncold contexts after inlining (#149599)

When we rebuild the call site tries after inlining of an allocation with
MD_memprof metadata, we don't want to reapply the discarding of small
non-cold contexts (under -memprof-callsite-cold-threshold=) because we
have either no context size info (without -memprof-report-hinted-sizes
or another option that causes us to keep that as metadata), and even
with that information in the metadata, we have imperfect information at
that point as we have already discarded some contexts during matching.

The first case was even worse because we didn't guard our check by
whether the number of cold bytes was 0, leading to very aggressive
pruning during post-inline metadata rebuilding without the context size
information.


  Commit: 572bbfb3a670d9f8fb8a6ca24c807cd16665ba3f
      https://github.com/llvm/llvm-project/commit/572bbfb3a670d9f8fb8a6ca24c807cd16665ba3f
  Author: Fangrui Song <i at maskray.me>
  Date:   2025-07-18 (Fri, 18 Jul 2025)

  Changed paths:
    M llvm/include/llvm/Analysis/MemoryProfileInfo.h
    M llvm/lib/Analysis/MemoryProfileInfo.cpp
    M llvm/test/Transforms/Inline/memprof_inline2.ll
    A llvm/test/Transforms/Inline/memprof_inline3.ll
    M mlir/test/IR/test-pattern-logging-listener.mlir

  Log Message:
  -----------
  [𝘀𝗽𝗿] changes introduced through rebase

Created using spr 1.3.5-bogner

[skip ci]


  Commit: 98ba1d94647a947baf3a9472d3caaf6e2abeeb00
      https://github.com/llvm/llvm-project/commit/98ba1d94647a947baf3a9472d3caaf6e2abeeb00
  Author: Fangrui Song <i at maskray.me>
  Date:   2025-07-18 (Fri, 18 Jul 2025)

  Changed paths:
    M llvm/include/llvm/Analysis/MemoryProfileInfo.h
    M llvm/lib/Analysis/MemoryProfileInfo.cpp
    M llvm/lib/MC/MCFragment.cpp
    M llvm/lib/Target/LoongArch/MCTargetDesc/LoongArchAsmBackend.cpp
    M llvm/lib/Target/RISCV/MCTargetDesc/RISCVAsmBackend.cpp
    M llvm/test/Transforms/Inline/memprof_inline2.ll
    A llvm/test/Transforms/Inline/memprof_inline3.ll
    M mlir/test/IR/test-pattern-logging-listener.mlir

  Log Message:
  -----------
  improve comment

Created using spr 1.3.5-bogner


Compare: https://github.com/llvm/llvm-project/compare/5342ee14c7fb...98ba1d94647a

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