Commit 7d9c38a
authored
[flang][NFC] Remove hardcoded attr name for fir.global op (#81347)
These hardcoded attribute name are a leftover from the upstreaming
period when there was no way to get the attribute name without an
instance of the operation. It is since possible to do without them and
they should be removed to avoid duplication.
This PR cleanup the fir.global op of these hardcoded attribute name and
use their generated getters. Some other PRs will follow to cleanup other
operations.1 parent 6a3a5ca commit 7d9c38a
File tree
4 files changed
+27
-26
lines changed- flang
- include/flang/Optimizer/Dialect
- lib/Optimizer
- Analysis
- Dialect
- Transforms
4 files changed
+27
-26
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2769 | 2769 | | |
2770 | 2770 | | |
2771 | 2771 | | |
2772 | | - | |
2773 | | - | |
2774 | | - | |
2775 | | - | |
2776 | | - | |
2777 | | - | |
2778 | | - | |
2779 | | - | |
2780 | | - | |
2781 | | - | |
2782 | | - | |
2783 | 2772 | | |
2784 | 2773 | | |
2785 | 2774 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
333 | 333 | | |
334 | 334 | | |
335 | 335 | | |
336 | | - | |
337 | | - | |
| 336 | + | |
| 337 | + | |
| 338 | + | |
| 339 | + | |
338 | 340 | | |
339 | 341 | | |
340 | 342 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1325 | 1325 | | |
1326 | 1326 | | |
1327 | 1327 | | |
1328 | | - | |
| 1328 | + | |
| 1329 | + | |
1329 | 1330 | | |
1330 | 1331 | | |
1331 | 1332 | | |
1332 | 1333 | | |
1333 | | - | |
| 1334 | + | |
| 1335 | + | |
1334 | 1336 | | |
1335 | 1337 | | |
1336 | 1338 | | |
| |||
1339 | 1341 | | |
1340 | 1342 | | |
1341 | 1343 | | |
1342 | | - | |
| 1344 | + | |
| 1345 | + | |
1343 | 1346 | | |
1344 | 1347 | | |
1345 | 1348 | | |
| |||
1348 | 1351 | | |
1349 | 1352 | | |
1350 | 1353 | | |
1351 | | - | |
| 1354 | + | |
| 1355 | + | |
1352 | 1356 | | |
1353 | | - | |
| 1357 | + | |
| 1358 | + | |
1354 | 1359 | | |
1355 | 1360 | | |
1356 | | - | |
1357 | | - | |
| 1361 | + | |
| 1362 | + | |
1358 | 1363 | | |
1359 | 1364 | | |
1360 | 1365 | | |
| |||
1389 | 1394 | | |
1390 | 1395 | | |
1391 | 1396 | | |
1392 | | - | |
| 1397 | + | |
1393 | 1398 | | |
1394 | | - | |
| 1399 | + | |
1395 | 1400 | | |
1396 | 1401 | | |
1397 | 1402 | | |
| |||
1415 | 1420 | | |
1416 | 1421 | | |
1417 | 1422 | | |
1418 | | - | |
| 1423 | + | |
1419 | 1424 | | |
1420 | 1425 | | |
1421 | 1426 | | |
| |||
1425 | 1430 | | |
1426 | 1431 | | |
1427 | 1432 | | |
1428 | | - | |
| 1433 | + | |
1429 | 1434 | | |
1430 | 1435 | | |
1431 | 1436 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
573 | 573 | | |
574 | 574 | | |
575 | 575 | | |
| 576 | + | |
| 577 | + | |
576 | 578 | | |
577 | 579 | | |
578 | 580 | | |
| |||
588 | 590 | | |
589 | 591 | | |
590 | 592 | | |
591 | | - | |
| 593 | + | |
| 594 | + | |
592 | 595 | | |
593 | 596 | | |
594 | 597 | | |
595 | 598 | | |
596 | 599 | | |
597 | 600 | | |
598 | | - | |
| 601 | + | |
| 602 | + | |
| 603 | + | |
599 | 604 | | |
600 | 605 | | |
601 | 606 | | |
| |||
0 commit comments