[all-commits] [llvm/llvm-project] 4f0070: [clang-doc] place HTML/JSON output inside their ow...

Steven Wu via All-commits all-commits at lists.llvm.org
Thu Aug 14 14:13:59 PDT 2025


  Branch: refs/heads/users/cachemeifyoucan/spr/support-add-mapped_file_regionsync-equivalent-to-msync
  Home:   https://github.com/llvm/llvm-project
  Commit: 4f007041a87b1b0c2686d1871ea6e35394545865
      https://github.com/llvm/llvm-project/commit/4f007041a87b1b0c2686d1871ea6e35394545865
  Author: Erick Velez <erickvelez7 at gmail.com>
  Date:   2025-08-14 (Thu, 14 Aug 2025)

  Changed paths:
    M clang-tools-extra/clang-doc/HTMLMustacheGenerator.cpp
    M clang-tools-extra/clang-doc/JSONGenerator.cpp
    M clang-tools-extra/test/clang-doc/basic-project.mustache.test
    M clang-tools-extra/test/clang-doc/json/class-requires.cpp
    M clang-tools-extra/test/clang-doc/json/class-specialization.cpp
    M clang-tools-extra/test/clang-doc/json/class-template.cpp
    M clang-tools-extra/test/clang-doc/json/class.cpp
    M clang-tools-extra/test/clang-doc/json/compound-constraints.cpp
    M clang-tools-extra/test/clang-doc/json/concept.cpp
    M clang-tools-extra/test/clang-doc/json/function-requires.cpp
    M clang-tools-extra/test/clang-doc/json/function-specifiers.cpp
    M clang-tools-extra/test/clang-doc/json/method-template.cpp
    M clang-tools-extra/test/clang-doc/json/namespace.cpp
    M clang-tools-extra/test/clang-doc/json/nested-namespace.cpp
    M clang-tools-extra/test/clang-doc/mustache-index.cpp
    M clang-tools-extra/test/clang-doc/mustache-separate-namespace.cpp

  Log Message:
  -----------
  [clang-doc] place HTML/JSON output inside their own directories (#150655)

Instead of just outputting everything into the designated root folder,
HTML and JSON output will be placed in html/ and json/ directories.


  Commit: 2912c9c249350bae3178ba7fad605e1f269c32e7
      https://github.com/llvm/llvm-project/commit/2912c9c249350bae3178ba7fad605e1f269c32e7
  Author: Abhinav Gaba <abhinav.gaba at intel.com>
  Date:   2025-08-14 (Thu, 14 Aug 2025)

  Changed paths:
    M offload/test/mapping/data_member_ref.cpp
    M offload/test/mapping/declare_mapper_nested_default_mappers.cpp
    M offload/test/mapping/declare_mapper_nested_mappers.cpp
    M offload/test/mapping/ptr_and_obj_motion.c
    M offload/test/mapping/target_derefence_array_pointrs.cpp
    M offload/test/mapping/target_has_device_addr.c

  Log Message:
  -----------
  [NFC][Offload] Add missing maps to OpenMP offloading tests. (#153103)

A few tests were only mapping a pointee, like: `map(pp[0][0])`, on an
`int** pp`, but expecting the pointers, like `pp`, `pp[0]` to also be
mapped, which is incorrect.

This change fixes six such tests.


  Commit: a508ea2ad7d9ab8bad0ec8fa3db3397985d57841
      https://github.com/llvm/llvm-project/commit/a508ea2ad7d9ab8bad0ec8fa3db3397985d57841
  Author: Mircea Trofin <mtrofin at google.com>
  Date:   2025-08-14 (Thu, 14 Aug 2025)

  Changed paths:
    M llvm/lib/Transforms/Scalar/CMakeLists.txt
    M llvm/lib/Transforms/Scalar/JumpTableToSwitch.cpp

  Log Message:
  -----------
  Add dependency on `ProfileData` from ScalarOpts (#153651)

Fixing buildbot failures after PR #153305, e.g.
https://lab.llvm.org/buildbot/#/builders/203/builds/19861

Analysis already depends on `ProfileData`, so the transitive closure of
the dependencies of `ScalarOpts` doesn't change.

Also avoided an extra dependency (and very unnecessary) on
`Instrumentation`. The API previously used doesn't need to live in
Instrumentation to begin with, but that's something to address in a
follow-up.


  Commit: eeada0d30f41b2d680073e49246ac0388e6c5ec7
      https://github.com/llvm/llvm-project/commit/eeada0d30f41b2d680073e49246ac0388e6c5ec7
  Author: Matheus Izvekov <mizvekov at gmail.com>
  Date:   2025-08-14 (Thu, 14 Aug 2025)

  Changed paths:
    M clang/include/clang/AST/TypeLoc.h
    M clang/test/AST/ast-dump-templates.cpp

  Log Message:
  -----------
  [clang] fix source range computation for DeducedTemplateSpecializationType (#153646)

This was a regression introduced in
https://github.com/llvm/llvm-project/pull/147835

Since this regression was never released, there are no release notes.

Fixes https://github.com/llvm/llvm-project/issues/153540


  Commit: 334a046a3cd31aaec00c4e4bb8866242c6e38c98
      https://github.com/llvm/llvm-project/commit/334a046a3cd31aaec00c4e4bb8866242c6e38c98
  Author: Michael Berg <93234525+mcberg2021 at users.noreply.github.com>
  Date:   2025-08-14 (Thu, 14 Aug 2025)

  Changed paths:
    M llvm/lib/Analysis/LoopAccessAnalysis.cpp
    M llvm/lib/Transforms/Scalar/LoopDistribute.cpp
    A llvm/test/Transforms/LoopDistribute/cross-partition-access.ll

  Log Message:
  -----------
  [LoopDist] Consider reads and writes together for runtime checks (#145623)

Emit safety guards for ptr accesses when cross partition loads exist
which have a corresponding store to the same address in a different
partition. This will emit the necessary ptr checks for these accesses.

The test case was obtained from SuperTest, which SiFive runs regularly.
We enabled LoopDistribution by default in our downstream compiler, this
change was part of that enablement.


  Commit: 49f20934776cccbed82ccdca657d9111bf550286
      https://github.com/llvm/llvm-project/commit/49f20934776cccbed82ccdca657d9111bf550286
  Author: Stanislav Mekhanoshin <Stanislav.Mekhanoshin at amd.com>
  Date:   2025-08-14 (Thu, 14 Aug 2025)

  Changed paths:
    M llvm/docs/AMDGPUUsage.rst
    M llvm/lib/Target/AMDGPU/AMDGPU.td
    M llvm/lib/Target/AMDGPU/AMDGPUAsmPrinter.cpp
    M llvm/lib/Target/AMDGPU/AMDGPUFeatures.td
    M llvm/lib/Target/AMDGPU/Utils/AMDGPUBaseInfo.cpp
    M llvm/test/CodeGen/AMDGPU/extra-lds-size.ll
    A llvm/test/CodeGen/AMDGPU/lds-limit-diagnostics-gfx1250.ll
    A llvm/test/CodeGen/AMDGPU/lds-size-hsa-gfx1250.ll
    A llvm/test/CodeGen/AMDGPU/lds-size-pal-gfx1250.ll

  Log Message:
  -----------
  [AMDGPU] Increase LDS to 320K on gfx1250 (#153645)


  Commit: 5479b7ed4200a85de3aa9335110883a86715811d
      https://github.com/llvm/llvm-project/commit/5479b7ed4200a85de3aa9335110883a86715811d
  Author: CatherineMoore <catmoore at amd.com>
  Date:   2025-08-14 (Thu, 14 Aug 2025)

  Changed paths:
    M openmp/runtime/src/kmp_settings.cpp

  Log Message:
  -----------
  [OpenMP] Update printf stmt in  kmp_settings.cpp (#152800)

Remove extraneous argument from printf statement

---------

Co-authored-by: Joachim <protze at rz.rwth-aachen.de>


  Commit: aa4805a09052c1b6298718eeb6d30c33dd0d695f
      https://github.com/llvm/llvm-project/commit/aa4805a09052c1b6298718eeb6d30c33dd0d695f
  Author: Bill Wendling <morbo at google.com>
  Date:   2025-08-14 (Thu, 14 Aug 2025)

  Changed paths:
    M clang/include/clang/AST/Type.h
    M clang/include/clang/Basic/Attr.td
    M clang/include/clang/Basic/AttrDocs.td
    M clang/lib/AST/ASTContext.cpp
    M clang/lib/AST/Type.cpp
    M clang/lib/AST/TypePrinter.cpp
    M clang/lib/CodeGen/CodeGenFunction.cpp
    M clang/lib/CodeGen/CodeGenModule.cpp
    M clang/lib/CodeGen/CodeGenModule.h
    M clang/lib/Sema/SemaType.cpp
    A clang/test/CodeGen/cfi-salt.c
    M clang/test/Misc/pragma-attribute-supported-attributes-list.test
    A clang/test/Sema/attr-cfi-salt.c

  Log Message:
  -----------
  [Clang][attr] Add 'cfi_salt' attribute (#141846)

The 'cfi_salt' attribute specifies a string literal that is used as a
"salt" for Control-Flow Integrity (CFI) checks to distinguish between
functions with the same type signature. This attribute can be applied
to function declarations, function definitions, and function pointer
typedefs.

This attribute prevents function pointers from being replaced with
pointers to functions that have a compatible type, which can be a CFI
bypass vector.

The attribute affects type compatibility during compilation and CFI
hash generation during code generation.

  Attribute syntax: [[clang::cfi_salt("<salt_string>")]]
  GNU-style syntax: __attribute__((cfi_salt("<salt_string>")))

- The attribute takes a single string of non-NULL ASCII characters.
- It only applies to function types; using it on a non-function type
  will generate an error.
- All function declarations and the function definition must include
  the attribute and use identical salt values.

Example usage:

  // Header file:
  #define __cfi_salt(S) __attribute__((cfi_salt(S)))

  // Convenient typedefs to avoid nested declarator syntax.
  typedef int (*fp_unsalted_t)(void);
  typedef int (*fp_salted_t)(void) __cfi_salt("pepper");

  struct widget_ops {
    fp_unsalted_t init;     // Regular CFI.
    fp_salted_t exec;       // Salted CFI.
    fp_unsalted_t teardown; // Regular CFI.
  };

  // bar.c file:
  static int bar_init(void) { ... }
  static int bar_salted_exec(void) __cfi_salt("pepper") { ... }
  static int bar_teardown(void) { ... }

  static struct widget_generator _generator = {
    .init = bar_init,
    .exec = bar_salted_exec,
    .teardown = bar_teardown,
  };

  struct widget_generator *widget_gen = _generator;

  // 2nd .c file:
  int generate_a_widget(void) {
    int ret;

    // Called with non-salted CFI.
    ret = widget_gen.init();
    if (ret)
      return ret;

    // Called with salted CFI.
    ret = widget_gen.exec();
    if (ret)
      return ret;

    // Called with non-salted CFI.
    return widget_gen.teardown();
  }

Link: https://github.com/ClangBuiltLinux/linux/issues/1736
Link: https://github.com/KSPP/linux/issues/365

---------

Signed-off-by: Bill Wendling <morbo at google.com>
Co-authored-by: Aaron Ballman <aaron at aaronballman.com>


  Commit: e5e3e4bdb57efbfc0b2709d198d4ced752794bcd
      https://github.com/llvm/llvm-project/commit/e5e3e4bdb57efbfc0b2709d198d4ced752794bcd
  Author: Erich Keane <ekeane at nvidia.com>
  Date:   2025-08-14 (Thu, 14 Aug 2025)

  Changed paths:
    M mlir/include/mlir/Dialect/OpenACC/OpenACCOps.td
    M mlir/lib/Dialect/OpenACC/IR/OpenACC.cpp

  Log Message:
  -----------
  [OpenACC] Add firstprivate recipe helper methods to ACC dialect (#153604)

Like we did for the 'private' clause, this adds an easier to use helper
function to add the 'firstprivate' clause + recipe to the Parallel and
Serial ops.


  Commit: f04adce299354355327253990577ed4c8553badf
      https://github.com/llvm/llvm-project/commit/f04adce299354355327253990577ed4c8553badf
  Author: Steven Wu <stevenwu at apple.com>
  Date:   2025-08-14 (Thu, 14 Aug 2025)

  Changed paths:
    M clang-tools-extra/clang-doc/HTMLMustacheGenerator.cpp
    M clang-tools-extra/clang-doc/JSONGenerator.cpp
    M clang-tools-extra/test/clang-doc/basic-project.mustache.test
    M clang-tools-extra/test/clang-doc/json/class-requires.cpp
    M clang-tools-extra/test/clang-doc/json/class-specialization.cpp
    M clang-tools-extra/test/clang-doc/json/class-template.cpp
    M clang-tools-extra/test/clang-doc/json/class.cpp
    M clang-tools-extra/test/clang-doc/json/compound-constraints.cpp
    M clang-tools-extra/test/clang-doc/json/concept.cpp
    M clang-tools-extra/test/clang-doc/json/function-requires.cpp
    M clang-tools-extra/test/clang-doc/json/function-specifiers.cpp
    M clang-tools-extra/test/clang-doc/json/method-template.cpp
    M clang-tools-extra/test/clang-doc/json/namespace.cpp
    M clang-tools-extra/test/clang-doc/json/nested-namespace.cpp
    M clang-tools-extra/test/clang-doc/mustache-index.cpp
    M clang-tools-extra/test/clang-doc/mustache-separate-namespace.cpp
    M clang/include/clang/AST/Type.h
    M clang/include/clang/AST/TypeLoc.h
    M clang/include/clang/Basic/Attr.td
    M clang/include/clang/Basic/AttrDocs.td
    M clang/lib/AST/ASTContext.cpp
    M clang/lib/AST/Type.cpp
    M clang/lib/AST/TypePrinter.cpp
    M clang/lib/CodeGen/CodeGenFunction.cpp
    M clang/lib/CodeGen/CodeGenModule.cpp
    M clang/lib/CodeGen/CodeGenModule.h
    M clang/lib/Sema/SemaType.cpp
    M clang/test/AST/ast-dump-templates.cpp
    A clang/test/CodeGen/cfi-salt.c
    M clang/test/Misc/pragma-attribute-supported-attributes-list.test
    A clang/test/Sema/attr-cfi-salt.c
    M llvm/docs/AMDGPUUsage.rst
    M llvm/lib/Analysis/LoopAccessAnalysis.cpp
    M llvm/lib/Target/AMDGPU/AMDGPU.td
    M llvm/lib/Target/AMDGPU/AMDGPUAsmPrinter.cpp
    M llvm/lib/Target/AMDGPU/AMDGPUFeatures.td
    M llvm/lib/Target/AMDGPU/Utils/AMDGPUBaseInfo.cpp
    M llvm/lib/Transforms/Scalar/CMakeLists.txt
    M llvm/lib/Transforms/Scalar/JumpTableToSwitch.cpp
    M llvm/lib/Transforms/Scalar/LoopDistribute.cpp
    M llvm/test/CodeGen/AMDGPU/extra-lds-size.ll
    A llvm/test/CodeGen/AMDGPU/lds-limit-diagnostics-gfx1250.ll
    A llvm/test/CodeGen/AMDGPU/lds-size-hsa-gfx1250.ll
    A llvm/test/CodeGen/AMDGPU/lds-size-pal-gfx1250.ll
    A llvm/test/Transforms/LoopDistribute/cross-partition-access.ll
    M llvm/unittests/Support/Path.cpp
    M mlir/include/mlir/Dialect/OpenACC/OpenACCOps.td
    M mlir/lib/Dialect/OpenACC/IR/OpenACC.cpp
    M offload/test/mapping/data_member_ref.cpp
    M offload/test/mapping/declare_mapper_nested_default_mappers.cpp
    M offload/test/mapping/declare_mapper_nested_mappers.cpp
    M offload/test/mapping/ptr_and_obj_motion.c
    M offload/test/mapping/target_derefence_array_pointrs.cpp
    M offload/test/mapping/target_has_device_addr.c
    M openmp/runtime/src/kmp_settings.cpp

  Log Message:
  -----------
  windows error debug

Created using spr 1.3.6


Compare: https://github.com/llvm/llvm-project/compare/e975dcd5def1...f04adce29935

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