mirror of
https://github.com/intel/llvm.git
synced 2026-01-26 12:26:52 +08:00
[AArch64][GlobalISel] Fold variable into assert
Avoids unused variable warnings in release builds. NFCI.
This commit is contained in:
@@ -5659,8 +5659,8 @@ bool AArch64InstructionSelector::selectIndexedLoad(MachineInstr &MI,
|
||||
Register WriteBack = Ld.getWritebackReg();
|
||||
Register Base = Ld.getBaseReg();
|
||||
Register Offset = Ld.getOffsetReg();
|
||||
LLT Ty = MRI.getType(Dst);
|
||||
assert(Ty.getSizeInBits() <= 128 && "Unexpected type for indexed load");
|
||||
assert(MRI.getType(Dst).getSizeInBits() <= 128 &&
|
||||
"Unexpected type for indexed load");
|
||||
unsigned MemSize = Ld.getMMO().getMemoryType().getSizeInBytes();
|
||||
|
||||
unsigned Opc = 0;
|
||||
|
||||
Reference in New Issue
Block a user