Fix redundant convert and use NamedAttributeList as value
authorJacques Pienaar <jpienaar@google.com>
Fri, 29 Nov 2019 18:26:23 +0000 (10:26 -0800)
committerA. Unique TensorFlower <gardener@tensorflow.org>
Fri, 29 Nov 2019 18:26:56 +0000 (10:26 -0800)
commit52a74151787a051d8ecb246080314f64cf2a7b61
treefc52b8f6c926075d71aa8a571d30d4afe9bc59d2
parentc9721e9a2b36c881cbd2b936e03cb1fbe167c6db
Fix redundant convert and use NamedAttributeList as value

* Had leftover call that would result in converting to dictionary attr before
  being implicitedly converted back to NamedAttributeList;
* NamedAttributeList is value typed, so don't use const reference;

PiperOrigin-RevId: 283072576
mlir/include/mlir/IR/Operation.h
mlir/lib/IR/Operation.cpp