-
Notifications
You must be signed in to change notification settings - Fork 15.1k
[flang] Implement IGNORE_TKR(P) #165469
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
[flang] Implement IGNORE_TKR(P) #165469
Changes from all commits
Commits
Show all changes
19 commits
Select commit
Hold shift + click to select a range
2ab5fef
ignore_tkr(p) support
eugeneepshteyn 39e3e6a
Merge branch 'llvm:main' into ignore-tkr-p
eugeneepshteyn 83897e3
Merge branch 'llvm:main' into ignore-tkr-p
eugeneepshteyn 7294e68
[flang] Implement CFI_show()
eugeneepshteyn 9994293
Only pass the descriptor arg to CFI_show()
eugeneepshteyn 6d15b2d
Allow allocatable/pointer association if ignore_tkr(p) is given
eugeneepshteyn fe2604e
Tweaked the check
eugeneepshteyn 0984143
clang-format
eugeneepshteyn 6733871
Revert "Only pass the descriptor arg to CFI_show()"
eugeneepshteyn ad5961e
Revert "[flang] Implement CFI_show()"
eugeneepshteyn d8782fc
Disable ignore_tkr warning when 'p' is used
eugeneepshteyn acd95b9
clang-format
eugeneepshteyn b1e54c0
LIT test
eugeneepshteyn b2701e5
Docs update for ignore_tkr(p)
eugeneepshteyn a4f30b0
Changed error checks in LIT test
eugeneepshteyn 553678f
Merge branch 'main' into ignore-tkr-p
eugeneepshteyn 5c923d0
upstream code formatter had other ideas :-(
eugeneepshteyn 3289595
Added missing break
eugeneepshteyn 43e24ff
Code review feedback
eugeneepshteyn File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,26 @@ | ||
| ! RUN: %python %S/test_errors.py %s %flang_fc1 | ||
| ! Tests for ignore_tkr(p) | ||
| module ignore_tkr_4_m | ||
| interface | ||
| subroutine s(a) | ||
| real, pointer :: a(:) | ||
| !dir$ ignore_tkr(p) a | ||
| end subroutine | ||
| subroutine s1(a) | ||
| real, allocatable :: a(:) | ||
| !dir$ ignore_tkr(p) a | ||
| end subroutine | ||
| end interface | ||
| end module | ||
| program t | ||
| use ignore_tkr_4_m | ||
| real, allocatable :: x(:) | ||
| real, pointer :: x1(:) | ||
| call s(x) | ||
| !CHECK-NOT: error | ||
| !CHECK-NOT: warning | ||
| call s1(x1) | ||
| !CHECK-NOT: error | ||
| !CHECK-NOT: warning | ||
| end | ||
|
|
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.