[llvm-branch-commits] [llvm-branch] r69612 - /llvm/branches/Apple/Dib/lib/Target/CBackend/CTargetMachine.h
Devang Patel
dpatel at apple.com
Mon Apr 20 11:06:43 PDT 2009
Author: dpatel
Date: Mon Apr 20 13:06:41 2009
New Revision: 69612
URL: http://llvm.org/viewvc/llvm-project?rev=69612&view=rev
Log:
Match CBackend only if it is explicitly requested.
Modified:
llvm/branches/Apple/Dib/lib/Target/CBackend/CTargetMachine.h
Modified: llvm/branches/Apple/Dib/lib/Target/CBackend/CTargetMachine.h
URL: http://llvm.org/viewvc/llvm-project/llvm/branches/Apple/Dib/lib/Target/CBackend/CTargetMachine.h?rev=69612&r1=69611&r2=69612&view=diff
==============================================================================
--- llvm/branches/Apple/Dib/lib/Target/CBackend/CTargetMachine.h (original)
+++ llvm/branches/Apple/Dib/lib/Target/CBackend/CTargetMachine.h Mon Apr 20 13:06:41 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-branch-commits
mailing list