Commit a3fdc36
committed
[FunctionAttrs] Remove dead code code in nocaptures inference (NFCI)
An argument graph node without uses forms a trivial SCC, which will
already be handled by the preceding branch.
If a node in the SCC points to a node with empty uses, then it will
be part of a different SCC, and as such assumed to be capturing
if it does not have an attribute. There is no need to handle them
separately.1 parent 9acaaeb commit a3fdc36
1 file changed
+1
-10
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1296 | 1296 | | |
1297 | 1297 | | |
1298 | 1298 | | |
1299 | | - | |
1300 | | - | |
1301 | | - | |
1302 | | - | |
1303 | | - | |
1304 | | - | |
1305 | | - | |
1306 | | - | |
1307 | | - | |
1308 | | - | |
1309 | 1299 | | |
1310 | 1300 | | |
1311 | 1301 | | |
1312 | 1302 | | |
1313 | 1303 | | |
1314 | 1304 | | |
1315 | 1305 | | |
| 1306 | + | |
1316 | 1307 | | |
1317 | 1308 | | |
1318 | 1309 | | |
| |||
0 commit comments