Remove BitVector binops.
authorJakob Stoklund Olesen <stoklund@2pi.dk>
Mon, 14 May 2012 15:37:25 +0000 (15:37 +0000)
committerJakob Stoklund Olesen <stoklund@2pi.dk>
Mon, 14 May 2012 15:37:25 +0000 (15:37 +0000)
commit76680e9b4ec9e0ed019791373b726364e15dc322
tree78d363de86cc2880d281dd6f11fbc7387a078e54
parent572c5b2a44f6d27f4311ac1ed9765a6a18d7b82d
Remove BitVector binops.

These operators were crazy slow, calling malloc to return a temporary
result. At the same time, they look very innocent when used in code.

If you need temporary BitVectors to compute your thing, create them
explicitly, and use the inplace logical operators. This makes the high
cost explicit in the code.

llvm-svn: 156767
llvm/include/llvm/ADT/BitVector.h