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

code gen tests #16721

Closed
StefanKarpinski opened this issue Jun 2, 2016 · 2 comments
Closed

code gen tests #16721

StefanKarpinski opened this issue Jun 2, 2016 · 2 comments
Labels
compiler:codegen Generation of LLVM IR and native code performance Must go faster test This change adds or pertains to unit tests

Comments

@StefanKarpinski
Copy link
Sponsor Member

Finding and fixing performance regressions is a bit of a game of whack-a-mole. To get better visibility into potential performance regressions, we should have a code gen test suite. The issue is that code gen changes all the time so it's hard to test precisely. However, tests like this could flag probably issues:

@test filter(is_call, @code_llvm f(x)) == 0
@test filter(is_simd, @code_native f(x)) > 0
@test length(@code_native f(x))  20
@tkelman
Copy link
Contributor

tkelman commented Jun 2, 2016

x-ref #13686

@kshyatt kshyatt added performance Must go faster test This change adds or pertains to unit tests compiler:codegen Generation of LLVM IR and native code labels Jul 28, 2016
@gbaraldi
Copy link
Member

We have tests that do this, we could have more but they exist.

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 performance Must go faster test This change adds or pertains to unit tests
Projects
None yet
Development

No branches or pull requests

4 participants