[llvm-commits] [llvm] r103694 - /llvm/trunk/lib/Target/ARM/NEONPreAllocPass.cpp
Daniel Dunbar
daniel at zuster.org
Wed May 12 20:19:36 PDT 2010
Author: ddunbar
Date: Wed May 12 22:19:36 2010
New Revision: 103694
URL: http://llvm.org/viewvc/llvm-project?rev=103694&view=rev
Log:
Fix -Asserts warning.
Modified:
llvm/trunk/lib/Target/ARM/NEONPreAllocPass.cpp
Modified: llvm/trunk/lib/Target/ARM/NEONPreAllocPass.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/ARM/NEONPreAllocPass.cpp?rev=103694&r1=103693&r2=103694&view=diff
==============================================================================
--- llvm/trunk/lib/Target/ARM/NEONPreAllocPass.cpp (original)
+++ llvm/trunk/lib/Target/ARM/NEONPreAllocPass.cpp Wed May 12 22:19:36 2010
@@ -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()) {
More information about the llvm-commits
mailing list