1. May 15, 2012
  2. May 14, 2012
    • Jakob Stoklund Olesen's avatar
      Remove the expensive BitVector::operator~(). · 77e7b8ed
      Jakob Stoklund Olesen authored
      Returning a temporary BitVector is very expensive. If you must, create
      the temporary explicitly: Use BitVector(A).flip() instead of ~A.
      
      llvm-svn: 156768
      77e7b8ed
    • Jakob Stoklund Olesen's avatar
      Remove BitVector binops. · 76680e9b
      Jakob Stoklund Olesen authored
      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
      76680e9b