Skip to content

Conversation

Smit-create
Copy link
Collaborator

Fixes #770
Closes #771

@Smit-create Smit-create requested a review from czgdp1807 July 26, 2022 13:54
@czgdp1807
Copy link
Collaborator

There are a couple of places (AFAICT) where the ASR::DoLoop is generated programatically (i.e., by calling ASR::make_DoLoop_t). There the kind of increment variable is 32 bit but it should be taken from the kind of iterator variable. Can you just check for those and add a fix if necessary? Like search for make_DoLoop_t and read the code to see if things are correct.

@czgdp1807 czgdp1807 added asr ASR related changes asr_pass ASR pass related changes labels Jul 26, 2022
Copy link
Collaborator

@namannimmo10 namannimmo10 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Thank you 👍

@czgdp1807 czgdp1807 merged commit b51b4e6 into lcompilers:main Jul 26, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
asr_pass ASR pass related changes asr ASR related changes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

DoLoops not working for i64 increment variable
3 participants