Skip to content

Conversation

@matthias-springer
Copy link
Member

This trait was accidentally dropped in #144863.

This trait was accidentally dropped in #144863.
@llvmbot
Copy link
Member

llvmbot commented Jun 20, 2025

@llvm/pr-subscribers-mlir

@llvm/pr-subscribers-mlir-arith

Author: Matthias Springer (matthias-springer)

Changes

This trait was accidentally dropped in #144863.


Full diff: https://github.com/llvm/llvm-project/pull/145000.diff

1 Files Affected:

  • (modified) mlir/include/mlir/Dialect/Arith/IR/ArithOps.td (+1-1)
diff --git a/mlir/include/mlir/Dialect/Arith/IR/ArithOps.td b/mlir/include/mlir/Dialect/Arith/IR/ArithOps.td
index 993f36f556e87..0518cac156eba 100644
--- a/mlir/include/mlir/Dialect/Arith/IR/ArithOps.td
+++ b/mlir/include/mlir/Dialect/Arith/IR/ArithOps.td
@@ -1271,7 +1271,7 @@ def Arith_ScalingExtFOp
 // TruncIOp
 //===----------------------------------------------------------------------===//
 
-def Arith_TruncIOp : Op<Arith_Dialect, "trunci",
+def Arith_TruncIOp : Arith_Op<"trunci",
     [Pure, SameOperandsAndResultShape, SameInputOutputTensorDims,
      DeclareOpInterfaceMethods<CastOpInterface>,
      DeclareOpInterfaceMethods<InferIntRangeInterface, ["inferResultRanges"]>,

@matthias-springer matthias-springer changed the title [mlir][arith] Add ElementwiseMappable to arith.trunci [mlir][arith] Add back ElementwiseMappable to arith.trunci Jun 20, 2025
@matthias-springer matthias-springer merged commit f577516 into main Jun 20, 2025
9 of 10 checks passed
@matthias-springer matthias-springer deleted the users/matthias-springer/mappable branch June 20, 2025 09:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants