This is an archive of the discontinued LLVM Phabricator instance.

InstSimplify: Refactor function to use more switches
ClosedPublic

Authored by arsenm on Dec 19 2016, 12:36 PM.

Details

Reviewers
efriedma
Summary

Did you mean to remove the NumOperands splitting and have one giant switch?

Diff Detail

Event Timeline

arsenm updated this revision to Diff 81984.Dec 19 2016, 12:36 PM
arsenm retitled this revision from to InstSimplify: Refactor function to use more switches.
arsenm updated this object.
arsenm added a reviewer: efriedma.
efriedma accepted this revision.Dec 19 2016, 1:21 PM
efriedma edited edge metadata.

LGTM. The common LHS and RHS variables seem like a good enough reason to separate it into two switches.

This revision is now accepted and ready to land.Dec 19 2016, 1:21 PM
arsenm closed this revision.Jan 10 2017, 5:09 PM

r291634