DbgValueHistoryCalculator: Store modified registers in a BitVector instead of std...
authorBenjamin Kramer <benny.kra@googlemail.com>
Mon, 6 Oct 2014 15:31:04 +0000 (15:31 +0000)
committerBenjamin Kramer <benny.kra@googlemail.com>
Mon, 6 Oct 2014 15:31:04 +0000 (15:31 +0000)
commit8ea5b7120f539067383c02cf47777c81f664508f
tree79d2545788307ab7c35c71d8bb461c3781f4bdb5
parent6a075f530a621c1b3b57c3bdfdb286812bf96ac5
DbgValueHistoryCalculator: Store modified registers in a BitVector instead of std::set.

And iterate over the smaller map instead of the larger set first.  Reduces the time spent in
calculateDbgValueHistory by 30-40%.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@219123 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/AsmPrinter/DbgValueHistoryCalculator.cpp