[all-commits] [llvm/llvm-project] fa1c06: [KeyInstr] Complex assignment atoms

Orlando Cazalet-Hyams via All-commits all-commits at lists.llvm.org
Fri May 23 08:58:08 PDT 2025


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

  Changed paths:
    M clang/lib/CodeGen/CGExprComplex.cpp
    A clang/test/DebugInfo/KeyInstructions/complex.c

  Log Message:
  -----------
  [KeyInstr] Complex assignment 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: c04e9479ed87fb1a75aafba74d6655f37eab880a
      https://github.com/llvm/llvm-project/commit/c04e9479ed87fb1a75aafba74d6655f37eab880a
  Author: Orlando Cazalet-Hyams <orlando.hyams at sony.com>
  Date:   2025-05-23 (Fri, 23 May 2025)

  Changed paths:
    M clang/test/DebugInfo/KeyInstructions/complex.c

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


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

  Changed paths:
    M clang/test/DebugInfo/KeyInstructions/complex.c

  Log Message:
  -----------
  whitespace


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

  Changed paths:
    M clang/test/DebugInfo/KeyInstructions/complex.c

  Log Message:
  -----------
  expand test


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

  Changed paths:
    M clang/test/DebugInfo/KeyInstructions/complex.c

  Log Message:
  -----------
  further expand test


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

  Changed paths:
    M clang/lib/CodeGen/CGExprComplex.cpp
    M clang/test/DebugInfo/KeyInstructions/complex.c

  Log Message:
  -----------
  shuffle code, works for cpp


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

  Changed paths:
    M clang/lib/CodeGen/CGExprComplex.cpp
    M clang/test/DebugInfo/KeyInstructions/complex.c

  Log Message:
  -----------
  fix c scalar bin-op-assign complex


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

  Changed paths:
    M clang/lib/CodeGen/CGExprComplex.cpp
    M clang/test/DebugInfo/KeyInstructions/complex.c

  Log Message:
  -----------
  fix c scalar binop assign complex unecessary atom nesting


Compare: https://github.com/llvm/llvm-project/compare/ebd8acdf4ad5...70856b8ee7a5

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