Commit 10cf3c2
committed
[SelectionDAG] Replace findGlueUse in SelectionDAGISel with SDNode::getGluedUser. NFC
SDNode::getGluedUser has a little bit different implemenetation,
but the effect should be the same.
SDNode *getGluedUser() const {
for (use_iterator UI = use_begin(), UE = use_end(); UI != UE; ++UI)
if (UI.getUse().get().getValueType() == MVT::Glue)
return *UI;
return nullptr;
}1 parent 60a2f32 commit 10cf3c2
1 file changed
+1
-14
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2329 | 2329 | | |
2330 | 2330 | | |
2331 | 2331 | | |
2332 | | - | |
2333 | | - | |
2334 | | - | |
2335 | | - | |
2336 | | - | |
2337 | | - | |
2338 | | - | |
2339 | | - | |
2340 | | - | |
2341 | | - | |
2342 | | - | |
2343 | | - | |
2344 | | - | |
2345 | 2332 | | |
2346 | 2333 | | |
2347 | 2334 | | |
| |||
2445 | 2432 | | |
2446 | 2433 | | |
2447 | 2434 | | |
2448 | | - | |
| 2435 | + | |
2449 | 2436 | | |
2450 | 2437 | | |
2451 | 2438 | | |
| |||
0 commit comments