11 lines
		
	
	
		
			467 B
		
	
	
	
		
			Plaintext
		
	
	
	
			
		
		
	
	
			11 lines
		
	
	
		
			467 B
		
	
	
	
		
			Plaintext
		
	
	
	
# REQUIRES: x86-registered-target
 | 
						|
## Test that update_llc_test_checks.py can run pre-processing commands.
 | 
						|
 | 
						|
## Test that update_test_checks.py can run pre-processing commands.
 | 
						|
# RUN: cp -f %S/Inputs/pre-process.ll %t.ll && %update_llc_test_checks %t.ll
 | 
						|
# RUN: diff -u %t.ll %S/Inputs/pre-process.ll.expected
 | 
						|
## Check that running the script again does not change the result:
 | 
						|
# RUN: %update_llc_test_checks %t.ll
 | 
						|
# RUN: diff -u %t.ll %S/Inputs/pre-process.ll.expected
 | 
						|
 |