[llvm-commits] [llvm] r46666 - /llvm/trunk/lib/Target/X86/X86ISelLowering.cpp

Chris Lattner clattner at apple.com
Sat Feb 2 11:48:18 PST 2008


On Feb 2, 2008, at 11:43 AM, Eric Christopher wrote:

>
> On Feb 2, 2008, at 11:13 AM, Chris Lattner wrote:
>
>> On Feb 2, 2008, at 12:29 AM, Nick Lewycky wrote:
>>> Author: nicholas
>>> Date: Sat Feb  2 02:29:58 2008
>>> New Revision: 46666
>>>
>>> URL: http://llvm.org/viewvc/llvm-project?rev=46666&view=rev
>>> Log:
>>> Don't use uninitialized values. Fixes vec_align.ll on X86 Linux.
>>
>> Oooh excellent detective work, thanks Nick!
>
> Don't compile with -Wuninitialized or did it not notice?

It didn't warn because the variable is being passed in by ref to a  
function that conditionally initializes it.

-Chris



More information about the llvm-commits mailing list