[Mlir-commits] [mlir] 7ed242e - [mlir][llvm] Don't mark CallIntrinsicOp as Pure
Jeff Niu
llvmlistbot at llvm.org
Mon Jan 9 16:21:22 PST 2023
Author: Jeff Niu
Date: 2023-01-09T16:21:15-08:00
New Revision: 7ed242eecbc7d7c450124ea710c71edd03a76a46
URL: https://github.com/llvm/llvm-project/commit/7ed242eecbc7d7c450124ea710c71edd03a76a46
DIFF: https://github.com/llvm/llvm-project/commit/7ed242eecbc7d7c450124ea710c71edd03a76a46.diff
LOG: [mlir][llvm] Don't mark CallIntrinsicOp as Pure
This is a function call to intrinsics with unknown side effects.
Reviewed By: rriddle
Differential Revision: https://reviews.llvm.org/D141332
Added:
Modified:
mlir/include/mlir/Dialect/LLVMIR/LLVMIntrinsicOps.td
Removed:
################################################################################
diff --git a/mlir/include/mlir/Dialect/LLVMIR/LLVMIntrinsicOps.td b/mlir/include/mlir/Dialect/LLVMIR/LLVMIntrinsicOps.td
index 1ce8e80bc65bb..29b7be8394a56 100644
--- a/mlir/include/mlir/Dialect/LLVMIR/LLVMIntrinsicOps.td
+++ b/mlir/include/mlir/Dialect/LLVMIR/LLVMIntrinsicOps.td
@@ -721,7 +721,8 @@ def LLVM_vector_extract
//===--------------------------------------------------------------------===//
// CallIntrinsicOp
//===--------------------------------------------------------------------===//
-def LLVM_CallIntrinsicOp : LLVM_Op<"call_intrinsic", [Pure]> {
+
+def LLVM_CallIntrinsicOp : LLVM_Op<"call_intrinsic"> {
let summary = "Call to an LLVM intrinsic function.";
let description = [{
Call the specified llvm intrinsic. If the intrinsic is overloaded, use
More information about the Mlir-commits
mailing list