From 1e8f072f1948de43a0c1c71e00e83e7bb192d7cb Mon Sep 17 00:00:00 2001 From: Mike Stump Date: Fri, 8 May 2009 22:53:06 +0000 Subject: [PATCH] Avoid warning in release-asserts build. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@71275 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/CodeGen/TwoAddressInstructionPass.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/CodeGen/TwoAddressInstructionPass.cpp b/lib/CodeGen/TwoAddressInstructionPass.cpp index 4724c3a127a..e37639e068a 100644 --- a/lib/CodeGen/TwoAddressInstructionPass.cpp +++ b/lib/CodeGen/TwoAddressInstructionPass.cpp @@ -935,6 +935,7 @@ bool TwoAddressInstructionPass::runOnMachineFunction(MachineFunction &MF) { ++NumReMats; } else { bool Emitted = TII->copyRegToReg(*mbbi, mi, regA, regB, rc, rc); + (void)Emitted; assert(Emitted && "Unable to issue a copy instruction!\n"); }