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

Misha Brukman brukman at cs.uiuc.edu
Mon Mar 1 20:41:32 PST 2004


Changes in directory llvm/test/QMTest:

llvm.py updated: 1.25 -> 1.25.4.1

---
Log message:

Merge from trunk

---
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.25.4.1
--- llvm/test/QMTest/llvm.py:1.25	Tue Nov 25 16:05:45 2003
+++ llvm/test/QMTest/llvm.py	Mon Mar  1 17:59:14 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