[all-commits] [llvm/llvm-project] c00b7c: [mlir][llvm] Add assertion in LLVM IR import (NFC).

Tobias Gysi via All-commits all-commits at lists.llvm.org
Wed Apr 26 22:55:59 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: c00b7c84c7cb1d528464bf68305fd23a9755768c
      https://github.com/llvm/llvm-project/commit/c00b7c84c7cb1d528464bf68305fd23a9755768c
  Author: Tobias Gysi <tobias.gysi at nextsilicon.com>
  Date:   2023-04-27 (Thu, 27 Apr 2023)

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

  Log Message:
  -----------
  [mlir][llvm] Add assertion in LLVM IR import (NFC).

This revision adds an assertion to convertConstantExpr to ensure the
function is not called if the constant has been converted before.

This is a follow up for https://reviews.llvm.org/D149247.

Reviewed By: victor-eds

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




More information about the All-commits mailing list