[llvm-commits] [llvm] r76111 - /llvm/trunk/lib/CodeGen/VirtRegRewriter.cpp

Daniel Dunbar daniel at zuster.org
Thu Jul 16 15:08:25 PDT 2009


Author: ddunbar
Date: Thu Jul 16 17:08:25 2009
New Revision: 76111

URL: http://llvm.org/viewvc/llvm-project?rev=76111&view=rev
Log:
Fix inverted preprocessor conditional.

Modified:
    llvm/trunk/lib/CodeGen/VirtRegRewriter.cpp

Modified: llvm/trunk/lib/CodeGen/VirtRegRewriter.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/CodeGen/VirtRegRewriter.cpp?rev=76111&r1=76110&r2=76111&view=diff

==============================================================================
--- llvm/trunk/lib/CodeGen/VirtRegRewriter.cpp (original)
+++ llvm/trunk/lib/CodeGen/VirtRegRewriter.cpp Thu Jul 16 17:08:25 2009
@@ -491,7 +491,7 @@
                           const TargetRegisterInfo *TRI,
                           VirtRegMap &VRM) {
   MachineInstr *ReMatDefMI = VRM.getReMaterializedMI(Reg);
-#ifdef NDEBUG
+#ifndef NDEBUG
   const TargetInstrDesc &TID = ReMatDefMI->getDesc();
   assert(TID.getNumDefs() != 1 &&
          "Don't know how to remat instructions that define > 1 values!");





More information about the llvm-commits mailing list