Commit 23ca7cf
committed
[SelectionDAG] Use SDNode::op_iterator instead of SDNodeIterator. NFC
I think SDNodeIterator primarily exists because GraphTraits requires
an iterator that dereferences to SDNode*. op_iterator dereferences to
SDUse* which is implicitly convertible to SDValue.
This piece of code can use SDValue instead of SDNode* so we should
prefer to use the the more common op_iterator.1 parent 29ed600 commit 23ca7cf
1 file changed
+1
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2986 | 2986 | | |
2987 | 2987 | | |
2988 | 2988 | | |
2989 | | - | |
2990 | | - | |
| 2989 | + | |
2991 | 2990 | | |
2992 | 2991 | | |
2993 | 2992 | | |
| |||
0 commit comments