[GISel]: Relax opcode checking at the top level to enable CSE
authorAditya Nandakumar <aditya_nandakumar@apple.com>
Thu, 23 Apr 2020 00:15:00 +0000 (17:15 -0700)
committerAditya Nandakumar <aditya_nandakumar@apple.com>
Thu, 23 Apr 2020 00:31:33 +0000 (17:31 -0700)
commit3db893b3712a5cc98ac0dbc88e08df70069be216
tree2cbb2826966b4479d0eb2e9a1126af45b65e338d
parent391c15fccdc6b0d33bb651a298c07216e532904e
[GISel]: Relax opcode checking at the top level to enable CSE

Loosen the restriction on what kinds of opcodes can be CSEd as
targets may want to CSE some generic target specific pseudos.
NFC as far as this change is concerned as CSEConfig still pretty much is
a subset of this check.

Differential Revision: https://reviews.llvm.org/D78684
llvm/lib/CodeGen/GlobalISel/CSEInfo.cpp