-
Notifications
You must be signed in to change notification settings - Fork 12.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Move gccas functionality to opt #1524
Comments
seems fine to me, but please split this into one bug for gccas and one for gccld. gccas is much easier to eliminate, it is basically "llvm-as < %s | opt ... " with some magic to handle - Having a "compile time optimizer" unit is a very useful thing. -Chris |
Okay, this bug is for gccas which we'll do first. We can probably install a |
What do you mean by this? An option that does "compile time optimization" ? |
I just mean it's very convenient to be able to do: llvm-gcc -emit-llvm -S -o foo.ll x.c -Chris |
Now I'm more confused. Are you suggesting adding an option to llvm-gcc for this? llvm-gcc -emit-llvm -S -o foo.ll x.c ? |
Should opt read assembly as well? It could sense the file type and DTRT. A few |
s/some_option_approximating_gccas/some_script_approximating_gccas
No. I don't think there is any point in that, but I wouldn't fight it if you REALLY REALLY wanted it. Note -Chris |
This will be done in several steps:
Reid. |
I rearranged things a bit. There's no need to mess with llvm-test if we have a http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20070129/043741.html This was tested on a variety of llvm-test test cases and it seems to work just fine. |
LLVM's footprint has now shrunk by 35.7MBytes (debug build). |
This conversion has been completed. |
Fix the data layout mangling specification for 'i686-pc-macho'
Extended Description
We currently have multiple ways of invoking optimizations in llvm, via gccas,
gccld, and opt. If we moved gccas/gccld functionality into opt we could save
some footprint size and a significant amount of link time during builds (gccas
and gccld are among the largest tools, on the same scale as opt, lli and llc).
To accomplish this we would need to:
optimizations.
feature of gccas/gccld.
running gccas and gccld.
Anyone see any roadblocks on doing this? Anyone think its not a good idea?
The text was updated successfully, but these errors were encountered: