[all-commits] [llvm/llvm-project] b35b9e: [mlir] Add msan memory unpoisoning macros to mlir ...

Eugene Zhulenev via All-commits all-commits at lists.llvm.org
Mon Apr 11 18:58:42 PDT 2022

  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: b35b9e307fdd2b44b0481198aefc311c706d2366
  Author: Eugene Zhulenev <ezhulenev at google.com>
  Date:   2022-04-11 (Mon, 11 Apr 2022)

  Changed paths:
    A mlir/include/mlir/ExecutionEngine/Msan.h
    M mlir/lib/ExecutionEngine/CRunnerUtils.cpp
    M utils/bazel/llvm-project-overlay/mlir/BUILD.bazel

  Log Message:
  [mlir] Add msan memory unpoisoning macros to mlir ExecutionEngine

Adding annotations on as-needed bases, currently only for memrefCopy, but in general all C API functions that take pointers to memory allocated/initialized inside the jit-compiled code must be annotated, to be able to run with msan.

Reviewed By: mehdi_amini

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

More information about the All-commits mailing list