[llvm-commits] CVS: llvm/lib/Bytecode/Writer/Writer.cpp

Jeff Cohen jeffc at jolt-lang.org
Sat Apr 21 10:34:46 PDT 2007


Jeff Cohen wrote:
> Reid Spencer wrote:
>   
>> Christopher,
>>
>> I'll answer my own question .. You're compressing the alignment to a
>> smaller value by extracting its log. I didn't get that until I read the
>> Reader.cpp code :)
>>
>> Reid.
>>     
>
> It's still very expensive.  There are alternative approaches that are 
> much faster and may still be suitable, like finding the position of the 
> first non-zero bit.

Never mind... that's what you are doing...




More information about the llvm-commits mailing list