llvm-6502/include
Reid Spencer c68c2243dc Fix clearUnusedBits to not depend on "undefined behavior" of >> operator
when the bit size is equal to the word size. This happens to work out okay
on x86, but might not on other platforms. The change just detects when
there are no bits to clear (because BitWidth is a multiple of the word size)
and returns early.

Also, move some comments from .cpp file into header.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34602 91177308-0d34-0410-b5e6-96231b3b80d8
2007-02-25 19:26:01 +00:00
..
llvm Fix clearUnusedBits to not depend on "undefined behavior" of >> operator 2007-02-25 19:26:01 +00:00
llvm-c Add C wrappers for the LTO library (PR1081). Patch by Chandler Carruth! 2007-01-06 23:53:43 +00:00