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

Check the final machine code with llvm-mca? #139

Closed
DianQK opened this issue Jan 18, 2024 · 1 comment
Closed

Check the final machine code with llvm-mca? #139

DianQK opened this issue Jan 18, 2024 · 1 comment

Comments

@DianQK
Copy link

DianQK commented Jan 18, 2024

I'm not sure how the optimization results are currently checked? It looks like it's by looking at the diff?

But I created this issue because I realized that just checking the LLVM IR may wasn't enough.
Despite providing an IR with more facts, the code gen may submit poor code.

See llvm/llvm-project#78578.

@dtcxzyw
Copy link
Owner

dtcxzyw commented Jan 18, 2024

I'm not sure how the optimization results are currently checked? It looks like it's by looking at the diff?

But I created this issue because I realized that just checking the LLVM IR may wasn't enough. Despite providing an IR with more facts, the code gen may submit poor code.

You are right. See also our old CI https://github.com/dtcxzyw/llvm-ci.

@dtcxzyw dtcxzyw closed this as completed Mar 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants