diff options
author | John Criswell <criswell@uiuc.edu> | 2004-02-25 17:15:02 +0000 |
---|---|---|
committer | John Criswell <criswell@uiuc.edu> | 2004-02-25 17:15:02 +0000 |
commit | cac4b8ea04b856c0d0d5d49739bdb3ce37486b20 (patch) | |
tree | 41ffead612b6a0e95ee629d431afd80ff8d91622 /utils | |
parent | a39719ff2428f01e9a3a196f07f59c69202f3d41 (diff) |
Updated to use llc to generate CBE code.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@11823 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'utils')
-rwxr-xr-x | utils/llvm-native-gcc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/utils/llvm-native-gcc b/utils/llvm-native-gcc index fb29252330..e53da07d9d 100755 --- a/utils/llvm-native-gcc +++ b/utils/llvm-native-gcc @@ -114,7 +114,7 @@ sub CompileBytecodeToNative { } 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 @@ sub CompileCToNative { 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"; |