| 123 | } |
| 124 | |
| 125 | static bool HasRefInput(const Node* n) { |
| 126 | for (auto dt : n->input_types()) { |
| 127 | if (IsRefType(dt)) return true; |
| 128 | } |
| 129 | return false; |
| 130 | } |
| 131 | |
| 132 | bool OptimizerCSE::Equivalent(const Node* a, const Node* b, |
| 133 | AttrSlice::Scratch* scratch) { |