[llvm-commits] CVS: llvm/test/QMTest/llvm.py

Chris Lattner lattner at cs.uiuc.edu
Fri Feb 13 17:36:01 PST 2004


Changes in directory llvm/test/QMTest:

llvm.py updated: 1.25 -> 1.26

---
Log message:

update qmtest to for llvm-dis -> llc move of the cwriter


---
Diffs of the changes:  (+3 -2)

Index: llvm/test/QMTest/llvm.py
diff -u llvm/test/QMTest/llvm.py:1.25 llvm/test/QMTest/llvm.py:1.26
--- llvm/test/QMTest/llvm.py:1.25	Tue Nov 25 16:05:45 2003
+++ llvm/test/QMTest/llvm.py	Fri Feb 13 17:34:59 2004
@@ -224,6 +224,7 @@
 		#
 		as  = buildroot + '/tools/' + context['buildtype'] + '/llvm-as'
 		dis = buildroot + '/tools/' + context['buildtype'] + '/llvm-dis'
+		llc = buildroot + '/tools/' + context['buildtype'] + '/llc'
 
 		#
 		# Use the LLVM assembler to assemble the program.
@@ -233,9 +234,9 @@
 			return
 
 		#
-		# Use the LLVM disassembler to convert the program to C code.
+		# Convert the program to C code.
 		#
-		if (ExecProgram ((dis, bcfile, '-f', '-c', '-o', objfile))):
+		if (ExecProgram ((llc, bcfile, '-f', '-march=c', '-o', objfile))):
 			fail = 1
 			result.Fail ('Failed to convert ' + bcfile + ' to C code.')
 		else:





More information about the llvm-commits mailing list