-
Notifications
You must be signed in to change notification settings - Fork 5
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
SWT module clone - set original functions to be optimised and cloned as unoptimised. #222
SWT module clone - set original functions to be optimised and cloned as unoptimised. #222
Conversation
For some reason yk
|
That test is affected by a recent change to ykllvm -- but that change hasn't (yet) successfully merged into yk. |
Does this change which functions we inline during tracing? I remember there was some discussion around this. For example, we know we need to trace the |
I don't think it changes anything in terms of tracing inlining. In this PR both versions will have the tracing calls so
I don't remember what we said about funcion inclining tbh (and I can't find anything in my notes about it 😶 ). |
if (F.getName().startswith(YK_CLONE_PREFIX)) { | ||
continue; | ||
} | ||
// FIXME: Once control point transition is implemented, |
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.
Why are we adding them to both at the moment?
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.
To remove tracing calls from the original functions (opt functions in this PR) we will need first to implement the control point transition between opt
and unopt
versions.
Right now the functions are cloned but they are not used at all, yk swt executes only the original functions.
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.
I see. Okay, let's remove the commented code though. We can add it back later.
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.
removed 👉 24eceaa
Please squash, |
Interpreter starts always in optimised (non-tracing) mode, therefore the original module should be set as optimised.
24eceaa
to
9504103
Compare
Squashed 👉 9504103 |
Interpreter starts always in optimised (non-tracing) mode, therefore the original module should be set as optimised.