[llvm-commits] CVS: llvm/utils/llvm-native-gcc
John Criswell
criswell at cs.uiuc.edu
Wed Feb 25 11:16:01 PST 2004
Changes in directory llvm/utils:
llvm-native-gcc updated: 1.1 -> 1.2
---
Log message:
Updated to use llc to generate CBE code.
---
Diffs of the changes: (+2 -2)
Index: llvm/utils/llvm-native-gcc
diff -u llvm/utils/llvm-native-gcc:1.1 llvm/utils/llvm-native-gcc:1.2
--- llvm/utils/llvm-native-gcc:1.1 Tue Dec 9 16:23:24 2003
+++ llvm/utils/llvm-native-gcc Wed Feb 25 11:15:02 2004
@@ -114,7 +114,7 @@
} else {
$GeneratedCode = "/tmp/nativebuild-$$.c";
}
- run "llvm-dis -c -f -o $GeneratedCode $BCFile";
+ run "llc -march=c -f -o $GeneratedCode $BCFile";
} elsif ($Backend eq 'llc') {
if ($SaveTemps) {
$GeneratedCode = "${OutputFile}.s";
@@ -145,7 +145,7 @@
my $GeneratedCode;
if ($Backend eq 'cbe') {
$GeneratedCode = "${OutputFile}.cbe.c";
- run "llvm-dis -c -f -o $GeneratedCode $BCFile";
+ run "llc -march=c -f -o $GeneratedCode $BCFile";
} elsif ($Backend eq 'llc') {
$GeneratedCode = "${OutputFile}.llc.s";
run "llc -f -o $GeneratedCode $BCFile";
More information about the llvm-commits
mailing list