[VectorCombine] add helper to replace uses and rename
authorSanjay Patel <spatel@rotateright.com>
Mon, 22 Jun 2020 13:26:46 +0000 (09:26 -0400)
committerSanjay Patel <spatel@rotateright.com>
Mon, 22 Jun 2020 13:58:49 +0000 (09:58 -0400)
commit98c2f4eea56a48576578fefcddcd6c97eea77c28
treed12ad2d1e3afe39a8fd31b1ccff27bacebe14d74
parent8383ac61971bc89b3e1fe5eb5d16bd989e838493
[VectorCombine] add helper to replace uses and rename

The tests are regenerated to show a path that missed renaming,
but there should be no functional difference from this patch.
llvm/lib/Transforms/Vectorize/VectorCombine.cpp
llvm/test/Transforms/PhaseOrdering/X86/shuffle.ll
llvm/test/Transforms/VectorCombine/X86/shuffle.ll