[llvm-commits] [llvm] r49048 - in /llvm/trunk: lib/Target/X86/X86ISelLowering.cpp lib/Target/X86/X86Subtarget.cpp lib/Target/X86/X86Subtarget.h test/CodeGen/X86/darwin-bzero.ll

Chris Lattner clattner at apple.com
Tue Apr 1 14:01:56 PDT 2008


On Apr 1, 2008, at 1:58 PM, Dan Gohman wrote:
> On Apr 1, 2008, at 1:48 PM, Chris Lattner wrote:
>> On Apr 1, 2008, at 1:38 PM, Dan Gohman wrote:
>>> URL: http://llvm.org/viewvc/llvm-project?rev=49048&view=rev
>>> Log:
>>> Speculatively micro-optimize memory-zeroing calls on Darwin 10.
>>
>> Thanks Dan!  Is this checking to see that the memset value is equal  
>> to
>> zero?  memset(x, 1, n) shouldn't use bzero.  Maybe I'm just missing
>> the check,
>
> You didn't miss it. It was in the original patch but I accidentally
> dropped it when introducing the subtarget code.

Ok, thanks!

-Chris



More information about the llvm-commits mailing list