mirror of
				https://github.com/c64scene-ar/llvm-6502.git
				synced 2025-11-04 05:17:07 +00:00 
			
		
		
		
	Drive-by comment fix. This regalloc comment was not accurate.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@202432 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
		@@ -675,12 +675,12 @@ public:
 | 
				
			|||||||
  /// Allow the target to reverse allocation order of local live ranges. This
 | 
					  /// Allow the target to reverse allocation order of local live ranges. This
 | 
				
			||||||
  /// will generally allocate shorter local live ranges first. For targets with
 | 
					  /// will generally allocate shorter local live ranges first. For targets with
 | 
				
			||||||
  /// many registers, this could reduce regalloc compile time by a large
 | 
					  /// many registers, this could reduce regalloc compile time by a large
 | 
				
			||||||
  /// factor. It should still achieve optimal coloring; however, it can change
 | 
					  /// factor. It is disabled by default for three reasons:
 | 
				
			||||||
  /// register eviction decisions. It is disabled by default for two reasons:
 | 
					 | 
				
			||||||
  /// (1) Top-down allocation is simpler and easier to debug for targets that
 | 
					  /// (1) Top-down allocation is simpler and easier to debug for targets that
 | 
				
			||||||
  /// don't benefit from reversing the order.
 | 
					  /// don't benefit from reversing the order.
 | 
				
			||||||
  /// (2) Bottom-up allocation could result in poor evicition decisions on some
 | 
					  /// (2) Bottom-up allocation could result in poor evicition decisions on some
 | 
				
			||||||
  /// targets affecting the performance of compiled code.
 | 
					  /// targets affecting the performance of compiled code.
 | 
				
			||||||
 | 
					  /// (3) Bottom-up allocation is no longer guaranteed to optimally color.
 | 
				
			||||||
  virtual bool reverseLocalAssignment() const { return false; }
 | 
					  virtual bool reverseLocalAssignment() const { return false; }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  /// requiresRegisterScavenging - returns true if the target requires (and can
 | 
					  /// requiresRegisterScavenging - returns true if the target requires (and can
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user