[all-commits] [llvm/llvm-project] 64f6f9: [MLIR][LLVM] CallSiteLoc without caller scope not ...

Billy Zhu via All-commits all-commits at lists.llvm.org
Thu May 2 11:40:01 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 64f6f905bcb03f6d821c6a24e5add1290212978a
      https://github.com/llvm/llvm-project/commit/64f6f905bcb03f6d821c6a24e5add1290212978a
  Author: Billy Zhu <billyzhu at modular.com>
  Date:   2024-05-02 (Thu, 02 May 2024)

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

  Log Message:
  -----------
  [MLIR][LLVM] CallSiteLoc without caller scope not translatable (#90759)

If a CallSiteLoc's caller cannot be translated (returns null), we cannot
simply return the translation of the callee location. This is because
the resulting DILocation will not have any InlinedAt field for the
function it is in, and will fail the LLVM IR verifier.



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