commit | 1860e7dcfd98fb4b73c0933573195562978137ef | [log] [tgz] |
---|---|---|
author | Daniel Dunbar <daniel@zuster.org> | Thu May 13 03:19:36 2010 +0000 |
committer | Daniel Dunbar <daniel@zuster.org> | Thu May 13 03:19:36 2010 +0000 |
tree | fe45859bfcc64b4808868839e74e1a5eecfd1eb3 | |
parent | 61066dbdf2f035e146c11a40d4cf6531cf2dfd6c [diff] [blame] |
Fix -Asserts warning. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@103694 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/Target/ARM/NEONPreAllocPass.cpp b/lib/Target/ARM/NEONPreAllocPass.cpp index 766a9b9..6c43e69 100644 --- a/lib/Target/ARM/NEONPreAllocPass.cpp +++ b/lib/Target/ARM/NEONPreAllocPass.cpp
@@ -344,6 +344,7 @@ 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()) {