HomePhabricator

[X86] isHorizontalBinOp - only update LHS/RHS references on success

Authored by RKSimon on Aug 5 2020, 7:09 AM.

Description

[X86] isHorizontalBinOp - only update LHS/RHS references on success

We've had issues in the past where isHorizontalBinOp calls would affect later combines as the LHS/RHS references had been commuted but still failed to match.

Details