aboutsummaryrefslogtreecommitdiff
path: root/include/llvm/Target/TargetMachine.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/llvm/Target/TargetMachine.h')
-rw-r--r--include/llvm/Target/TargetMachine.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/include/llvm/Target/TargetMachine.h b/include/llvm/Target/TargetMachine.h
index e5fceba522..faf3c35c49 100644
--- a/include/llvm/Target/TargetMachine.h
+++ b/include/llvm/Target/TargetMachine.h
@@ -185,6 +185,10 @@ public:
AssemblyFile, ObjectFile, DynamicLibrary
};
+ /// DoTailMergeDefault - Whether it is generally a good idea to do this
+ /// on this target. User flag overrides.
+ virtual const bool DoTailMergeDefault() const { return true; }
+
/// addPassesToEmitFile - Add passes to the specified pass manager to get the
/// specified file emitted. Typically this will involve several steps of code
/// generation. If Fast is set to true, the code generator should emit code
@@ -315,6 +319,10 @@ public:
MachineCodeEmitter &MCE) {
return true;
}
+
+ /// DoTailMergeDefault - Whether it is generally a good idea to do this
+ /// on this target. User flag overrides.
+ virtual const bool DoTailMergeDefault() const { return true; }
};
} // End llvm namespace