[all-commits] [llvm/llvm-project] c6ac7e: [mlir][llvm] Add MD_prof import error handling

Christian Ulmann via All-commits all-commits at lists.llvm.org
Wed Feb 8 03:28:16 PST 2023

  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: c6ac7e9dd5999aec825a1eb540dc3e0fd35243ae
  Author: Christian Ulmann <christian.ulmann at nextsilicon.com>
  Date:   2023-02-08 (Wed, 08 Feb 2023)

  Changed paths:
    M mlir/lib/Target/LLVMIR/Dialect/LLVMIR/LLVMIRToLLVMTranslation.cpp
    M mlir/test/Target/LLVMIR/Import/import-failure.ll

  Log Message:
  [mlir][llvm] Add MD_prof import error handling

This commit adds additional checks and warning messages to the MD_prof
import. As LLVM does not verify most metadata, the import has the be
resilient towards ill-formatted inputs.

Reviewed By: gysit

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

More information about the All-commits mailing list