mirror of
https://github.com/intel/llvm.git
synced 2026-01-25 10:55:58 +08:00
This commit introduces LLVM's `MemoryEffects` attribute and replaces the deprecated usage of `llvm.readnone` in the LLVM dialect. The absence of the attribute on a `LLVMFuncOp` implies that it might access all kinds of memory. This semantic corresponds to `llvm::Function`'s behaviour. Depends on D142002 Differential Revision: https://reviews.llvm.org/D142013
Multi-Level Intermediate Representation
See https://mlir.llvm.org/ for more information.