[SDAG] Extract commutative helper from haveNoCommonBitsSet() (NFC)
authorNikita Popov <npopov@redhat.com>
Tue, 3 May 2022 10:20:04 +0000 (12:20 +0200)
committerNikita Popov <npopov@redhat.com>
Tue, 3 May 2022 10:28:35 +0000 (12:28 +0200)
commite0892614b162f5f53aa44c88080d986649a50982
tree4fed250b3b907c09998357870b726863bdc1ed01
parentf114f009486816ed4b3bf984f0fbbb8fc80914f6
[SDAG] Extract commutative helper from haveNoCommonBitsSet() (NFC)

To make it easier to add additional patterns, which will generally
want to handle commuted top-level operands.
llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp