mirror of
				https://github.com/c64scene-ar/llvm-6502.git
				synced 2025-10-30 16:17:05 +00:00 
			
		
		
		
	This changes the tests that were targeting ARM EABI to explicitly specify the environment rather than relying on the default. This breaks with the new Windows on ARM support when running the tests on Windows where the default environment is no longer EABI. Take the opportunity to avoid a pointless redirect (helps when trying to debug with providing a command line invocation which can be copy and pasted) and removing a few greps in favour of FileCheck. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@205541 91177308-0d34-0410-b5e6-96231b3b80d8
		
			
				
	
	
		
			23 lines
		
	
	
		
			748 B
		
	
	
	
		
			LLVM
		
	
	
	
	
	
			
		
		
	
	
			23 lines
		
	
	
		
			748 B
		
	
	
	
		
			LLVM
		
	
	
	
	
	
| ; RUN: llc -mtriple=arm-eabi -mattr=+v6,+vfp2 %s -o - | FileCheck %s
 | |
| 
 | |
| define void @test3(float* %glob, i32 %X) {
 | |
| entry:
 | |
|         %tmp = load float* %glob                ; <float> [#uses=1]
 | |
|         %tmp2 = getelementptr float* %glob, i32 2               ; <float*> [#uses=1]
 | |
|         %tmp3 = load float* %tmp2               ; <float> [#uses=1]
 | |
|         %tmp.upgrd.1 = fcmp ogt float %tmp, %tmp3               ; <i1> [#uses=1]
 | |
|         br i1 %tmp.upgrd.1, label %cond_true, label %UnifiedReturnBlock
 | |
| 
 | |
| cond_true:              ; preds = %entry
 | |
|         %tmp.upgrd.2 = tail call i32 (...)* @bar( )             ; <i32> [#uses=0]
 | |
|         ret void
 | |
| 
 | |
| UnifiedReturnBlock:             ; preds = %entry
 | |
|         ret void
 | |
| }
 | |
| 
 | |
| declare i32 @bar(...)
 | |
| 
 | |
| ; CHECK: vcmpe.f32
 | |
| 
 |