-
Notifications
You must be signed in to change notification settings - Fork 13.5k
#77856 causes a minor performance regression in stage2 clang builds #81723
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
Labels
Comments
This was referenced Mar 13, 2024
dianqk
added a commit
that referenced
this issue
May 5, 2024
…#85160) Fixes #81723. The earliest commit of the related code is: 919f9e8. I tried to understand the following code with #77856 (comment). https://github.com/llvm/llvm-project/blob/5932fcc47855fdd209784f38820422d2369b84b2/llvm/lib/Analysis/InlineCost.cpp#L709-L720 I think only scenarios where there is a default branch were considered.
Reopen, as the compilation time hasn't been restored, and there are some test cases failing simultaneously. |
@dianqk Thanks for looking into it! Agree that we can go ahead and close this issue. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
FWIW, it seems like this causes a minor performance regression in stage2 clang builds (https://llvm-compile-time-tracker.com/compare.php?from=5aec9392674572fa5a06283173a6a739742d261d&to=5932fcc47855fdd209784f38820422d2369b84b2&stat=instructions:u). Though code size does reduce as well.
Originally posted by @nikic in #77856 (comment)
The text was updated successfully, but these errors were encountered: