[PATCH] D107362: GlobalISel: Fix matchEqualDefs for instructions with multiple defs
Petar Avramovic via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Aug 4 01:59:27 PDT 2021
Petar.Avramovic updated this revision to Diff 364007.
Petar.Avramovic retitled this revision from "GlobalISel: Fix CombinerHelper::matchEqualDefs() for unmerge" to "GlobalISel: Fix matchEqualDefs for instructions with multiple defs".
Petar.Avramovic edited the summary of this revision.
Petar.Avramovic added a comment.
Merge the same instructions case with different instructions that produce same values.
Check for all instructions with multiple defs not only g_unmerge.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D107362/new/
https://reviews.llvm.org/D107362
Files:
llvm/lib/CodeGen/GlobalISel/CombinerHelper.cpp
llvm/test/CodeGen/AMDGPU/GlobalISel/postlegalizercombiner-select.mir
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D107362.364007.patch
Type: text/x-patch
Size: 4914 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210804/44a7be21/attachment.bin>
More information about the llvm-commits
mailing list