[llvm-bugs] [Bug 49075] New: arm64 MSVC assembly statement separator unusable

via llvm-bugs llvm-bugs at lists.llvm.org
Sat Feb 6 23:56:31 PST 2021


            Bug ID: 49075
           Summary: arm64 MSVC assembly statement separator unusable
           Product: libraries
           Version: trunk
          Hardware: All
                OS: All
            Status: CONFIRMED
          Severity: release blocker
          Priority: P
         Component: Backend: AArch64
          Assignee: unassignedbugs at nondot.org
          Reporter: raul at tambre.ee
                CC: arnaud.degrandmaison at arm.com,
                    llvm-bugs at lists.llvm.org, martin at martin.st,
                    smithp352 at googlemail.com, Ties.Stuij at arm.com
            Blocks: 48902

This causes compile and correctness issues in compiler-rt arm64 assembly if
compiling on Windows using clang-cl, which will use the MSVC dialect. See
discussion in https://reviews.llvm.org/rGb2851aea80e5.
A fix for this was made in https://reviews.llvm.org/D36366#833185, but
restricted to the GNU dialect for unclear reasons.

A workaround in compiler-rt for this doesn't seem feasible due to requiring
manual expansion of likely hundreds of macros to avoid statement separators.
This has probably been broken prior to 12.0, but the LSE changes simply exposed
the issue.

We should make using a statement separator possible for the MSVC dialect prior
to release.

Referenced Bugs:

[Bug 48902] [meta] 12.0.0 Release Blockers
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/20210207/f0fabb56/attachment.html>

More information about the llvm-bugs mailing list