[TableGen] Use MachineValueTypeSet in place of SmallSet.
authorCraig Topper <craig.topper@sifive.com>
Sun, 18 Apr 2021 20:35:11 +0000 (13:35 -0700)
committerCraig Topper <craig.topper@sifive.com>
Sun, 18 Apr 2021 20:38:30 +0000 (13:38 -0700)
commitf08b171b18744a2e75f13e7d4860a51eebd4d5e8
treefe054ecf1025727e21bca13196347d6d327c4188
parent6e8e165085d4506d3df15da79f70abe1237a26ba
[TableGen] Use MachineValueTypeSet in place of SmallSet.

MachineValueTypeSet is effectively a std::bitset<256>. This allows
us quickly insert into the set and check if a type is in the set.
llvm/utils/TableGen/CodeGenDAGPatterns.cpp