[LLVMbugs] [Bug 12380] Slow code is generated for -fPIE and TLS on linux (gcc does better)

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Sun Apr 8 19:14:43 PDT 2012


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

Chandler Carruth <chandlerc at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |chandlerc at gmail.com
         Resolution|                            |FIXED

--- Comment #3 from Chandler Carruth <chandlerc at gmail.com> 2012-04-08 21:14:43 CDT ---
This was fixed in a string of commits leading up to r154304 which implemented
the final optimization for these types of global references. Clang now produces
the exact same output as GCC for these test cases.

There may well be non-TLS constructs which would benefit from special treatment
in -fpie as opposed to -fpic. Please file separate PRs with test cases as you
find them.

-- 
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.



More information about the llvm-bugs mailing list