Skip to content

add maybe_unused where needed in size_test.cpp #7602

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

Merged
merged 1 commit into from
Jan 11, 2025

Conversation

swolchok
Copy link
Contributor

@swolchok swolchok commented Jan 10, 2025

Stack from ghstack (oldest at bottom):

At least one internal build have -Werror -Wunused-variable and ExecuTorch logging disabled.

Differential Revision: D68032964

At least one internal build have -Werror -Wunused-variable and ExecuTorch logging disabled.

Differential Revision: [D68032964](https://our.internmc.facebook.com/intern/diff/D68032964/)

[ghstack-poisoned]
Copy link

pytorch-bot bot commented Jan 10, 2025

🔗 Helpful Links

🧪 See artifacts and rendered test results at hud.pytorch.org/pr/pytorch/executorch/7602

Note: Links to docs will display an error until the docs builds have been completed.

✅ No Failures

As of commit 36e4782 with merge base e1c0bcf (image):
💚 Looks good so far! There are no failures yet. 💚

This comment was automatically generated by Dr. CI and updates every 15 minutes.

@facebook-github-bot facebook-github-bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Jan 10, 2025
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D68032964

@swolchok swolchok requested a review from lucylq January 10, 2025 21:32
@swolchok swolchok added the release notes: devtools Changes to dev tooling, for example the debugger & profiler label Jan 10, 2025
@facebook-github-bot facebook-github-bot merged commit 92b04f0 into gh/swolchok/128/base Jan 11, 2025
46 of 48 checks passed
@facebook-github-bot facebook-github-bot deleted the gh/swolchok/128/head branch January 11, 2025 02:13
JacobSzwejbka pushed a commit that referenced this pull request Jan 11, 2025
At least one internal build have -Werror -Wunused-variable and ExecuTorch logging disabled.

Differential Revision: [D68032964](https://our.internmc.facebook.com/intern/diff/D68032964/)

ghstack-source-id: 260945746
Pull Request resolved: #7602

Co-authored-by: Github Executorch <[email protected]>
lucylq pushed a commit that referenced this pull request Jan 13, 2025
* add maybe_unused where needed in size_test.cpp

At least one internal build have -Werror -Wunused-variable and ExecuTorch logging disabled.

Differential Revision: [D68032964](https://our.internmc.facebook.com/intern/diff/D68032964/)

ghstack-source-id: 260945746
Pull Request resolved: #7602

* Reduce size of Method::parse_types

It looks like this function was big enough that inlining gave up, since I was seeing non-inlined calls to val_as_Foo() that should have been easily optimized away. Do said optimization manually.

Differential Revision: [D68037113](https://our.internmc.facebook.com/intern/diff/D68037113/)

ghstack-source-id: 260959235
Pull Request resolved: #7603

---------

Co-authored-by: Github Executorch <[email protected]>
YIWENX14 pushed a commit that referenced this pull request Jan 28, 2025
At least one internal build have -Werror -Wunused-variable and ExecuTorch logging disabled.

Differential Revision: [D68032964](https://our.internmc.facebook.com/intern/diff/D68032964/)

ghstack-source-id: 260945746
Pull Request resolved: #7602

Co-authored-by: Github Executorch <[email protected]>
YIWENX14 pushed a commit that referenced this pull request Jan 28, 2025
* add maybe_unused where needed in size_test.cpp

At least one internal build have -Werror -Wunused-variable and ExecuTorch logging disabled.

Differential Revision: [D68032964](https://our.internmc.facebook.com/intern/diff/D68032964/)

ghstack-source-id: 260945746
Pull Request resolved: #7602

* Reduce size of Method::parse_types

It looks like this function was big enough that inlining gave up, since I was seeing non-inlined calls to val_as_Foo() that should have been easily optimized away. Do said optimization manually.

Differential Revision: [D68037113](https://our.internmc.facebook.com/intern/diff/D68037113/)

ghstack-source-id: 260959235
Pull Request resolved: #7603

---------

Co-authored-by: Github Executorch <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. release notes: devtools Changes to dev tooling, for example the debugger & profiler
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants