Have ValueUseIterator template use OperandType instead of IROperand.
authorAndy Ly <lyandy@google.com>
Wed, 7 Aug 2019 03:48:29 +0000 (20:48 -0700)
committerA. Unique TensorFlower <gardener@tensorflow.org>
Wed, 7 Aug 2019 03:48:57 +0000 (20:48 -0700)
commitb15e2aec753cb6fc50b78ef540c29d501f38b09a
treea45b8abf659ae1823bb9a6bcbb457e1f7f2512fe
parent8920afb0a636e5477ef7f4ffacd6c1137e30a84a
Have ValueUseIterator template use OperandType instead of IROperand.

This was causing some issues using helper methods like llvm::make_early_inc_range on Value::getUses(), resulting in IROperand instead of OpOperand.

PiperOrigin-RevId: 262056425
mlir/include/mlir/IR/UseDefLists.h