-
Notifications
You must be signed in to change notification settings - Fork 15.2k
[libclc] Enable -fdiscard-value-names build flag to reduce bitcode size #149016
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
Conversation
The flag reduces nvptx64--nvidiacl.bc size from 10.6MB to 5.2MB.
frasercrmck
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, nice find.
I think this could optionally do with a comment before explaining what this flag is helping to achieve, but it's not a blocker.
it is explained at https://clang.llvm.org/docs/UsersManual.html#id72 and reducing size and verbosity is what this flag is intended for. I mean the flag doesn't have another meaning. |
|
LLVM Buildbot has detected a new failure on builder Full details are available at: https://lab.llvm.org/buildbot/#/builders/153/builds/38396 Here is the relevant piece of the build log for the reference |
…ze (llvm#149016) The flag reduces nvptx64--nvidiacl.bc size from 10.6MB to 5.2MB.
…ze (llvm#149016) The flag reduces nvptx64--nvidiacl.bc size from 10.6MB to 5.2MB.
…ze (llvm#149016) The flag reduces nvptx64--nvidiacl.bc size from 10.6MB to 5.2MB.
The flag reduces nvptx64--nvidiacl.bc size from 10.6MB to 5.2MB.