Skip to content

Instantly share code, notes, and snippets.

@plasmacel
Last active April 10, 2022 19:55
Show Gist options
  • Select an option

  • Save plasmacel/82cf1aca5c9634f08ea0149ff6a200db to your computer and use it in GitHub Desktop.

Select an option

Save plasmacel/82cf1aca5c9634f08ea0149ff6a200db to your computer and use it in GitHub Desktop.
SINGULAR CASE 1: A resource is read by one of the passes, while it is written by an another.
-------
| A | (W)
-------
|
-------
| X0 |
-------
/ \
------- -------
(R) | B | | C | (RW)
------- -------
| |
------- -------
| Y | | X1 |
------- -------
SINGULAR CASE 2: A resource is written by a pass, but a later pass reads the original resource.
-------
| A | (W)
-------
|
-------
| X0 |
-------
| \
| -------
| | B | (RW)
| -------
| |
| -------
| | X1 |
| -------
| /
-------
(R) | C |
-------
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment