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
/// An iterator over all uses of a ValueBase.
template <typename OperandType>
class ValueUseIterator
- : public std::iterator<std::forward_iterator_tag, IROperand> {
+ : public std::iterator<std::forward_iterator_tag, OperandType> {
public:
ValueUseIterator() = default;
explicit ValueUseIterator(OperandType *current) : current(current) {}