Change:
[oota-llvm.git] / lib / CodeGen / SelectionDAG / InstrEmitter.cpp
index e2e906afa6a0a689d42237f1b94eb2f81485584c..000a7dfcd66c9ede9289b368999785a9837b70f6 100644 (file)
@@ -763,7 +763,9 @@ EmitMachineNode(SDNode *Node, bool IsClone, bool IsCloned,
     }
 
   // Run post-isel target hook to adjust this instruction if needed.
+#ifdef NDEBUG
   if (II.hasPostISelHook())
+#endif
     TLI->AdjustInstrPostInstrSelection(MI, Node);
 }