[Mlir-commits] [mlir] 7f13d51 - [mlir] Remove Broadcastable ODS trait

Jacques Pienaar llvmlistbot at llvm.org
Thu Jun 11 13:47:57 PDT 2020


Author: Jacques Pienaar
Date: 2020-06-11T13:45:09-07:00
New Revision: 7f13d51ee3b92d22dd9a9fecbe6ca028c198d00d

URL: https://github.com/llvm/llvm-project/commit/7f13d51ee3b92d22dd9a9fecbe6ca028c198d00d
DIFF: https://github.com/llvm/llvm-project/commit/7f13d51ee3b92d22dd9a9fecbe6ca028c198d00d.diff

LOG: [mlir] Remove Broadcastable ODS trait

Alias to ResultsBroadcastableShape ODS trait which matches C++ class.

Added: 
    

Modified: 
    mlir/include/mlir/IR/OpBase.td

Removed: 
    


################################################################################
diff  --git a/mlir/include/mlir/IR/OpBase.td b/mlir/include/mlir/IR/OpBase.td
index 5ffb1727ee35..6d05b78cbf9a 100644
--- a/mlir/include/mlir/IR/OpBase.td
+++ b/mlir/include/mlir/IR/OpBase.td
@@ -1650,8 +1650,6 @@ def AutomaticAllocationScope : NativeOpTrait<"AutomaticAllocationScope">;
 // Op supports operand broadcast behavior.
 def ResultsBroadcastableShape :
   NativeOpTrait<"ResultsBroadcastableShape">;
-// TODO: Alias of the above, remove post integrate.
-def Broadcastable : NativeOpTrait<"ResultsBroadcastableShape">;
 // X op Y == Y op X
 def Commutative  : NativeOpTrait<"IsCommutative">;
 // Op behaves like a constant.


        


More information about the Mlir-commits mailing list