[llvm-bugs] [Bug 50563] Implement cstring literal merging

via llvm-bugs llvm-bugs at lists.llvm.org
Mon Jun 7 23:58:13 PDT 2021


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

Jez Ng <jezreel at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Fixed By Commit(s)|                            |https://reviews.llvm.org/rG
                   |                            |04259cde15a9fad31421e9161f1
                   |                            |60ee23f84ebdd
         Resolution|---                         |FIXED
             Status|NEW                         |RESOLVED
           Assignee|unassignedbugs at nondot.org   |jezreel at gmail.com

--- Comment #2 from Jez Ng <jezreel at gmail.com> ---
> seems to indicate that all strings are supposed to be aligned to 16 bytes

Interesting... in practice clang definitely does generate some non-aligned
cstrings.

I've gone ahead and implemented the heuristic described in the first comment.

-- 
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/20210608/31436cd3/attachment.html>


More information about the llvm-bugs mailing list