summaryrefslogtreecommitdiffstats
path: root/mlir/lib/Dialect/VectorOps/VectorOps.cpp
diff options
context:
space:
mode:
authorJacques Pienaar <jpienaar@google.com>2019-11-26 15:30:04 -0800
committerA. Unique TensorFlower <gardener@tensorflow.org>2019-11-26 15:30:35 -0800
commitf27ceb726188d0b16c979fddf644e33886139006 (patch)
tree3ad42f08635e611814f85c20927d69ac415fb8f0 /mlir/lib/Dialect/VectorOps/VectorOps.cpp
parentcf97263cb8cd4f6f21f00eabb9d6a007e221eaab (diff)
downloadbcm5719-llvm-f27ceb726188d0b16c979fddf644e33886139006.tar.gz
bcm5719-llvm-f27ceb726188d0b16c979fddf644e33886139006.zip
Add create method that takes equivalent of OperationState with NamedAttributeList
This method is close to creating an OperationState first and then unpacking it but avoids creating the OperationState and takes a NamedAttributeList for attributes rather than array of NamedAttribute (to enable reusing an already created NamedAttributeList). Reuse this new method via create that takes OperationState. I'll update inferReturnTypes in follow up to also take NamedAttributeList and so a build method that uses both inferReturnTypes and create can reuse the same list. PiperOrigin-RevId: 282651642
Diffstat (limited to 'mlir/lib/Dialect/VectorOps/VectorOps.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud