-
Notifications
You must be signed in to change notification settings - Fork 414
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
LLVM performance with -use-cfl-aa #5533
Comments
@ben-albrecht Each of these tests has And yes, this is supposed to be viewed mostly by @mppf, we have an e-mail conversation and he told me to make github issue and describe exactly what I did. |
@coodie - cool, thanks for making this issue about your experiment. Can you, with a limited amount of effort, figure out if the reason --use-cfl-aa has no effect is trivial ? E.g. is that alias analysis pass running in LLVM in your experiment at all? Is our generated LLVM IR including the information it needs to do its job? Is the LLVM IR output different with --use-cfl-aa ? (You can use --savec=tmp and that will produce two .bc files, one for before opts run, one for after). |
Closing this now that it's linked from the LLVM issues issue. |
This is place to discuss the last point in issue #5043 (" try -mllvm -use-cfl-aa for clang with --llvm-wide-opt.").
In general I noticed no difference between --llvm-wide-opt and --llvm-wide-opt with -use-cfl-aa.
Here are the details:
Effect of running printchplenv:
Tests I used were the one in test/performance/ferguson/. What I did was run command (for file in the directory):
and then
The diff command showed no difference for any file in that directory, thus I assume that in case of these tests cfl-aa has no improvement.
The text was updated successfully, but these errors were encountered: