Skip to content
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

[reland][flang] Add ETIME runtime and lowering intrinsics implementation #92571

Merged
merged 16 commits into from
May 17, 2024

Conversation

JumpMasterJJ
Copy link
Member

This is same as #90578 with an added fix. This PR updated tests of etime intrinsic due to Lowering changes for assigning dummy_scope to hlfir.declare. Referring to #92472 and #90989

@JumpMasterJJ JumpMasterJJ merged commit dc8d70a into llvm:main May 17, 2024
5 of 6 checks passed
@bwendling
Copy link
Collaborator

This adds etime-function.mlir to the top-level directory. Is that what you meant to do?

@JumpMasterJJ
Copy link
Member Author

This adds etime-function.mlir to the top-level directory. Is that what you meant to do?

No, it was a mistake to add 'etime-function.mlir' to the top-level directory. I will correct this. Thank you for pointing it out.

JumpMasterJJ added a commit that referenced this pull request May 18, 2024
The purpose of this PR is to remove the 'etime-function.mlir' file that
I mistakenly committed in
#92571. This file is not
necessary in source code control, and its presence may cause confusion
or misunderstanding.
luporl added a commit to luporl/llvm-project that referenced this pull request Jun 4, 2024
flang/runtime/time-intrinsic.cpp:403:19: error: comparison of
integers of different signs: 'clock_t' (aka 'unsigned long') and
'int' [-Werror,-Wsign-compare]
  if (times(&tms) != -1) {
luporl added a commit that referenced this pull request Jun 5, 2024
flang/runtime/time-intrinsic.cpp:403:19: error: comparison of
integers of different signs: 'clock_t' (aka 'unsigned long') and
'int' [-Werror,-Wsign-compare]
  if (times(&tms) != -1) {
vedantparanjape-amd pushed a commit to vedantparanjape-amd/llvm-project that referenced this pull request Jun 7, 2024
flang/runtime/time-intrinsic.cpp:403:19: error: comparison of
integers of different signs: 'clock_t' (aka 'unsigned long') and
'int' [-Werror,-Wsign-compare]
  if (times(&tms) != -1) {
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants