[llvm-bugs] [Bug 45244] SwitchToLookupTable optimization is not PIC-friendly

via llvm-bugs llvm-bugs at lists.llvm.org
Fri Apr 23 15:19:53 PDT 2021


https://bugs.llvm.org/show_bug.cgi?id=45244

Gulfem Savrun Yeniceri <gulfem at google.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |FIXED
 Fixed By Commit(s)|                            |https://github.com/llvm/llv
                   |                            |m-project/commit/e96df3e531
                   |                            |f506eea75da0f13d0f8aa9a267f
                   |                            |975
             Status|NEW                         |RESOLVED
                 CC|                            |gulfem at google.com

--- Comment #3 from Gulfem Savrun Yeniceri <gulfem at google.com> ---
We implemented a pass called `RelLookupTableConverter` that converts compiler
generated switch-to-lookup tables and user-defined tables to fPIC-friendly
relative lookup tables, so I'm closing this ticket.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20210423/4e0e5047/attachment.html>


More information about the llvm-bugs mailing list