[all-commits] [llvm/llvm-project] 5725d9: [KeyInstr][Clang] Coerced store atoms

Orlando Cazalet-Hyams via All-commits all-commits at lists.llvm.org
Wed May 21 09:16:30 PDT 2025


  Branch: refs/heads/users/OCHyams/ki-clang-coerce
  Home:   https://github.com/llvm/llvm-project
  Commit: 5725d90b6828e1aa9822f3a8af4e45a613480f74
      https://github.com/llvm/llvm-project/commit/5725d90b6828e1aa9822f3a8af4e45a613480f74
  Author: Orlando Cazalet-Hyams <orlando.hyams at sony.com>
  Date:   2025-05-21 (Wed, 21 May 2025)

  Changed paths:
    M clang/lib/CodeGen/CGCall.cpp
    A clang/test/KeyInstructions/coerced.c

  Log Message:
  -----------
  [KeyInstr][Clang] Coerced store atoms

This patch is part of a stack that teaches Clang to generate Key Instructions
metadata for C and C++.

The Key Instructions project is introduced, including a "quick summary" section
at the top which adds context for this PR, here:
https://discourse.llvm.org/t/rfc-improving-is-stmt-placement-for-better-interactive-debugging/82668

The feature is only functional in LLVM if LLVM is built with CMake flag
LLVM_EXPERIMENTAL_KEY_INSTRUCTIONs. Eventually that flag will be removed.

The Clang-side work is demoed here:
https://github.com/llvm/llvm-project/pull/130943


  Commit: d5eee6fa800bf6ac61a9caebf4f3bcf913a36a7f
      https://github.com/llvm/llvm-project/commit/d5eee6fa800bf6ac61a9caebf4f3bcf913a36a7f
  Author: Orlando Cazalet-Hyams <orlando.hyams at sony.com>
  Date:   2025-05-21 (Wed, 21 May 2025)

  Changed paths:
    M clang/lib/CodeGen/CGCall.cpp
    M clang/test/KeyInstructions/coerced.c

  Log Message:
  -----------
  [KeyInstr][Clang] Coerced to int atom


  Commit: 391f2b48f69aa660691bc7ac733297529534f41d
      https://github.com/llvm/llvm-project/commit/391f2b48f69aa660691bc7ac733297529534f41d
  Author: Orlando Cazalet-Hyams <orlando.hyams at sony.com>
  Date:   2025-05-21 (Wed, 21 May 2025)

  Changed paths:
    M clang/lib/CodeGen/CGCall.cpp
    A clang/test/KeyInstructions/coerced-ptr.c

  Log Message:
  -----------
  [KeyInstr][Clang] Coerced ptr to int atom


  Commit: 3bd7879d0319572c72bdf554a844fb5f311d720f
      https://github.com/llvm/llvm-project/commit/3bd7879d0319572c72bdf554a844fb5f311d720f
  Author: Orlando Cazalet-Hyams <orlando.hyams at sony.com>
  Date:   2025-05-21 (Wed, 21 May 2025)

  Changed paths:
    M clang/lib/CodeGen/CGCall.cpp
    A clang/test/KeyInstructions/coerced-packed.c

  Log Message:
  -----------
  [KeyInstr][Clang] Coerce packed struct atom


  Commit: e498cd2b30c9edb77ae6fe356161bc8eb8fb32c6
      https://github.com/llvm/llvm-project/commit/e498cd2b30c9edb77ae6fe356161bc8eb8fb32c6
  Author: Orlando Cazalet-Hyams <orlando.hyams at sony.com>
  Date:   2025-05-21 (Wed, 21 May 2025)

  Changed paths:
    M clang/lib/CodeGen/CGCall.cpp
    A clang/test/KeyInstructions/coerced-through-memory.c

  Log Message:
  -----------
  [KeyInstr][Clang] Coerce through memory atom


  Commit: 47712a2e98849cdbd423c8683d47d63f8e214295
      https://github.com/llvm/llvm-project/commit/47712a2e98849cdbd423c8683d47d63f8e214295
  Author: Orlando Cazalet-Hyams <orlando.hyams at sony.com>
  Date:   2025-05-21 (Wed, 21 May 2025)

  Changed paths:
    M clang/test/KeyInstructions/coerced-packed.c
    M clang/test/KeyInstructions/coerced-ptr.c
    M clang/test/KeyInstructions/coerced-through-memory.c
    M clang/test/KeyInstructions/coerced.c

  Log Message:
  -----------
  cc1


Compare: https://github.com/llvm/llvm-project/compare/e5779b993f4f...47712a2e9884

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