forked from OSchip/llvm-project
Fix "result of 32-bit shift implicitly converted to 64 bits" warning. NFCI.
llvm-svn: 365612
This commit is contained in:
parent
d000f8b69f
commit
988925c127
|
@ -335,7 +335,7 @@ void AArch64AsmPrinter::EmitHwasanMemaccessSymbols(Module &M) {
|
|||
.addReg(Reg)
|
||||
.addImm(AArch64_AM::encodeLogicalImmediate(0xf, 64)),
|
||||
*STI);
|
||||
size_t Size = 1 << (AccessInfo & 0xf);
|
||||
unsigned Size = 1 << (AccessInfo & 0xf);
|
||||
if (Size != 1)
|
||||
OutStreamer->EmitInstruction(MCInstBuilder(AArch64::ADDXri)
|
||||
.addReg(AArch64::X17)
|
||||
|
|
Loading…
Reference in New Issue