Don't use uninitialized values. Fixes vec_align.ll on X86 Linux.

llvm-svn: 46666
This commit is contained in:
Nick Lewycky 2008-02-02 08:29:58 +00:00
parent 2aa360adf8
commit f5b9938ef6
1 changed files with 1 additions and 1 deletions

View File

@ -5642,7 +5642,7 @@ static bool isConsecutiveLoad(SDNode *N, SDNode *Base, int Dist, int Size,
static bool isBaseAlignment16(SDNode *Base, MachineFrameInfo *MFI,
const X86Subtarget *Subtarget) {
GlobalValue *GV;
int64_t Offset;
int64_t Offset = 0;
if (isGAPlusOffset(Base, GV, Offset))
return (GV->getAlignment() >= 16 && (Offset % 16) == 0);
// DAG combine handles the stack object case.