Commit f38e1b0a by Vladimir Makarov Committed by Vladimir Makarov

lra.c: Update the flow chart diagram.

2013-04-19  Vladimir Makarov  <vmakarov@redhat.com>

	* lra.c: Update the flow chart diagram.

From-SVN: r198102
parent 682303da
2013-04-19 Vladimir Makarov <vmakarov@redhat.com> 2013-04-19 Vladimir Makarov <vmakarov@redhat.com>
* lra.c: Update the flow chart diagram.
2013-04-19 Vladimir Makarov <vmakarov@redhat.com>
PR rtl-optimization/56847 PR rtl-optimization/56847
* lra-constraints.c (process_alt_operands): Discourage alternative * lra-constraints.c (process_alt_operands): Discourage alternative
with non-matche doffsettable memory constraint fro memory with with non-matche doffsettable memory constraint fro memory with
......
...@@ -43,32 +43,32 @@ along with GCC; see the file COPYING3. If not see ...@@ -43,32 +43,32 @@ along with GCC; see the file COPYING3. If not see
Here is block diagram of LRA passes: Here is block diagram of LRA passes:
--------------------- ---------------------
| Undo inheritance | --------------- --------------- --------------- | Undo inheritance | ---------------
| for spilled pseudos)| | Memory-memory | | New (and old) | | Memory-memory | | for spilled pseudos)| | New (and old) |
| and splits (for |<----| move coalesce |<-----| pseudos | | move coalesce |<---| and splits (for |<-- | pseudos |
| pseudos got the | --------------- | assignment | --------------- | pseudos got the | | assignment |
Start | same hard regs) | --------------- Start | | same hard regs) | ---------------
| --------------------- ^ | | --------------------- ^
V | ---------------- | V | ---------------- |
----------- V | Update virtual | | ----------- V | Update virtual | |
| Remove |----> ------------>| register | | | Remove |----> ------------>| register | |
| scratches | ^ | displacements | | | scratches | ^ | displacements | |
----------- | ---------------- | ----------- | ---------------- |
| | | | | |
| V New | | V New |
---------------- No ------------ pseudos ------------------- ---------------- No ------------ pseudos -------------------
| Spilled pseudo | change |Constraints:| or insns | Inheritance/split | | Spilled pseudo | change |Constraints:| or insns | Inheritance/split |
| to memory |<-------| RTL |--------->| transformations | | to memory |<-------| RTL |--------->| transformations |
| substitution | | transfor- | | in EBB scope | | substitution | | transfor- | | in EBB scope |
---------------- | mations | ------------------- ---------------- | mations | -------------------
| ------------ | ------------
V V
------------------------- -------------------------
| Hard regs substitution, | | Hard regs substitution, |
| devirtalization, and |------> Finish | devirtalization, and |------> Finish
| restoring scratches got | | restoring scratches got |
| memory | | memory |
------------------------- -------------------------
To speed up the process: To speed up the process:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment