-
Notifications
You must be signed in to change notification settings - Fork 56
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
Regalloc: liveness annotations #749
Conversation
c06635d
to
1fbede8
Compare
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.
Thank a lot. I have try to use it.
For me there is two main problems:
- The variable names do not correspond to the one of the source program.
- I would like also to print variables depending on their type (and maybe the number of variables of each categories)
d908d70
to
f0c801e
Compare
d92f4fe
to
095fcce
Compare
095fcce
to
1aaa121
Compare
d86ae33
to
883b630
Compare
Thanks Benjamin. I’ve cleaned up the history & commit message. I think this is ready. |
70e4da7
to
09da84a
Compare
09da84a
to
3d657c1
Compare
e6868e0
to
eb0a997
Compare
This introduces the -pliveness command-line flag to turn on printing of liveness information during register-allocation. It prints what local variables are live at any program point and at the end of each function what variables of the callers are live at call-sites (hence during the hole execution of the function). Co-authored-by: Benjamin Grēgoire <Benjamin.Gregoire@inria.fr>
When printing the location of an instruction, do not repeat the file name (and path) of a caller when it is the same as the one of the callee.
eb0a997
to
d16b23d
Compare
I'm reviewing. |
ping @eponier Is there anything wrong? |
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.
Yes, something is wrong, I'm too slow to review.
Дякую! |
This introduces the
-pliveness
command-line flag to turn on printing ofliveness information during register-allocation. It prints what local
variables are live at any program point and at the end of each function
what variables of the callers are live at call-sites (hence during the
hole execution of the function).
Example result: