diff options
| author | Jacques Pienaar <jpienaar@google.com> | 2019-11-26 15:30:04 -0800 |
|---|---|---|
| committer | A. Unique TensorFlower <gardener@tensorflow.org> | 2019-11-26 15:30:35 -0800 |
| commit | f27ceb726188d0b16c979fddf644e33886139006 (patch) | |
| tree | 3ad42f08635e611814f85c20927d69ac415fb8f0 /mlir/lib/Dialect/VectorOps/VectorOps.cpp | |
| parent | cf97263cb8cd4f6f21f00eabb9d6a007e221eaab (diff) | |
| download | bcm5719-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

