[mlir][llvm] Mark additional ops as pure.
authorTobias Gysi <tobias.gysi@nextsilicon.com>
Wed, 17 May 2023 11:25:24 +0000 (11:25 +0000)
committerTobias Gysi <tobias.gysi@nextsilicon.com>
Wed, 17 May 2023 11:25:39 +0000 (11:25 +0000)
commitc1def63fcccf6aba3217b7818e23393ed655bf25
tree145da3f7072ea775c69d717f75f76c956f51336d
parent55013ba747485df0efb1be77c571bbc2193651f6
[mlir][llvm] Mark additional ops as pure.

The revision marks the overflow arithmetic intrinsics
and the freeze operation as pure. This change enables
inlining and possible other optimizations for these
operations.

Reviewed By: Dinistro

Differential Revision: https://reviews.llvm.org/D150679
mlir/include/mlir/Dialect/LLVMIR/LLVMIntrinsicOps.td
mlir/include/mlir/Dialect/LLVMIR/LLVMOps.td