mirror of
				https://github.com/c64scene-ar/llvm-6502.git
				synced 2025-11-04 05:17:07 +00:00 
			
		
		
		
	Fix a typo
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79634 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
		@@ -737,7 +737,7 @@ bool X86DAGToDAGISel::MatchWrapper(SDValue N, X86ISelAddressMode &AM) {
 | 
				
			|||||||
      // Under X86-64 non-small code model, GV (and friends) are 64-bits, so
 | 
					      // Under X86-64 non-small code model, GV (and friends) are 64-bits, so
 | 
				
			||||||
      // they cannot be folded into immediate fields.
 | 
					      // they cannot be folded into immediate fields.
 | 
				
			||||||
      // FIXME: This can be improved for kernel and other models?
 | 
					      // FIXME: This can be improved for kernel and other models?
 | 
				
			||||||
      (M == CodeModel::Small || CodeModel::Kernel) &&
 | 
					      (M == CodeModel::Small || M == CodeModel::Kernel) &&
 | 
				
			||||||
      // Base and index reg must be 0 in order to use %rip as base and lowering
 | 
					      // Base and index reg must be 0 in order to use %rip as base and lowering
 | 
				
			||||||
      // must allow RIP.
 | 
					      // must allow RIP.
 | 
				
			||||||
      !AM.hasBaseOrIndexReg() && N.getOpcode() == X86ISD::WrapperRIP) {
 | 
					      !AM.hasBaseOrIndexReg() && N.getOpcode() == X86ISD::WrapperRIP) {
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user