[LLVMbugs] [Bug 1447] llvm-gcc should pass -fast to llc when compiling at -O0

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Fri May 25 06:42:56 PDT 2007


http://llvm.org/bugs/show_bug.cgi?id=1447

sabre at nondot.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |WORKSFORME



------- Additional Comments From sabre at nondot.org  2007-05-25 08:42 -------
You're right, we should!  llvm-backend.cpp contains this:


    if (TheTarget->addPassesToEmitFileFinish(*PM, 0, /*Fast*/optimize == 0)) {
      cerr << "Error interfacing to target machine!\n";
      exit(1);

Which does this. :)  Perhaps tail merging is enabled at -fast?  If so, that seems wrong.

-Chris



------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.



More information about the llvm-bugs mailing list