mirror of
				https://github.com/c64scene-ar/llvm-6502.git
				synced 2025-10-31 08:16:47 +00:00 
			
		
		
		
	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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@37285 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
		| @@ -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 | ||||
|   | ||||
		Reference in New Issue
	
	Block a user