mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-04-05 17:39:16 +00:00
Fix -Asserts warning.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@103694 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
61066dbdf2
commit
1860e7dcfd
@ -344,6 +344,7 @@ NEONPreAllocPass::FormsRegSequence(MachineInstr *MI,
|
||||
MachineOperand &FMO = MI->getOperand(FirstOpnd);
|
||||
assert(FMO.isReg() && FMO.getSubReg() == 0 && "unexpected operand");
|
||||
unsigned VirtReg = FMO.getReg();
|
||||
(void)VirtReg;
|
||||
assert(TargetRegisterInfo::isVirtualRegister(VirtReg) &&
|
||||
"expected a virtual register");
|
||||
if (FMO.isDef()) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user