AMDGPU/GlobalISel/Emitter Recognize additional 'same operand checks'
authorPetar Avramovic <Petar.Avramovic@amd.com>
Mon, 14 Sep 2020 09:37:14 +0000 (11:37 +0200)
committerPetar Avramovic <Petar.Avramovic@amd.com>
Mon, 14 Sep 2020 10:10:59 +0000 (12:10 +0200)
commit416346d1ca503262983c954ddc861ff4f91347a3
treef135ffa0579c269b62b99c653badeecb2cf0d09a
parent0c8f4cd657346fcb25e99a3d2c93a7a12080d667
AMDGPU/GlobalISel/Emitter Recognize additional 'same operand checks'

The "name" of a non-leaf complex pattern (MY_PAT $op1, $op2) is
"MY_PAT:op1:op2" and the ones with same "name" represent same operand.
Add 'same operand check' for this case.

Differential Revision: https://reviews.llvm.org/D87351
llvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-fract.f64.mir
llvm/test/TableGen/GlobalISelEmitter.td
llvm/test/TableGen/GlobalISelEmitterSkippedPatterns.td
llvm/utils/TableGen/GlobalISelEmitter.cpp