TableGen: Switch from a std::map to a DenseMap in CodeGenSubRegIndex. NFC
authorJustin Bogner <mail@justinbogner.com>
Fri, 26 Aug 2016 22:29:36 +0000 (22:29 +0000)
committerJustin Bogner <mail@justinbogner.com>
Fri, 26 Aug 2016 22:29:36 +0000 (22:29 +0000)
commit39b6b2f0b0e71856eb17e0eb6ca84a35f0d2b7ab
tree205212f8bb8618ca371e8233ec848c9322cf9e83
parente609a9a80a1dcf8d4eb95a679972e22c5aa0c8cb
TableGen: Switch from a std::map to a DenseMap in CodeGenSubRegIndex. NFC

This mapping is between pointers, which DenseMap is particularly good
at. Most targets aren't really affected, but if there's a lot of
subregister composition this can shave off a good chunk of time from
generating registers.

llvm-svn: 279875
llvm/utils/TableGen/CodeGenRegisters.h