Heming Cui
2010-Aug-08 20:26 UTC
[LLVMdev] What is the gcc optimization flag for "ENABLE_OPTIMIZED=1" in LLVM?
Dear LLVM developers,
I am wondering the gcc optimization flag for "ENABLE_OPTIMIZED=1"
in
LLVM is -O2 or -O3.
And what is the flag if I set "ENABLE_OPTIMIZED=0"?
If I want to manually modify the flag for "ENABLE_OPTIMIZED=1" in
LLVM,
what file should I refer to?
--
Regards,
Heming Cui
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
<http://lists.llvm.org/pipermail/llvm-dev/attachments/20100808/1cf21903/attachment.html>
Óscar Fuentes
2010-Aug-08 20:40 UTC
[LLVMdev] What is the gcc optimization flag for "ENABLE_OPTIMIZED=1" in LLVM?
Heming Cui <heming at cs.columbia.edu> writes:> I am wondering the gcc optimization flag for "ENABLE_OPTIMIZED=1" in > LLVM is -O2 or -O3. > And what is the flag if I set "ENABLE_OPTIMIZED=0"?Try make VERBOSE=1 That would show on the console the full command used for compiling each file.> If I want to manually modify the flag for "ENABLE_OPTIMIZED=1" in LLVM, > what file should I refer to?Makefile.rules ?