As discussed on D59738, this generalizes reorderInputsAccordingToOpcode to handle multiple + non-commutative instructions so we can get rid of reorderAltShuffleOperands and make use of the extra canonicalizations that reorderInputsAccordingToOpcode brings.
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Either use continue; here or else in else if. Only if is going to be enough.