Remove the explicit attribute kinds for DenseIntElementsAttr and DenseFPElementsAttr...
authorRiver Riddle <riverriddle@google.com>
Thu, 6 Jun 2019 23:15:42 +0000 (16:15 -0700)
committerMehdi Amini <joker.eph@gmail.com>
Sun, 9 Jun 2019 23:22:05 +0000 (16:22 -0700)
commitb790a2f3968b1438aa87004d089a8f56639ba268
treebeeb0a49d82de199ef74ba771ca461c7e7a0a1a2
parentcc8a8fa76acd6679db35c4f1a6b85820a1fcbae8
Remove the explicit attribute kinds for DenseIntElementsAttr and DenseFPElementsAttr in favor of just one DenseElementsAttr. Now that attribute has the ability to define 'classof(Attribute attr)' methods, these derived classes can just be specializations of the main attribute class.

PiperOrigin-RevId: 251948820
mlir/include/mlir/IR/Attributes.h
mlir/lib/IR/AsmPrinter.cpp
mlir/lib/IR/Attributes.cpp
mlir/lib/IR/MLIRContext.cpp
mlir/unittests/Dialect/QuantOps/QuantizationUtilsTest.cpp