• [MLIR][Concept] “Inherent Attribute” vs “Discardable Attribute” and “Property” Hello I was reading the documentation and became confused of the difference between inherent attribute and discardable attribute. • According to the documentation, Inherent attribute Operation validate inherent attribute. • (Probably in the implementation aspect?) It does not have Dialect name in front of it. • (e.g,eq,ne,slt,sle,sgt,sge,ult,ule,ugt,uge) Discardable attribute Dialect validate discardable attribute (Also probably in the implementation side) It has prefix in front: Dialect Name. • (e.g,gpu.container_module) I am curious what is the philosophy behind this differentiation? • Initially, I thought inherent attribute to be variable and discardable attribute to be constant.

Article Summaries:

  • Hello I was reading the documentation and became confused of the difference between inherent attribute and discardable attribute. According to the documentation, Inherent attribute - Operation validate inherent attribute. (Probably in the implementation aspect?) - It does not have Dialect name in front of it. (e.g, eq , ne , slt , sle , sgt , sge , ult , ule , ugt , uge ) Discardable attribute - Dialect validate discardable attribute (Also probably in the implementation side) - It has prefix in front: Dialect Name. (e.g, gpu.container_module ) I am curious what is the philosophy behind this di

Sources: