Commit 165fdaa
authored
[flang][NFC] Remove hardcoded attr name for fir.dispatch and fid.dt_entry ops (#81348)
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.dt_entry and fir.dispatch ops of these hardcoded
attribute name and use their generated getters. Some other PRs will
follow to cleanup other operations.1 parent 7d9c38a commit 165fdaa
File tree
2 files changed
+2
-5
lines changed- flang
- include/flang/Optimizer/Dialect
- lib/Optimizer/Dialect
2 files changed
+2
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2433 | 2433 | | |
2434 | 2434 | | |
2435 | 2435 | | |
2436 | | - | |
2437 | 2436 | | |
2438 | 2437 | | |
2439 | 2438 | | |
| |||
2922 | 2921 | | |
2923 | 2922 | | |
2924 | 2923 | | |
2925 | | - | |
2926 | 2924 | | |
2927 | 2925 | | |
2928 | 2926 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2289 | 2289 | | |
2290 | 2290 | | |
2291 | 2291 | | |
2292 | | - | |
2293 | | - | |
| 2292 | + | |
2294 | 2293 | | |
2295 | 2294 | | |
2296 | 2295 | | |
2297 | | - | |
| 2296 | + | |
2298 | 2297 | | |
2299 | 2298 | | |
2300 | 2299 | | |
| |||
0 commit comments