[llvm-commits] [llvm] r69613 - /llvm/trunk/lib/Target/CBackend/CTargetMachine.h
Devang Patel
dpatel at apple.com
Mon Apr 20 11:07:22 PDT 2009
Author: dpatel
Date: Mon Apr 20 13:07:22 2009
New Revision: 69613
URL: http://llvm.org/viewvc/llvm-project?rev=69613&view=rev
Log:
Match C backend only if it explicitly requested.
Modified:
llvm/trunk/lib/Target/CBackend/CTargetMachine.h
Modified: llvm/trunk/lib/Target/CBackend/CTargetMachine.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/CBackend/CTargetMachine.h?rev=69613&r1=69612&r2=69613&view=diff
==============================================================================
--- llvm/trunk/lib/Target/CBackend/CTargetMachine.h (original)
+++ llvm/trunk/lib/Target/CBackend/CTargetMachine.h Mon Apr 20 13:07:22 2009
@@ -29,8 +29,9 @@
virtual bool addPassesToEmitWholeFile(PassManager &PM, raw_ostream &Out,
CodeGenFileType FileType, bool Fast);
- // This class always works, but shouldn't be the default in most cases.
- static unsigned getModuleMatchQuality(const Module &M) { return 1; }
+ // This class always works, but must be requested explicitly on
+ // llc command line.
+ static unsigned getModuleMatchQuality(const Module &M) { return 0; }
virtual const TargetData *getTargetData() const { return &DataLayout; }
};
More information about the llvm-commits
mailing list