[llvm-commits] [llvm] r71275 - /llvm/trunk/lib/CodeGen/TwoAddressInstructionPass.cpp
Mike Stump
mrs at apple.com
Fri May 8 15:53:06 PDT 2009
Author: mrs
Date: Fri May 8 17:53:06 2009
New Revision: 71275
URL: http://llvm.org/viewvc/llvm-project?rev=71275&view=rev
Log:
Avoid warning in release-asserts build.
Modified:
llvm/trunk/lib/CodeGen/TwoAddressInstructionPass.cpp
Modified: llvm/trunk/lib/CodeGen/TwoAddressInstructionPass.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/CodeGen/TwoAddressInstructionPass.cpp?rev=71275&r1=71274&r2=71275&view=diff
==============================================================================
--- llvm/trunk/lib/CodeGen/TwoAddressInstructionPass.cpp (original)
+++ llvm/trunk/lib/CodeGen/TwoAddressInstructionPass.cpp Fri May 8 17:53:06 2009
@@ -935,6 +935,7 @@
++NumReMats;
} else {
bool Emitted = TII->copyRegToReg(*mbbi, mi, regA, regB, rc, rc);
+ (void)Emitted;
assert(Emitted && "Unable to issue a copy instruction!\n");
}
More information about the llvm-commits
mailing list