Skip to content
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

[NewOptimizer] Fix codegen test #27086

Merged
merged 1 commit into from
May 12, 2018
Merged

[NewOptimizer] Fix codegen test #27086

merged 1 commit into from
May 12, 2018

Conversation

Keno
Copy link
Member

@Keno Keno commented May 12, 2018

With the new optimizer enabled, we compile a signature for eval(::Module, ::Any),
which throws off the codegen test. I'm not entirely sure why this is different,
from the old optimizer, but presumably the old optimizer compiled this singature
beforehand. To fix this, simply add another call to eval that forces this
signature to be compiled.

With the new optimizer enabled, we compile a signature for eval(::Module, ::Any),
which throws off the codegen test. I'm not entirely sure why this is different,
from the old optimizer, but presumably the old optimizer compiled this singature
beforehand. To fix this, simply add another call to `eval` that forces this
signature to be compiled.
@vtjnash
Copy link
Member

vtjnash commented May 12, 2018

Presumanbly something used Core.eval at some point? Unless now it is always/never inlined (whichever would be the different option)?

Lgtm

@ararslan ararslan added test This change adds or pertains to unit tests compiler:codegen Generation of LLVM IR and native code compiler:optimizer Optimization passes (mostly in base/compiler/ssair/) labels May 12, 2018
@Keno Keno merged commit 2a21849 into master May 12, 2018
@StefanKarpinski StefanKarpinski deleted the kf/fixcodegen branch May 13, 2018 16:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
compiler:codegen Generation of LLVM IR and native code compiler:optimizer Optimization passes (mostly in base/compiler/ssair/) test This change adds or pertains to unit tests
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants