Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

kaushikcfd
Copy link
Collaborator

Reported by @sv2518.

@sv2518
Copy link
Contributor

sv2518 commented Jul 11, 2022

Thanks!

elif isinstance(insn, (NoOpInstruction, BarrierInstruction)):
pass
elif isinstance(insn, (CInstruction, NoOpInstruction, BarrierInstruction)):
exprs_in_insn = tuple(insn.predicates)
Copy link
Owner

Choose a reason for hiding this comment

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

Since we don't know how much computation goes on in a CInstruction, I think we at least need a flag to turn on this behavior, since it's easy to have misconceptions on what it does.

Copy link
Contributor

Choose a reason for hiding this comment

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

I added a warning in #649

@kaushikcfd
Copy link
Collaborator Author

@inducer: This is ready for another look!

@sv2518
Copy link
Contributor

sv2518 commented Jul 18, 2022

Can we add something similar so I don't run into the same error with lp.get_mem_access_map?

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.

3 participants