mirror of
https://github.com/RPCS3/llvm.git
synced 2024-12-26 14:15:53 +00:00
Silence some -Asserts uninitialized variable warnings.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@109956 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
7c380eded5
commit
425f634917
@ -579,6 +579,7 @@ void WinCOFFObjectWriter::RecordRelocation(const MCAssembler &Asm,
|
||||
|
||||
COFFRelocation Reloc;
|
||||
|
||||
Reloc.Data.SymbolTableIndex = 0;
|
||||
Reloc.Data.VirtualAddress = Layout.getFragmentOffset(Fragment);
|
||||
Reloc.Symb = coff_symbol;
|
||||
|
||||
|
@ -100,14 +100,14 @@ def NEONfmin : SDNode<"ARMISD::FMIN", SDTARMFMAX>;
|
||||
|
||||
def NEONimmAllZerosV: PatLeaf<(NEONvmovImm (i32 timm)), [{
|
||||
ConstantSDNode *ConstVal = cast<ConstantSDNode>(N->getOperand(0));
|
||||
unsigned EltBits;
|
||||
unsigned EltBits = 0;
|
||||
uint64_t EltVal = ARM_AM::decodeNEONModImm(ConstVal->getZExtValue(), EltBits);
|
||||
return (EltBits == 32 && EltVal == 0);
|
||||
}]>;
|
||||
|
||||
def NEONimmAllOnesV: PatLeaf<(NEONvmovImm (i32 timm)), [{
|
||||
ConstantSDNode *ConstVal = cast<ConstantSDNode>(N->getOperand(0));
|
||||
unsigned EltBits;
|
||||
unsigned EltBits = 0;
|
||||
uint64_t EltVal = ARM_AM::decodeNEONModImm(ConstVal->getZExtValue(), EltBits);
|
||||
return (EltBits == 8 && EltVal == 0xff);
|
||||
}]>;
|
||||
|
Loading…
Reference in New Issue
Block a user