OSDN Git Service

GlobalISel: fix CombinerHelper::matchEqualDefs()
authorStanislav Mekhanoshin <Stanislav.Mekhanoshin@amd.com>
Thu, 28 May 2020 22:30:23 +0000 (15:30 -0700)
committerStanislav Mekhanoshin <Stanislav.Mekhanoshin@amd.com>
Fri, 29 May 2020 16:30:02 +0000 (09:30 -0700)
commitf6a6de288bfb23e45ab2558a9c163132cfe7579a
tree3462f302e2ae6380f245317c516807a3f48fa2a3
parentc21a4f84b0e83aaf8f5390f6299a8857197f96c4
GlobalISel: fix CombinerHelper::matchEqualDefs()

This matcher was always returning true for the different
results of a same instruction.

Differential Revision:
llvm/lib/CodeGen/GlobalISel/CombinerHelper.cpp
llvm/test/CodeGen/AMDGPU/GlobalISel/postlegalizercombiner-select.mir [new file with mode: 0644]