[llvm-commits] CVS: llvm/include/llvm/Target/TargetMachine.h
Dale Johannesen
dalej at apple.com
Tue May 22 10:15:27 PDT 2007
Changes in directory llvm/include/llvm/Target:
TargetMachine.h updated: 1.76 -> 1.77
---
Log message:
Make tail merging the default, except on powerPC. There was no prior art
for a target-dependent default with a command-line override; this way
should be generally usable.
---
Diffs of the changes: (+8 -0)
TargetMachine.h | 8 ++++++++
1 files changed, 8 insertions(+)
Index: llvm/include/llvm/Target/TargetMachine.h
diff -u llvm/include/llvm/Target/TargetMachine.h:1.76 llvm/include/llvm/Target/TargetMachine.h:1.77
--- llvm/include/llvm/Target/TargetMachine.h:1.76 Wed Feb 7 19:34:45 2007
+++ llvm/include/llvm/Target/TargetMachine.h Tue May 22 12:14:46 2007
@@ -185,6 +185,10 @@
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 @@
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
More information about the llvm-commits
mailing list