commit | ea4e88c5cffb0fa2b480f6b22f3eae5b967883ea | [log] [tgz] |
---|---|---|
author | Justin Bogner <mail@justinbogner.com> | Fri Aug 26 22:29:36 2016 +0000 |
committer | Justin Bogner <mail@justinbogner.com> | Fri Aug 26 22:29:36 2016 +0000 |
tree | 43ac27208989270995bcea978b8d44b043cfb94e | |
parent | 7e943897736573f9f4450f1e378d5480b15e81ce [diff] |
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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@279875 91177308-0d34-0410-b5e6-96231b3b80d8