Add operator= implementations to SparseBitVector, allowing it to be used in GVN....
authorOwen Anderson <resistor@mac.com>
Mon, 7 Apr 2008 17:38:23 +0000 (17:38 +0000)
committerOwen Anderson <resistor@mac.com>
Mon, 7 Apr 2008 17:38:23 +0000 (17:38 +0000)
commit412821284f16a683e9b734baf2b6c9b4635857f2
treee3f2af37f3b0f3acebe01267c3c4c001d1c2261e
parentf02a8070eb01075993129d32ac264c651be55d62
Add operator= implementations to SparseBitVector, allowing it to be used in GVN.  This results
in both time and memory savings for GVN.  For example, one testcase went from 10.5s to 6s with
this patch.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@49345 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/ADT/SparseBitVector.h
lib/Transforms/Scalar/GVN.cpp