forked from OSchip/llvm-project
				
			[mips][msa] Update FileCheck prefix in preparation for
the addition of Mips64 tests. No functional changes. llvm-svn: 201080
This commit is contained in:
		
							parent
							
								
									0dc73dfdf4
								
							
						
					
					
						commit
						b4133b25e7
					
				| 
						 | 
					@ -1,6 +1,7 @@
 | 
				
			||||||
; Test the MSA intrinsics that are encoded with the SPECIAL instruction format.
 | 
					; Test the MSA intrinsics that are encoded with the SPECIAL instruction format.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
; RUN: llc -march=mips -mattr=+msa,+fp64 < %s | FileCheck %s
 | 
					; RUN: llc -march=mips -mattr=+msa,+fp64 < %s | \
 | 
				
			||||||
 | 
					; RUN:   FileCheck %s --check-prefix=MIPS32
 | 
				
			||||||
 | 
					
 | 
				
			||||||
define i32 @llvm_mips_lsa_test(i32 %a, i32 %b) nounwind {
 | 
					define i32 @llvm_mips_lsa_test(i32 %a, i32 %b) nounwind {
 | 
				
			||||||
entry:
 | 
					entry:
 | 
				
			||||||
| 
						 | 
					@ -10,9 +11,9 @@ entry:
 | 
				
			||||||
 | 
					
 | 
				
			||||||
declare i32 @llvm.mips.lsa(i32, i32, i32) nounwind
 | 
					declare i32 @llvm.mips.lsa(i32, i32, i32) nounwind
 | 
				
			||||||
 | 
					
 | 
				
			||||||
; CHECK: llvm_mips_lsa_test:
 | 
					; MIPS32: llvm_mips_lsa_test:
 | 
				
			||||||
; CHECK: lsa {{\$[0-9]+}}, $5, $4, 2
 | 
					; MIPS32: lsa {{\$[0-9]+}}, $5, $4, 2
 | 
				
			||||||
; CHECK: .size llvm_mips_lsa_test
 | 
					; MIPS32: .size llvm_mips_lsa_test
 | 
				
			||||||
 | 
					
 | 
				
			||||||
define i32 @lsa_test(i32 %a, i32 %b) nounwind {
 | 
					define i32 @lsa_test(i32 %a, i32 %b) nounwind {
 | 
				
			||||||
entry:
 | 
					entry:
 | 
				
			||||||
| 
						 | 
					@ -21,6 +22,6 @@ entry:
 | 
				
			||||||
  ret i32 %1
 | 
					  ret i32 %1
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
; CHECK: lsa_test:
 | 
					; MIPS32: lsa_test:
 | 
				
			||||||
; CHECK: lsa {{\$[0-9]+}}, $5, $4, 2
 | 
					; MIPS32: lsa {{\$[0-9]+}}, $5, $4, 2
 | 
				
			||||||
; CHECK: .size lsa_test
 | 
					; MIPS32: .size lsa_test
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue