mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-02-15 09:33:39 +00:00
Match C backend only if it explicitly requested.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@69613 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
911c60630f
commit
91b477d2fa
@ -29,8 +29,9 @@ struct CTargetMachine : public TargetMachine {
|
|||||||
virtual bool addPassesToEmitWholeFile(PassManager &PM, raw_ostream &Out,
|
virtual bool addPassesToEmitWholeFile(PassManager &PM, raw_ostream &Out,
|
||||||
CodeGenFileType FileType, bool Fast);
|
CodeGenFileType FileType, bool Fast);
|
||||||
|
|
||||||
// This class always works, but shouldn't be the default in most cases.
|
// This class always works, but must be requested explicitly on
|
||||||
static unsigned getModuleMatchQuality(const Module &M) { return 1; }
|
// llc command line.
|
||||||
|
static unsigned getModuleMatchQuality(const Module &M) { return 0; }
|
||||||
|
|
||||||
virtual const TargetData *getTargetData() const { return &DataLayout; }
|
virtual const TargetData *getTargetData() const { return &DataLayout; }
|
||||||
};
|
};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user