commit | 00570224891da83c5066b8d135232f96786dbd56 | [log] [tgz] |
---|---|---|
author | Jakob Stoklund Olesen <stoklund@2pi.dk> | Mon May 14 15:46:27 2012 +0000 |
committer | Jakob Stoklund Olesen <stoklund@2pi.dk> | Mon May 14 15:46:27 2012 +0000 |
tree | e3237abe14c6489a79e1602206bfc34a06ac89a2 | |
parent | 9e10d773e155fcd9fba9c3e1a7d2e49f31c42731 [diff] |
Remove the expensive BitVector::operator~(). Returning a temporary BitVector is very expensive. If you must, create the temporary explicitly: Use BitVector(A).flip() instead of ~A. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@156768 91177308-0d34-0410-b5e6-96231b3b80d8