-
Notifications
You must be signed in to change notification settings - Fork 73
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
Precise dependencies #916
base: main
Are you sure you want to change the base?
Precise dependencies #916
Conversation
ca1e9ba
to
d6cb99d
Compare
source: InstructionBase, | ||
after_insn: InstructionBase, | ||
happens_afters: dict, | ||
dependency_map: isl.Map | None = None, # type: ignore |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
source: InstructionBase, | |
after_insn: InstructionBase, | |
happens_afters: dict, | |
dependency_map: isl.Map | None = None, # type: ignore | |
after: InstructionBase, | |
before: InstructionBase, | |
happens_afters: Mapping[...], | |
dependency_map: isl.Map | None = None, # type: ignore |
N.b. this prevents in-place modification of happens_after
, which is IMO desirable.
assert write_map is not None | ||
assert source_map is not None | ||
|
||
dependency_map &= write_map.apply_range(source_map.reverse()) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Missing complement?
assert write_map is not None | ||
assert source_map is not None | ||
|
||
dependency_map &= write_map.apply_range(source_map.reverse()) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
namedisl
or bust 😁
No description provided.