Skip to content

Conversation

@david-arm
Copy link
Contributor

No description provided.

@meta-codesync
Copy link

meta-codesync bot commented Nov 5, 2025

@facebook-github-bot has imported this pull request. If you are a Meta employee, you can view this in D86303479. (Because this pull request was imported automatically, there will not be any future comments.)


bool simplify(Env& env, const movtqb& inst, Vlabel b, size_t i) {
if (env.use_counts[inst.d] != 1)
return false;

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

From @ottoni:

Either move the return to the same line as the if or wrap it with { and } to adhere to the coding style.


if (if_inst<Vinstr::movzbq>(env, b, i + 1, [&](const movzbq& ext) {
if (ext.s != inst.d)
return false;

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

From @ottoni:

Same here.

@facebook-github-bot
Copy link
Contributor

@david-arm has updated the pull request. You must reimport the pull request before landing.

@meta-codesync
Copy link

meta-codesync bot commented Dec 16, 2025

This pull request has been merged in 2cd4dc8.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants