[PBQP] Use DenseSet rather than std::set for PBQP's PoolCostAllocator
authorLang Hames <lhames@gmail.com>
Mon, 20 Oct 2014 04:26:23 +0000 (04:26 +0000)
committerLang Hames <lhames@gmail.com>
Mon, 20 Oct 2014 04:26:23 +0000 (04:26 +0000)
commit96fc0d298c2ae67f8d68de6ffcf068f2c7162346
treefb6de41fd28ca06b2d69a690d52ef4e5f95114b4
parent35c4e071bef11d3e6d193a1fa337788a99bbce3d
[PBQP] Use DenseSet rather than std::set for PBQP's PoolCostAllocator
implementation.

This is good for a ~6% reduction in total compile time on the nightly test suite
when running with -regalloc=pbqp.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@220183 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/CodeGen/PBQP/CostAllocator.h
include/llvm/CodeGen/PBQP/Math.h
include/llvm/CodeGen/RegAllocPBQP.h