[all-commits] [llvm/llvm-project] 429208: [ProfileData] Use ArrayRef in ProfOStream::patch (...

Fangrui Song via All-commits all-commits at lists.llvm.org
Thu Mar 14 19:24:04 PDT 2024


  Branch: refs/heads/users/MaskRay/spr/driver-dont-alias-mstrict-align-to-mno-unaligned-access
  Home:   https://github.com/llvm/llvm-project
  Commit: 4292086ed0e0310208f02be1b0393555770c379c
      https://github.com/llvm/llvm-project/commit/4292086ed0e0310208f02be1b0393555770c379c
  Author: Kazu Hirata <kazu at google.com>
  Date:   2024-03-14 (Thu, 14 Mar 2024)

  Changed paths:
    M llvm/lib/ProfileData/InstrProfWriter.cpp

  Log Message:
  -----------
  [ProfileData] Use ArrayRef in ProfOStream::patch (NFC) (#85317)

We always apply all of the items in PatchItems.  This patch simplifies
the interface of ProfOStream::patch by switching to ArrayRef.


  Commit: bff8755f20f112eb93d33b427f2c18d1e92b9025
      https://github.com/llvm/llvm-project/commit/bff8755f20f112eb93d33b427f2c18d1e92b9025
  Author: josh11b <github-llvm at technomagi.com>
  Date:   2024-03-14 (Thu, 14 Mar 2024)

  Changed paths:
    A utils/bazel/llvm-project-overlay/clang-tools-extra/clangd/BUILD.bazel

  Log Message:
  -----------
  [bazel] Add clangd as a library support (#81556)

Creates a `BUILD.bazel` file for the `clangd` directory in the project
overlay.

This upstreams the patch that allows
https://github.com/carbon-language/carbon-lang/tree/trunk/language_server
to use `clangd` as a library. This was created as part of a Summer of
Code project building a prototype Carbon language server. If this is not
an appropriate architecture, I'm very open to alternative paths forward.

Thanks!


  Commit: 8c03f400a837dc9333e54ab371e7904aa2bec43c
      https://github.com/llvm/llvm-project/commit/8c03f400a837dc9333e54ab371e7904aa2bec43c
  Author: Haohai Wen <haohai.wen at intel.com>
  Date:   2024-03-15 (Fri, 15 Mar 2024)

  Changed paths:
    M llvm/lib/DebugInfo/Symbolize/Symbolize.cpp
    A llvm/test/tools/llvm-profgen/Inputs/coff-profile.exe
    A llvm/test/tools/llvm-profgen/Inputs/coff-profile.perfscript
    A llvm/test/tools/llvm-profgen/coff-profile.test
    M llvm/tools/llvm-profgen/PerfReader.cpp
    M llvm/tools/llvm-profgen/ProfiledBinary.cpp
    M llvm/tools/llvm-profgen/ProfiledBinary.h

  Log Message:
  -----------
  [llvm-profgen] Support COFF binary (#83972)

Intel Vtune/SEP has supported collecting LBR on Windows and generating
perf-script file which is same format as Linux perf script. This patch
teaches llvm-profgen to disassemble COFF binary so that we can do
Sampling based PGO on Windows.


  Commit: 2ad970667f5702aa5eb23fe93f536825c06ac237
      https://github.com/llvm/llvm-project/commit/2ad970667f5702aa5eb23fe93f536825c06ac237
  Author: Jordan Rupprecht <rupprecht at google.com>
  Date:   2024-03-14 (Thu, 14 Mar 2024)

  Changed paths:
    M utils/bazel/llvm-project-overlay/llvm/unittests/BUILD.bazel

  Log Message:
  -----------
  [bazel] Add missing MachO dep for ORC test


  Commit: b4d3c2cac2426070258cdb32d6932bf05e938c7d
      https://github.com/llvm/llvm-project/commit/b4d3c2cac2426070258cdb32d6932bf05e938c7d
  Author: Iman Hosseini <hosseini.iman at yahoo.com>
  Date:   2024-03-14 (Thu, 14 Mar 2024)

  Changed paths:
    M flang/include/flang/Optimizer/Dialect/FIROps.td
    M flang/lib/Lower/ConvertCall.cpp
    M flang/test/Lower/CUDA/cuda-kernel-calls.cuf

  Log Message:
  -----------
  [flang][cuda] Update FIROps.td to add $grid_z to CudaKernelLaunch (#85318)

grid can be 3 dimensional. (@clementval)


  Commit: e4f71959ec8dc175d9f1fe4b3466062ffaf51855
      https://github.com/llvm/llvm-project/commit/e4f71959ec8dc175d9f1fe4b3466062ffaf51855
  Author: Jordan Rupprecht <rupprecht at google.com>
  Date:   2024-03-14 (Thu, 14 Mar 2024)

  Changed paths:
    M utils/bazel/llvm-project-overlay/clang-tools-extra/clangd/BUILD.bazel
    M utils/bazel/llvm-project-overlay/libc/test/src/__support/BUILD.bazel
    M utils/bazel/llvm-project-overlay/mlir/BUILD.bazel
    M utils/bazel/llvm-project-overlay/mlir/unittests/BUILD.bazel

  Log Message:
  -----------
  [bazel][NFC] Reformat w/ buildifier


  Commit: 102273a9b4886a11c78b28a77156730817d290b1
      https://github.com/llvm/llvm-project/commit/102273a9b4886a11c78b28a77156730817d290b1
  Author: Matthias Springer <me at m-sp.org>
  Date:   2024-03-15 (Fri, 15 Mar 2024)

  Changed paths:
    M mlir/lib/Dialect/Transform/IR/TransformInterfaces.cpp

  Log Message:
  -----------
  [mlir][Transform] Remove `notifyOperationErased` workaround (#84134)

D144193 (#66771) has been merged.


  Commit: 143cf1a41bc1004b48b085975c3cecc51a540dc4
      https://github.com/llvm/llvm-project/commit/143cf1a41bc1004b48b085975c3cecc51a540dc4
  Author: Jordan Rupprecht <rupprecht at google.com>
  Date:   2024-03-14 (Thu, 14 Mar 2024)

  Changed paths:
    M utils/bazel/llvm-project-overlay/clang-tools-extra/clangd/BUILD.bazel

  Log Message:
  -----------
  [bazel] Generate a shim Features.inc

This is a quick fix to make the bzl build work w/ this change. The sources included in the cc_library don't actually need the values here. Before adding more files, this should be replaced with something that actually parses Features.inc.in and sets configurable values.


  Commit: 0c07102927869f9cd23889e0666774f6298e824f
      https://github.com/llvm/llvm-project/commit/0c07102927869f9cd23889e0666774f6298e824f
  Author: Owen Pan <owenpiano at gmail.com>
  Date:   2024-03-14 (Thu, 14 Mar 2024)

  Changed paths:
    M clang/include/clang/Format/Format.h
    M clang/lib/Format/ContinuationIndenter.cpp
    M clang/lib/Format/Format.cpp
    M clang/lib/Format/FormatToken.cpp
    M clang/lib/Format/FormatToken.h
    M clang/lib/Format/FormatTokenLexer.cpp
    M clang/lib/Format/QualifierAlignmentFixer.cpp
    M clang/lib/Format/QualifierAlignmentFixer.h
    M clang/lib/Format/TokenAnnotator.cpp
    M clang/lib/Format/TokenAnnotator.h
    M clang/lib/Format/UnwrappedLineParser.cpp
    M clang/lib/Format/UnwrappedLineParser.h
    M clang/unittests/Format/TokenAnnotatorTest.cpp

  Log Message:
  -----------
  [clang-format][NFC] Eliminate the IsCpp parameter in all functions (#84599)


  Commit: acb57609bfa0a28f7d78cf393541389f68660c0a
      https://github.com/llvm/llvm-project/commit/acb57609bfa0a28f7d78cf393541389f68660c0a
  Author: Fangrui Song <i at maskray.me>
  Date:   2024-03-14 (Thu, 14 Mar 2024)

  Changed paths:
    M clang/include/clang/Driver/Options.td
    M clang/include/clang/Format/Format.h
    M clang/lib/Format/ContinuationIndenter.cpp
    M clang/lib/Format/Format.cpp
    M clang/lib/Format/FormatToken.cpp
    M clang/lib/Format/FormatToken.h
    M clang/lib/Format/FormatTokenLexer.cpp
    M clang/lib/Format/QualifierAlignmentFixer.cpp
    M clang/lib/Format/QualifierAlignmentFixer.h
    M clang/lib/Format/TokenAnnotator.cpp
    M clang/lib/Format/TokenAnnotator.h
    M clang/lib/Format/UnwrappedLineParser.cpp
    M clang/lib/Format/UnwrappedLineParser.h
    M clang/unittests/Format/TokenAnnotatorTest.cpp
    M flang/include/flang/Optimizer/Dialect/FIROps.td
    M flang/lib/Lower/ConvertCall.cpp
    M flang/test/Lower/CUDA/cuda-kernel-calls.cuf
    M llvm/lib/DebugInfo/Symbolize/Symbolize.cpp
    M llvm/lib/ProfileData/InstrProfWriter.cpp
    A llvm/test/tools/llvm-profgen/Inputs/coff-profile.exe
    A llvm/test/tools/llvm-profgen/Inputs/coff-profile.perfscript
    A llvm/test/tools/llvm-profgen/coff-profile.test
    M llvm/tools/llvm-profgen/PerfReader.cpp
    M llvm/tools/llvm-profgen/ProfiledBinary.cpp
    M llvm/tools/llvm-profgen/ProfiledBinary.h
    M mlir/lib/Dialect/Transform/IR/TransformInterfaces.cpp
    A utils/bazel/llvm-project-overlay/clang-tools-extra/clangd/BUILD.bazel
    M utils/bazel/llvm-project-overlay/libc/test/src/__support/BUILD.bazel
    M utils/bazel/llvm-project-overlay/llvm/unittests/BUILD.bazel
    M utils/bazel/llvm-project-overlay/mlir/BUILD.bazel
    M utils/bazel/llvm-project-overlay/mlir/unittests/BUILD.bazel

  Log Message:
  -----------
  also remove cc1 options

Created using spr 1.3.5-bogner


Compare: https://github.com/llvm/llvm-project/compare/94997d2d43a4...acb57609bfa0

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