-
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
script: also dump cost-model when generating optimized ll #355
Conversation
#0 0x00007faa94fe9300 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/home/dtcxzyw/WorkSpace/Projects/compilers/LLVM/llvm-build/bin/../lib/libLLVMSupport.so.19.0git+0x1e9300) We should fix this before landing the patch :( |
I will file an issue later. |
Reproducer:
|
What also might be interesting, is to use |
llvm-opt-benchmark/scripts/filter_pr_changes.py Lines 19 to 22 in 1440e40
I hope this simple strategy works :) |
Didnt do a full test of regening, but the idea is it will be easier to check for regressions. Rather than eye-balling diff, this can give a reasonable estimate.
Might also be useful to dump
-passes=instcount -stats
Edit: To be clear, the only think I tested was the regex.