[all-commits] [llvm/llvm-project] c1def6: [mlir][llvm] Mark additional ops as pure.

Tobias Gysi via All-commits all-commits at lists.llvm.org
Wed May 17 04:29:50 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: c1def63fcccf6aba3217b7818e23393ed655bf25
      https://github.com/llvm/llvm-project/commit/c1def63fcccf6aba3217b7818e23393ed655bf25
  Author: Tobias Gysi <tobias.gysi at nextsilicon.com>
  Date:   2023-05-17 (Wed, 17 May 2023)

  Changed paths:
    M mlir/include/mlir/Dialect/LLVMIR/LLVMIntrinsicOps.td
    M mlir/include/mlir/Dialect/LLVMIR/LLVMOps.td

  Log Message:
  -----------
  [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




More information about the All-commits mailing list