[all-commits] [llvm/llvm-project] c343c2: [mlir][LLVM] Fix mapping of result values of `llvm...

zero9178 via All-commits all-commits at lists.llvm.org
Mon Jan 3 14:53:49 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: c343c200ea0dd321270d03438c9ea4240fd17400
      https://github.com/llvm/llvm-project/commit/c343c200ea0dd321270d03438c9ea4240fd17400
  Author: Markus Böck <markus.boeck02 at gmail.com>
  Date:   2022-01-03 (Mon, 03 Jan 2022)

  Changed paths:
    M mlir/lib/Target/LLVMIR/Dialect/LLVMIR/LLVMToLLVMIRTranslation.cpp
    M mlir/test/Target/LLVMIR/llvmir.mlir

  Log Message:
  -----------
  [mlir][LLVM] Fix mapping of result values of `llvm.invoke` during export

The result value of a llvm.invoke operation is currently not mapped to the corresponding llvm::Value* when exporting to LLVM IR. This leads to any later operations using the result to crash as it receives a nullptr.

Differential Revision: https://reviews.llvm.org/D116564




More information about the All-commits mailing list