[all-commits] [llvm/llvm-project] 7c8498: [mlir][LLVMDebugTranslation] Add inlinedAt to the ...

River Riddle via All-commits all-commits at lists.llvm.org
Tue Nov 8 13:01:41 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 7c849845e09a90fa9948afb207e755bbecb80484
      https://github.com/llvm/llvm-project/commit/7c849845e09a90fa9948afb207e755bbecb80484
  Author: River Riddle <riddleriver at gmail.com>
  Date:   2022-11-08 (Tue, 08 Nov 2022)

  Changed paths:
    M mlir/lib/Target/LLVMIR/DebugTranslation.cpp
    M mlir/lib/Target/LLVMIR/DebugTranslation.h
    M mlir/test/Target/LLVMIR/llvmir-debug.mlir

  Log Message:
  -----------
  [mlir][LLVMDebugTranslation] Add inlinedAt to the key when caching locations

This avoids accidentally using the wrong inlined at scope when translating
locations.


  Commit: 7c5362c7ffd2c61c06d6831706a16a0743ec8d01
      https://github.com/llvm/llvm-project/commit/7c5362c7ffd2c61c06d6831706a16a0743ec8d01
  Author: River Riddle <riddleriver at gmail.com>
  Date:   2022-11-08 (Tue, 08 Nov 2022)

  Changed paths:
    M mlir/lib/Target/LLVMIR/DebugTranslation.cpp

  Log Message:
  -----------
  [mlir][LLVMDebugTranslation] Move the check for FusedLoc scope

Shift it to where we already check for FusedLoc, which removes the
need to cast multiple times.


Compare: https://github.com/llvm/llvm-project/compare/b0bbc9b5951e...7c5362c7ffd2


More information about the All-commits mailing list