For PR780:
[oota-llvm.git] / lib / Analysis / ValueNumbering.cpp
index 06482224544c2be37953d02b57e330c894d3c601..c534bba4dcb14548e0ea4ec5dc3cf3a2ff82c8ba 100644 (file)
@@ -239,4 +239,5 @@ void BVNImpl::handleTernaryInst(Instruction &I) {
 }
 
 
-int llvm::BasicValueNumberingStub; // to ensure linkage of this file
+// Ensure that users of ValueNumbering.h will link with this file
+DEFINING_FILE_FOR(BasicValueNumbering)