commit | f435913490c3cc547860d50739e7bfab2ca2d772 | [log] [tgz] |
---|---|---|
author | Simon Pilgrim <llvm-dev@redking.me.uk> | Wed Apr 14 15:07:43 2021 +0100 |
committer | Copybara-Service <copybara-worker@google.com> | Fri Apr 16 12:39:51 2021 -0700 |
tree | 250dd6221962756be6b4546689ff816c9c61dafe | |
parent | fba18cec37110a91e7ae3fb56ab92dd694b73464 [diff] |
[X86][SSE] canonicalizeShuffleWithBinOps - check for more combos of merge-able binary shuffles. In the fold SHUFFLE(BINOP(X,Y),BINOP(Z,W)) -> BINOP(SHUFFLE(X,Z),SHUFFLE(Y,W)), check if both X/Z AND Y/W have at least one merge-able shuffle in which case the total number of shuffle should still fall. Helps with instruction count regressions we saw while fixing PR48823 GitOrigin-RevId: 4fbe7615721863c57b4fd4334f361a5d4157e235