Shifting into the sign bit is UB as discussed on IRC. Explicitly use the
authorJoerg Sonnenberger <joerg@bec.de>
Mon, 31 Mar 2014 22:53:57 +0000 (22:53 +0000)
committerJoerg Sonnenberger <joerg@bec.de>
Mon, 31 Mar 2014 22:53:57 +0000 (22:53 +0000)
commitd73449481daee33615d907608a3a08548ce2ba65
treee7778adaea7ccd1fb0ffbcfe97a59c52be8bd432
parentd8c9577764c8277ce17446595f5af5c857385a41
Shifting into the sign bit is UB as discussed on IRC. Explicitly use the
BitWord type for the constants to avoid this.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@205257 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/ADT/BitVector.h