NFC: Remove the explicit context from Operation::create and OperationState.
authorRiver Riddle <riverriddle@google.com>
Tue, 27 Aug 2019 00:34:06 +0000 (17:34 -0700)
committerA. Unique TensorFlower <gardener@tensorflow.org>
Tue, 27 Aug 2019 00:34:48 +0000 (17:34 -0700)
commit2f59f7687636d7140298bdc5fbbb5911e0d223ef
tree4f69c75192586ad93bf78c6f7afad029d5fe9cbb
parent761d57d1876919f47e3f4199f919efd233fd4cd9
NFC: Remove the explicit context from Operation::create and OperationState.

The context can easily be recovered from the Location in these situations.

PiperOrigin-RevId: 265578574
mlir/include/mlir/IR/Operation.h
mlir/include/mlir/IR/OperationSupport.h
mlir/lib/IR/Operation.cpp
mlir/lib/IR/OperationSupport.cpp
mlir/lib/Parser/Parser.cpp
mlir/lib/Transforms/DialectConversion.cpp
mlir/test/lib/TestDialect/TestOps.td
mlir/unittests/IR/OperationSupportTest.cpp