[all-commits] [llvm/llvm-project] 5ff06c: [KeyInstr] Add fields to DILocation behind compile...

Orlando Cazalet-Hyams via All-commits all-commits at lists.llvm.org
Thu May 1 06:25:41 PDT 2025


  Branch: refs/heads/users/OCHyams/ki-llvm-remapping
  Home:   https://github.com/llvm/llvm-project
  Commit: 5ff06c748337e55be93446bb7c066da955ff4cc1
      https://github.com/llvm/llvm-project/commit/5ff06c748337e55be93446bb7c066da955ff4cc1
  Author: Orlando Cazalet-Hyams <orlando.hyams at sony.com>
  Date:   2025-05-01 (Thu, 01 May 2025)

  Changed paths:
    M llvm/include/llvm/IR/DebugInfoMetadata.h
    M llvm/lib/AsmParser/LLParser.cpp
    M llvm/lib/IR/AsmWriter.cpp
    M llvm/lib/IR/DebugInfoMetadata.cpp
    M llvm/lib/IR/LLVMContextImpl.h
    M llvm/test/CMakeLists.txt
    A llvm/test/DebugInfo/KeyInstructions/Generic/parse.ll
    A llvm/test/DebugInfo/KeyInstructions/lit.local.cfg
    M llvm/test/lit.site.cfg.py.in

  Log Message:
  -----------
  [KeyInstr] Add fields to DILocation behind compile time flag

The definition EXPERIMENTAL_KEY_INSTRUCTIONS is controlled by cmake flag
LLVM_EXPERIMENTAL_KEY_INSTRUCTIONS.

Add IR read-write roundtrip test in a directory that is unsupported unless
the CMake flag is enabled.


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

  Changed paths:
    M llvm/include/llvm/IR/DebugInfoMetadata.h
    M llvm/lib/AsmParser/LLParser.cpp

  Log Message:
  -----------
  nits


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

  Changed paths:
    M llvm/include/llvm/IR/LLVMContext.h
    M llvm/lib/IR/DebugInfoMetadata.cpp
    M llvm/lib/IR/LLVMContext.cpp
    M llvm/lib/IR/LLVMContextImpl.h
    M llvm/unittests/IR/MetadataTest.cpp

  Log Message:
  -----------
  [KeyInstr] Add Atom Group waterline to LLVMContext

The waterline is managed through DILocation creation,
LLVMContext::incNextAtomGroup, and LLVMContext::updateAtomGroupWaterline.

Add unittest.


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

  Changed paths:
    M llvm/lib/IR/LLVMContext.cpp
    M llvm/unittests/IR/MetadataTest.cpp

  Log Message:
  -----------
  clang-format


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

  Changed paths:
    M llvm/include/llvm/IR/LLVMContext.h
    M llvm/lib/IR/DebugInfoMetadata.cpp
    M llvm/lib/IR/LLVMContext.cpp

  Log Message:
  -----------
  rename functions


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

  Changed paths:
    M llvm/lib/IR/DebugInfoMetadata.cpp

  Log Message:
  -----------
  fix my fixme comment


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

  Changed paths:
    M llvm/unittests/IR/MetadataTest.cpp

  Log Message:
  -----------
  simplify comment


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

  Changed paths:
    M llvm/include/llvm/IR/ValueMap.h
    M llvm/include/llvm/Transforms/Utils/Cloning.h
    M llvm/include/llvm/Transforms/Utils/ValueMapper.h
    M llvm/lib/Transforms/Utils/CloneFunction.cpp
    M llvm/lib/Transforms/Utils/ValueMapper.cpp
    M llvm/unittests/Transforms/Utils/CloningTest.cpp

  Log Message:
  -----------
  [NFC][KeyInstr] Add Atom Group (re)mapping

Add:
   mapAtomInstance - map the atom group number to a new group.
   RemapSourceAtom - apply the mapped atom group number to this instruction.

Modify:
  CloneBasicBlock - Call mapAtomInstance on cloned instruction's DebugLocs
                    if MapAtoms is true (default). Setting to false could
		    lead to a degraded debugging experience. See code comment.

Optimisations like loop unroll that duplicate instructions need to remap source
atom groups so that each duplicated source construct instance is considered
distinct when determining is_stmt locations.

This commit adds the remapping functionality and a unittest.


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

  Changed paths:
    M llvm/include/llvm/IR/ValueMap.h
    M llvm/include/llvm/Transforms/Utils/Cloning.h

  Log Message:
  -----------
  SmallDenseMap and comment


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

  Changed paths:
    M llvm/include/llvm/Transforms/Utils/ValueMapper.h

  Log Message:
  -----------
  another comment


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

  Changed paths:
    M llvm/include/llvm/Transforms/Utils/ValueMapper.h

  Log Message:
  -----------
  less terse comment


Compare: https://github.com/llvm/llvm-project/compare/07f9c1f2f811...71329a0f8ac6

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