Skip to content
Commit 42fbb4fb authored by Reid Spencer's avatar Reid Spencer
Browse files

Make it illegal to set 0 bits in getHighBitsSet and getLowBitsSet. For that

they should have used the uint64_t constructor. This avoids causing
undefined results via shifts by the word size when the bit width is an
exact multiple of the word size.

llvm-svn: 35313
parent 790631ff
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment