Skip to content

Conversation

@david-arm
Copy link

Support more simplifications combining loadb with various zero- and sign-extending moves.

Support more simplifications combining loadb with various
zero- and sign-extending moves.
@meta-codesync
Copy link

meta-codesync bot commented Nov 4, 2025

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

}); });
bool simplify(Env& env, const loadb& inst, Vlabel b, size_t i) {
if (simplify_load_ext<Vinstr::movzbl, movzbl, loadzbl>(env, inst, b, i))
return true;
Copy link

@charles-typ charles-typ Dec 12, 2025

Choose a reason for hiding this comment

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

I'm help dumping the reviewer comments from @ottoni because it's not passing through our review system.

HHVM's coding style require the { and } even on single-statement blocks (unless the return is in the same line as the if).
Same for the other ifs below.

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