AArch64: compare correct type for multi-valued SDNode.
authorTim Northover <t.p.northover@gmail.com>
Wed, 18 Aug 2021 08:26:03 +0000 (09:26 +0100)
committerTim Northover <t.p.northover@gmail.com>
Wed, 18 Aug 2021 08:35:31 +0000 (09:35 +0100)
commit8eb054a87df2c0f49481e70c673cdbbb63aee024
treeac1e06c8e809c35c6e97430a86ae13a2bb0a0c83
parent29ff2e879f65689c12b95b3377b08160236fce1f
AArch64: compare correct type for multi-valued SDNode.

If Orig produces more than one value (rare) with different types (rarer) then
we need to make sure we check against the one that Orig actually represents,
not just the first type.

Unfortunately because of the combination of things that need to happen I wasn't
able to produce a test.
llvm/lib/Target/AArch64/AArch64ISelLowering.cpp